I am getting a strange error on image_tag and not really sure where it
came from, other than my upgrade to Rails 2.0.

Here is the line:

45: <%= image_tag('buttons/remove.png') %>

Here is the error:

wrong number of arguments (2 for 3)

Here is the stack:

/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/asset_tag_helper.rb:345:in
`compute_public_path'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/asset_tag_helper.rb:345:in
`path_to_image'
/opt/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/asset_tag_helper.rb:385:in
`image_tag_without_engine_additions'
vendor/plugins/engines/lib/engines/rails_extensions/asset_helpers.rb:93:in
`image_tag'

Versions:

Rails 2.0.2
Engines: Trunk

Any ideas why I'm all of a sudden getting this error? The same thing
happens when I use this as well:

<%= image_tag('buttons/remove.png', :plugin => 'toolbawks_store') %>


-- 
Perity Studios (http://perity.com) a division of Inimit Inc. (http://inimit.com)
Nathaniel Steven Henry Brown
604-724-6624
_______________________________________________
Engine-Developers mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org

Reply via email to