Closed padi closed 9 years ago
Hmm, do you have an idea why the travis build would fail?
Not sure. I've never had this error before on travis. The error persists in all versions of ruby.
It has 2 sticking points though: 1) A note on the environment setup.
config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:
* development - set it to false
* test - set it to false (unless you use a tool that preloads your test environment)
* production - set it to true
and
2) NoMethodError on whitelist_attributes
, example:
/home/travis/.rvm/gems/ruby-2.1.2/gems/activerecord-4.1.1/lib/active_record/dynamic_matchers.rb:26:in `method_missing': undefined method `whitelist_attributes=' for #<Class:0x000000022e83b0> (NoMethodError)
It could be because the dummy app that the tests run against is still using Rails 3?
Fixed in ce51a54ca7bdc9bf93fadd1c97848f915c61a753
https://www.ruby-lang.org/en/news/2014/05/09/ruby-2-1-2-is-released/