search for: link_image_to

Displaying 3 results from an estimated 3 matches for "link_image_to".

2006 Oct 24
1
Changeset 5358 - Jamis
In http://dev.rubyonrails.org/changeset/5358 and the new alternative deprecation method, deprecate :link_image_to => :link_to_image should probably use the message version, as both link_image_to and link_to_image should be deprecated (according to the comments at least): deprecate :link_image_to => "Use link_to(image_tag()) instead" --~--~---------~--~----~------------~-------~--~----~ You...
2008 Jun 23
2
NewB questions
...recipe'', new_recipe_path %>. I''m assuming new_recipe_path is a variable set somewhere, but I can''t find where it''s being set? 3. How do I extend Rails? I like the idea of things like <%= link_to ... %>, but say I want to do something like this: <%= link_image_to image_path("new.png"), new_recipe_path %> (i.e. make the link an image rather than text, which I can''t find in the API so assume does not exist). 4. Where do I set constants for the entire app, /app/controllers/application.rb? One thing that has also occurred to me while look...
2006 Jan 12
6
link_to_image - Remove Border
Hi All, I am new to both Ruby and Rails, so please be patient with me. I am currently working on a view for a controller and I have used the following excerpt: <td><%= link_to_image "b_edit", :action => ''edit'', :id => part_prefix %></td> The image is being displayed and the link is working. However, the formatting of image rendered