On Jun 28, 6:16 am, Brandon Keepers <[EMAIL PROTECTED]> wrote: > On Jun 28, 2007, at 7:50 AM, Geoff B wrote: > > class Company < AR::Base > def to_s > name > end > end > > <%= link_to @company %> > > That's the pattern I've been using, but my link_to's look like this: > > <%= link_to @company, @company %> Yes! Something who's been thinking alike. http://svn.joshpeek.com/projects/plugins/stringgable_shortcuts/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
- [Rails-core] DRYing link_to with a symbol Geoff B
- [Rails-core] Re: DRYing link_to with a symbol Mislav Marohnić
- [Rails-core] Re: DRYing link_to with a symbol Brandon Keepers
- [Rails-core] Re: DRYing link_to with a symbol Steven A Bristol
- [Rails-core] Re: DRYing link_to with a symbol Damian Janowski
- [Rails-core] Re: DRYing link_to with a symbol Josh Peek
- [Rails-core] Re: DRYing link_to with a symbol Geoff B
- [Rails-core] Re: DRYing link_to with a symb... Geoff B
- [Rails-core] Re: DRYing link_to with a ... Josh Peek
- [Rails-core] Re: DRYing link_to wi... Mislav Marohnić
- [Rails-core] Re: DRYing link_to with a ... Pratik
- [Rails-core] Re: DRYing link_to wi... Josh Peek
- [Rails-core] Re: DRYing link_to with a symb... Mislav Marohnić
- [Rails-core] Re: DRYing link_to with a ... Josh Peek
- [Rails-core] Re: DRYing link_to wi... Obie Fernandez
- [Rails-core] Re: DRYing link_t... Marcel Molina Jr.
