wrong constant name ActiveModel::Naming exception on jruby-1.7.10-12