From d1b16b0dbc868e45f4910b1b3365679b6f18562f Mon Sep 17 00:00:00 2001 From: ankonym Date: Tue, 6 Oct 2015 18:40:14 +0200 Subject: Small code cleanup in the rake task --- lib/tasks/invite_code.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tasks') diff --git a/lib/tasks/invite_code.rake b/lib/tasks/invite_code.rake index 0404764..53c39b9 100644 --- a/lib/tasks/invite_code.rake +++ b/lib/tasks/invite_code.rake @@ -18,7 +18,7 @@ task :generate_invites, [:n, :u] => :environment do |task, args| x = InviteCode.new x.max_uses = max_uses x.save - puts "#{x.invite_code}" + puts x.invite_code end end -- cgit v1.2.3