app/models/c80_push/dealer.rb in c80_push-0.1.0 vs app/models/c80_push/dealer.rb in c80_push-0.1.0.1
- old
+ new
@@ -13,9 +13,9 @@
:presence => true
validates :ord,
:presence => true
- scope :def_order, -> { order(:ord => :asc) }
+ default_scope -> { order(:ord => :asc) }
end
end
\ No newline at end of file