Wednesday, May 28, 2008

depends_on update

I've updated the code for depends_on.

This update adds a dynamic method, so if you had the call:
 depends_on :content, :attrs => [:name, :url ], :as => :presentable

Then you would get a "find_with_content" class method that does the :include for you.

0 comments: