summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/invite_code.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/invite_code.rake b/lib/tasks/invite_code.rake
index 6623640..71950b9 100644
--- a/lib/tasks/invite_code.rake
+++ b/lib/tasks/invite_code.rake
@@ -16,9 +16,9 @@ task :generate_invites, [:n, :u] => :environment do |task, args|
codes.times do |x|
x = InviteCode.new
- x.invite_max_uses = max_uses
+ x.max_uses = max_uses
x.save
- puts "#{x.invite_code} Code generated with #{x.invite_max_uses} uses."
+ puts "#{x.invite_code} Code generated with #{x.max_uses} uses."
end
end