From d2af60054fffd1ab6de44d90e6490f1cc4a9bc0c Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Mon, 13 Jul 2015 22:08:45 -0300 Subject: [PATCH] HOTFIX: undo before_create callback --- app/models/profile.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/profile.rb b/app/models/profile.rb index 3fb2fd3..f7aea0a 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -432,7 +432,7 @@ class Profile < ActiveRecord::Base end # registar callback for creating boxes after the object is created. - before_create :create_default_set_of_boxes + after_create :create_default_set_of_boxes # creates the initial set of boxes when the profile is created. Can be # overriden for each subclass to create a custom set of boxes for its -- libgit2 0.21.2