tap/app/models/order.rb
2014-11-23 21:12:31 +01:00

4 lines
105 B
Ruby

class Order < ActiveRecord::Base
belongs_to :users
default_scope -> { order('created_at DESC') }
end