jpablobr.com

→ more on namespaced models

More on: tip, refactoring, mvc, models, Tue Jul 27 18:40:37 +0000 2010

Following up with the FAT models... this is another way to solve the problem with out having to clutter your environment.rb

In your initializers dir put:

This will provide you with a ActiveRecord "concerned_with" macro, allowing you to do the following:

Now you can simply go ahead and extend your models...

blog comments powered by Disqus