11175
(-- --)
August 31, 2009, 11:09am
1
<%= link_to([image_tag photo.data.url(:small)],resort_path(@resort )) %>
and i get this warning...
warning: parenthesize argument(s) for future version
it works but with the warning.
All i'd like to do is just a link_to to show a photo and link to a
bigger version.
<%= link_to([image_tag photo.data.url(:small)],resort_path(@resort )) %>
and i get this warning...
warning: parenthesize argument(s) for future version
it's saying it wants image_tag(...). You probably don't want the
Fred
11175
(-- --)
August 31, 2009, 11:32am
3
without the 's i get this.
undefined method `symbolize_keys!' for "/resorts/110":String
?
without the 's i get this.
undefined method `symbolize_keys!' for "/resorts/110":String
?
You shouldn't if you parenthesize things the way it wants you to.
Fred
Rick3
(Rick)
August 31, 2009, 11:51am
5
<%= link_to(image_tag(photo.data.url(:small)),
resort_path(@resort )) %>
11175
(-- --)
August 31, 2009, 12:47pm
6
You got it, thanks. Posting another cron type rake question in next 5
mins. Would appreciate any thoughts on it! Most annoying (stopping me
getting my backups done).