meleyal / backbone-on-rails

A simple gem for using Backbone.js with Rails.
MIT License
810 stars 126 forks source link

Add latest ruby to list of versions to support #63

Closed padi closed 9 years ago

padi commented 10 years ago

https://www.ruby-lang.org/en/news/2014/05/09/ruby-2-1-2-is-released/

meleyal commented 10 years ago

Hmm, do you have an idea why the travis build would fail?

padi commented 10 years ago

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)
meleyal commented 10 years ago

It could be because the dummy app that the tests run against is still using Rails 3?

meleyal commented 9 years ago

Fixed in ce51a54ca7bdc9bf93fadd1c97848f915c61a753