Skip to content

Conversation

bogdan
Copy link
Contributor

@bogdan bogdan commented Jan 7, 2012

Callbacks are defined through some method_missing schema.
That's why respond_to?(...) doesn't work and we need to check if some callbacks present manually.

josevalim added a commit that referenced this pull request Jan 7, 2012
Fixed after_initialize callbacks call on AR model #dup
@josevalim josevalim merged commit ef023ce into rails:master Jan 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants