app/models/c80_push/office.rb in c80_push-0.1.0 vs app/models/c80_push/office.rb in c80_push-0.1.0.1

- old
+ new

@@ -1,10 +1,10 @@ module C80Push class Office < ActiveRecord::Base has_and_belongs_to_many :regions belongs_to :dealer - scope :def_order, -> { order(:ord => :asc) } + default_scope -> { order(:ord => :asc) } validates :ord, :presence => true validates :title, \ No newline at end of file