I'd like to schedule a delayed job that contains an active record query (or conditions) that will be evaluated when the job is actually run.
Ex. I have a custom Job that is generating and sending notifications to users. I want to send parameters/query/conditions to the job that would filter the users that notifications get sent to.
I could eval a string but that seems so ugly.
The project is using Rails 2.3.5 so I can't go the Arel route.
I see stuff about Ambition but nothing since 2008 so I'm not sure the status of the project.
Suggestions?