[ANN] Erubis 2.6.4 released - Rails 2.2 and 2.3 support

R

RobW

Hi,

I'm seeing some breakage with Erubis 2.6.4 against Rails 2.2.2:

You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.<<

-- snip --

/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_view/
helpers/text_helper.rb:42:in `concat'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_view/
helpers/form_tag_helper.rb:461:in `form_tag_in_block'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_view/
helpers/form_tag_helper.rb:39:in `form_tag'
app/views/sessions/new.html.erb:28

I'm looking into this further.

Regards,

Rob
 
J

Joost H.

Same issue here..
Seems to appear on:
<% form_for :user, :url => some_path } do |f| %>

Rails 2.3.2 with Erubis 2.6.4..
 
D

dylanz

Same issue here with Rails 2.3.2: content_tag("h1", content, options,
escape, &block)

Would love to use Erubis. Any chance of a fix?
Cheers!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top