Replace class_eval with define_method.
Replace class_eval with define_method.

josevalim/inherited_resources,activeadmin/inherited_resources,josevalim/inherited_resources,josevalim/inherited_resources,activeadmin/inherited_resources,activeadmin/inherited_resources