app/models/concerns/memberships/base.rb in bullet_train-1.1.5 vs app/models/concerns/memberships/base.rb in bullet_train-1.1.6

- old
+ new

@@ -29,10 +29,10 @@ scope :current, -> { where("user_id IS NOT NULL") } scope :tombstones, -> { includes(:invitation).where("user_id IS NULL AND invitations.id IS NULL").references(:invitation) } # TODO Probably we can provide a way for gem packages to define these kinds of extensions. if billing_enabled? - scope :billable, -> { current_and_invited } + scope :billable, -> { current } end end def name full_name