make sure rails gem is loaded prior to requiring attribute_accesors