after-create Questions

1

Solved

I have a simple set up of User and UserProfile model with User has_one :user_profile and UserProfile belongs_to :user. But I am unable to wrap my head around how Rails defines execution order of a...
Genitourinary asked 9/3, 2012 at 9:23

1

Solved

Simple question. I have a ActiveRecord model that I want to perform post processing on AFTER the record is saved. So in the model I have a queue_for_processing method that sticks a job onto my Resq...
Leonaleonanie asked 3/9, 2012 at 2:9

1

Solved

I have a method that is called after the creation of an object after_create :send_welcome_email Is there a way to limit this to a condition, such as the value of an attribute of an object after...
Diaphaneity asked 6/9, 2011 at 2:56
1

© 2022 - 2024 — McMap. All rights reserved.