test_after_commit gem added
This commit is contained in:
parent
1f1c8094fe
commit
af63607a5c
4 changed files with 12 additions and 14 deletions
|
@ -1,12 +1,4 @@
|
|||
class UsersProjectObserver < ActiveRecord::Observer
|
||||
#def after_create(users_project)
|
||||
#Notify.project_access_granted_email(users_project.id).deliver
|
||||
#end
|
||||
|
||||
#def after_update(users_project)
|
||||
#Notify.project_access_granted_email(users_project.id).deliver
|
||||
#end
|
||||
|
||||
def after_commit(users_project)
|
||||
Notify.project_access_granted_email(users_project.id).deliver
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue