Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Child < ActiveRecord::Base
- accepts_nested_attributes_for :invitation
- after_save InvitationCreator.run(invitation)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement