app/models/basket.rb in enju_library-0.1.0.pre39 vs app/models/basket.rb in enju_library-0.1.0.pre40
- old
+ new
@@ -1,6 +1,5 @@
class Basket < ActiveRecord::Base
- attr_accessible :note, :user_number
default_scope { order('baskets.id DESC') }
scope :will_expire, lambda {|date| where('created_at < ?', date)}
belongs_to :user, validate: true
has_many :accepts