Displaying 20 results from an estimated 10000 matches similar to: "Special characters in ERB"
2006 Feb 17
7
FCGI hanging w/ lighttpd and RoR 1.0 (need to kill -9)
Hi, everyone,
I''m currently running a Rails 1.0 project using lighttpd-1.4.9 behind
Apache 2 on RHEL 3. My fcgi process (I''m only using one right now)
always hangs after some time, which is something I haven''t experienced
before (e.g., I''ve run this same app. on a TextDrive account and it
works fine there).
So ... any ideas on what could be causing this?
2001 Nov 28
2
Can't connect from Windows 2000
I recently upgraded my Linux install (Debian potato to woody) and now Samba
is no longer playing nice with Windows 2000. I can use smbclient on the
samba machine to connect to itself, so at least that's working. The error
from Windows is: "The semaphore timeout period has expired.".
I deleted the smb.log file at one point in an effort to reset it. I figured
it'd be created
2006 Jul 18
4
Some basic questions
Hi, David and everyone,
I''ve had Ferret running fine in a production Rails application for a
while now. I haven''t updated Ferret or really looked at the
Ferret-related code since probably January, but I recently started
thinking about trying out the latest version (we were using 0.3.2, I
think). I got the latest (0.9.4) and have noticed things break. In
particular, I used to
2005 Aug 24
3
Motherboards and IRQs
Someone mentioned earlier (I can't find the message now) that they had a
motherboard that allowed you to change IRQ assignments in BIOS. Does
anyone happen to know how to identify motherboards that can do this? I'm
going to put together a new machine now and I'm having trouble picking a
motherboard for it (ordering from Dell or other online vendor is not an
option, since I need
2006 Mar 28
3
(slightly OT) Reporting tools (Jasper, DataVision, etc.)
We''re evaluating reporting tools right now, both open source and closed.
I saw that a bunch of people on this list have considered Jasper/iReport
-- is this coincidence, or is this the best open source report writer
right now? The proprietary tool we''re comparing them to is Crystal
Reports. Reports will need to be editable by end users, and they''re
running Mac OS
2006 Jan 12
1
Saving habtm relationships and Rails 1.0
I know there''s a problem saving has_and_belongs_to_many relationships w/
Rails 1.0 in that only the first association is saved
(http://dev.rubyonrails.org/ticket/3213).
What are people doing about this? I guess I could move to using the
trunk release, but I''m hesitant because that might introduce a bunch of
unknowns.
Is there a workaround? For example, a way to explicitly
2005 Dec 19
2
Parentheses for precedence?
I''m not sure whether this is a bug or whether I''m simply expecting
Ferret queries to work in a way other than they''re intended.
I notice that if use a query like:
(other_text:"Collaborative tools") AND NOT other_text:podcasts
I''ll get correct search results. However, if I put parentheses around
the second part, like:
2016 Aug 15
2
Using isonum.txt substitutions in reST documents?
I'd like to use one of the special marks (the circle-R registered
trademark symbol) on a webpage that's coded in .rst format. On an
HTML page I'd use ® but I'm less comfortable with reST. It
looks like I'd need to add
.. include:: isonum.txt
and then I could use the |reg| substitution in the body text.
Would that work? Would anybody mind? I'd naively expect
2005 Aug 25
4
VoIP providers -- California, U.S.
Hi,
Just wondering if people could suggest a good VoIP provider that can
service the San Francisco Bay Area and the Los Angeles area. I've tried
race.com (recommended to me) but they're kind of hard to get ahold of.
Any other suggestions? This is for a business, so reliability is key.
I did see the recent thread about this, and while I saw a few mentioned,
I didn't see anything
2005 Dec 17
2
Alternative to nested form tags
You can''t nest HTML forms, so I was wondering ...
I have an HTML form, and I have one element where I want to use Ajax
inside the form (e.g., a pop-up that contains a search box when there
are too many items for a selection list) ... how would I accomplish
that? If I could use nested form tags, I could put a small, one-field
search form inside the larger form.
Thanks!
Jen
2006 Feb 20
7
Native erb lacks -%>, where is Rails'' erb?
Native ERB in ruby, and eruby, seem to lack the -%> feature for
suppressing trailing newlines. Thus
erb -n script
gives errors. Where is Rails ERB so I can invoke it directly?
Thank you
Hugh
2001 Feb 16
6
ssh(R) trademark issues: comments and proposal
I'd like to address several issues raised by people in relation to my
notice of the ssh(R) trademark to the OpenSSH group. Also, I would
like to make a proposal to the community for resolving this issue
(included at the end).
First, I'll answer a number of questions and arguments presented in
the discussion.
> "the SSH Corp trademark registration in the US is for a logo
2006 Jan 10
18
Ferret with IMAP dirs
I''d like to use ferret to build an imap indexer and search utility, but
want to check first to see if anyone else is working on this and offer
my help. Anyone?
Also, if you could provide any helpful pointers on indexing directories
via ferret, it''ll be very much appreciated. I''m a lucene nuby.
Thanks!
John
--
Posted via http://www.ruby-forum.com/.
2007 Jan 19
4
Rendering with erb
Hi, I thought it would be fun to try to write a render method that
uses erb for rending. I''m not much of a programmer, but I still like
to try:
module Test
require ''erb''
def render(m)
ERB.new(IO.read("templates/layout.html")).result(binding) do
ERB.new(IO.read("templates/#{m}.html")).result(binding)
end
end
end
This
2006 Jul 25
3
about ERB sample
Hi list:
I run the ri''s ERB doc 1st sample
1. require ''erb''
2. x = 42
3. template = ERB.new <<-EOF
4. The value of x is:
5. EOF
6. puts template.result(binding)
the doc say it will print
"The value of x is: 42"
but my irb print "nil" and there is a
"=> #<ERB:0x2970b24
2006 Feb 07
4
__END__ equivalent for erb?
Time and time again I find the need to terminate evaluation of an erb
file on a certain line for debugging purposes, but can''t figure out a
way to do it. Is this possible?
Thanks!
John
--
Posted with http://DevLists.com. Sign up and save your time!
2006 Oct 09
2
Bug#391935: Xen trademark might be problematic
Package: xen-hypervisor-3.0-unstable-1-amd64
Version: 3.0-unstable+hg11561-1
Severity: serious
It seems Xen has a similar trademark policy as the much discussed
Mozilla one. Specifically http://www.xensource.com/xen-tm-faq.html
says:
| 16. If I distribute a changed version of the Xen? hypervisor, may I
| say that the changed product is the Xen hypervisor?
|
| No. If you have changed an
2007 Sep 28
2
RoR uses something rather than erb or eRuby?
it seems that RoR doesn''t use erb or eRuby to generate its output for
rhtml?
the program erb and the description of eRuby at
http://www.eruby.info
both said that
<% print "foo bar" %> or <% puts "hello" %>
will be placed into the output...
but currently for RoR, it won''t...
only <%= expr %> is doing it and it cannot be print or
2006 Apr 25
5
markaby or erb?
Guys,
We''re embarking on a new dev project, and I''m curious....why would one
choose markaby over erb? I for one am no fan of the erb syntax, but
aside from that it''s similar to other technologies I''ve used in the
past: PHP, JSP, ASP, etc.
Why would one choose markaby over erb? What are the benefits? What are
the drawbacks? Is there anything remarkable
2012 Apr 24
3
How to increment variable in erb template ?
Hi'',
I''m looking for a way to increment variable in template (erb file).
I tried this, but it didn''t work
Compteur <%= compteur %>
> <% compteur = compteur + 1 %>
> Compteur <%= compteur %>
>
I''ve got this error :
> Error 400 on SERVER: Failed to parse template test/test.erb: undefined
> method `+'' for