search for: activerecordaddit

Displaying 1 result from an estimated 1 matches for "activerecordaddit".

2013 Feb 27
0
Exended modules and reject_if in nested_attributes
I have some common class methods in a module ''active_record_additions'' that I load into a class by Activity by using extend ActiveRecordAdditions The Activity class uses nested_attributes_for with a reject_if method saved in the module ''active_record_additions'' The problem is that the class methods in ''active_record_additions'' works when I use them as ordinary class methods, but not as a a method in...