Please take a look at this ticket & associated patch:
Class-level errors in models autoloaded through associations are raised as an NameError (uninitialized constant), not the original NoMethodError.
Thanks, Andrew
Please take a look at this ticket & associated patch:
Class-level errors in models autoloaded through associations are raised as an NameError (uninitialized constant), not the original NoMethodError.
Thanks, Andrew