Reputation: 15
How good is saving from model not from controller ?
Upvotes: 0
Views: 46
Reputation: 115521
It's great to do that in callbacks.
ex: you create a user who must have a profile=> you add an after_create on the User model.
I'll try to find out some more examples.
Upvotes: 1