Hi, I just put in a patch that allows you to DRY up this:

<%= link_to @company.name, @company %>

to this:

<%= link_to :name, @company %>

The symbol indicates the method to be called on the object passed in
the link_to options.

http://dev.rubyonrails.org/ticket/8789


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to