app/models/basket.rb in enju_library-0.1.2 vs app/models/basket.rb in enju_library-0.2.0.beta.1

- old
+ new

@@ -3,11 +3,9 @@ scope :will_expire, lambda {|date| where('created_at < ?', date)} belongs_to :user, validate: true has_many :accepts has_many :withdraws - enju_circulation_basket_model if defined?(EnjuCirculation) - validates_associated :user, on: :create # 貸出完了後にかごのユーザidは破棄する validates_presence_of :user, on: :create validate :check_suspended