[jruby-user] Rails 4.2: NoMethodError: undefined method `type' for "numeric":String

11 views
Skip to first unread message

Andy Joel

unread,
Feb 3, 2015, 10:54:35 AM2/3/15
to us...@jruby.codehaus.org
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.

--
Posted via http://www.ruby-forum.com/.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Reply all
Reply to author
Forward
0 new messages