test/dummy/app/models/country.rb in resources-1.1.0 vs test/dummy/app/models/country.rb in resources-1.1.1

- old
+ new

@@ -1,6 +1,8 @@ class Country < ActiveRecord::Base + validates :name, presence: true + def permited_attributes [:name, :code, :active] end end