Execute the condition in the object context.
Merge pull request #1012 from plataformatec/execute_conditions_in_object_context

Execute condition in the association context.