app/models/susply/plan.rb in susply-0.0.2 vs app/models/susply/plan.rb in susply-1.0.0

- old
+ new

@@ -8,9 +8,9 @@ validates :interval, inclusion: { in: ['monthly', 'yearly'] } validates :highlight, inclusion: { in: [true, false] } validates :active, inclusion: { in: [true, false] } validates :published, inclusion: { in: [true, false] } - scope :actives, -> { where(active: true)} + scope :active, -> { where(active: true)} scope :published, -> { where(published: true)} end end