On 2 June 2010 09:57, Pale Horse <li...@ruby-forum.com> wrote:
> View layer:
>
> <%= thumbnail_tag (@content_page.picture1), :border => 0, :width => 489,
> :height => 236 %>
>
> Helper layer:
>
> def thumbnail_tag(picture, options = {})
>  link_to(scale_image_tag(picture, options.merge({:border => 0})),
> "/settings/view_image/#{picture.id}", :popup => ["_blank",
> "width=#{picture.width+15},height=#{picture.height + 10}"])
>  end
>
> Can someone help me diagnose this problem?
>
>> wrong number of arguments (2 for 0)

What method is it saying has too many arguments? The call to
'thumbnail_tag' or to 'scale_image_tag' or to 'link_to'?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to