app/models/account_user.rb in iugusdk-1.0.0.alpha.2 vs app/models/account_user.rb in iugusdk-1.0.0.alpha.3
- old
+ new
@@ -6,9 +6,11 @@
after_create :add_default_roles
validates_presence_of :user
validates_presence_of :account
+ attr_accessible :user
+
handle_asynchronously :destroy, :queue => Proc.new { |p| "account_user_#{p.id}_destroy" },
:run_at => Proc.new { DateTime.now + IuguSDK::delay_account_user_exclusion }
def destruction_job