Erubis 2.6.4 released - Rails 2.2 and 2.3 support


I have released Erubis 2.6.4.

Erubis is another eRuby implementation which is very fast and
extensible than ERB and eruby.

Enhancement since 2.6.3:

  • Ruby on Rails 2.2 and 2.3 support.

Have fun!


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 –

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:inform_tag_in_block’
helpers/form_tag_helper.rb:39:in `form_tag’

I’m looking into this further.



On Mar 20, 10:20 pm, mkdynamic [email protected] wrote:

I’m also seeing this same issue…

~ Mark

Im also receiving this.

I’m also seeing this same issue…

~ Mark

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?

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

Rails 2.3.2 with Erubis 2.6.4…