test/templates/app/models/city.rb in dry_crud-1.5.0 vs test/templates/app/models/city.rb in dry_crud-1.6.0
- old
+ new
@@ -1,6 +1,8 @@
class City < ActiveRecord::Base
+ attr_protected nil
+
belongs_to :country
has_many :people
validates :name, :presence => true
validates :country, :presence => true
\ No newline at end of file