test/templates/app/models/city.rb in dry_crud-1.1.0 vs test/templates/app/models/city.rb in dry_crud-1.2.0

- old
+ new

@@ -2,10 +2,10 @@ has_many :people validates_presence_of :name, :country_code - default_scope :order => 'country_code, name' + default_scope order('country_code, name') def label "#{name} (#{country_code})" end \ No newline at end of file