Andrew Bloomgarden
2010-Jun-03 03:38 UTC
[PATCH] ActiveRecord::Base.compute_type swallows NoMethodError
Please take a look at this ticket & associated patch: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4751-activerecordbasecompute_type-swallows-nomethoderror Class-level errors in models autoloaded through associations are raised as an NameError (uninitialized constant), not the original NoMethodError. Thanks, Andrew -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.