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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
159d448982fbdf2e8ee0394c5051b5c5?d=identicon&s=25 Andy J. (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.