Forum: JRuby Rails 4.2: NoMethodError: undefined method `type' for "numeric":String

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C56d14d32eddc6e2bd6364bc2ebbf542?d=identicon&s=25 Andy Joel (f2andy)
on 2015-02-03 16:54
Trying to upgrade to Rails 4.2 I got this error all over my tests.
google failed me, but after many hours of puzzling, I realised I had
decimal fields in two models with no precision and scale set. In Rails
4.1, this was not a problem, but Rails 4.2 was not happy with that.

Thought I would post it here in case anyone else runs into it.
This topic is locked and can not be replied to.