test/dummy/app/models/movie.rb in recommendable-2.1.2 vs test/dummy/app/models/movie.rb in recommendable-2.1.3
- old
+ new
@@ -1,3 +1,3 @@
class Movie < ActiveRecord::Base
- attr_accessible :title, :year
+ attr_accessible :title, :year if ::ActiveRecord::VERSION::MAJOR < 4
end