Force early definition of attribute methods
Force early definition of attribute methods

Active Record will lazily define attribute methods when the model is
first instantiated but if it's come from the cache then that never
happens causing 'no superclass method' errors. By calling the method
`define_attribute_methods` directly we can trigger that definition
when the application boots and the class is eager loaded.

telekomatrix/e-petitions,unboxed/e-petitions,StatesOfJersey/e-petitions,unboxed/e-petitions,oskarpearson/e-petitions,StatesOfJersey/e-petitions,ansonK/e-petitions,StatesOfJersey/e-petitions,joelanman/e-petitions,StatesOfJersey/e-petitions,ansonK/e-petitions,oskarpearson/e-petitions,alphagov/e-petitions,oskarpearson/e-petitions,alphagov/e-petitions,ansonK/e-petitions,alphagov/e-petitions,telekomatrix/e-petitions,unboxed/e-petitions,telekomatrix/e-petitions,unboxed/e-petitions,joelanman/e-petitions,joelanman/e-petitions,alphagov/e-petitions