DanielMedia wrote:
> Thanks for the help everyone. I really just wanted to have a base
> model and have the option of overriding methods for all models or
> adding functionality etc. I will try Fred and MaD's approach and see
> how that goes. I also realized that my initial idea to define a
> to_slug method in the AppModel is probably wrong and should probably
> go within a module instead.

Yes, if you even need it.  to_param works wonders.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [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-talk?hl=en.

Reply via email to