We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 212dbb6 + 010d721 commit eaf5e49Copy full SHA for eaf5e49
app/models/plan.rb
@@ -15,7 +15,7 @@ def available?(t = Time.zone.now)
15
end
16
17
def sold_out?
18
- !capacity || sponsorships.active.count > capacity
+ !capacity || sponsorships.active.count >= capacity
19
20
21
def closed?(t = Time.zone.now)
0 commit comments