On 11 March 2010 14:39, Fernando Perez <lists@ruby-forum.com> wrote:
>> But it *is* a Membership object... ?:-/
>>
> It's a Membership indeed, but in the admin section of my app, I don't
> need to recode a specific controller for memberships, they can use the
> products_controller which is fine and defining :controller => "products"
> won't do the trick as some actions cannot be shared.
Makes sense.
> #becomes is exactly what I was looking for, I didn't know about this
> method and it's not featured in AWDWR 3rd Ed.
Kewl. Glad to help.
AWDWR is a good book - but it's not all-encompassing... You need to
get familiar with navigating the Ruby and Rails API documentation to
find the rest of the cool stuff :-)
--
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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment