Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Observer not getting called when I use factory #29

Closed
robotarmy opened this issue Jun 19, 2011 · 2 comments
Closed

Observer not getting called when I use factory #29

robotarmy opened this issue Jun 19, 2011 · 2 comments

Comments

@robotarmy
Copy link

Factory(:questionnaire_invite_epistle, :resource => Application.first)
=> #<Epistle id: 2, mail_encoded: " I am pretend mail encoded ", created_at: "2011-06-19 01:26:54", updated_at: "2011-06-19 01:26:54", type: "QuestionnaireInviteEpistle", resource_id: 1, resource_type: "Application">

QuestionnaireInviteEpistle.create!(:resource => Application.first, :mail_encoded => 'hi')
222
1111
55555
55555999999
NameError: uninitialized constant QuestionnaireInviteEpistleObserver::FroggerInstrumentation
from /Users/o_o/Work/cr/fern_gully/app/observers/questionnaire_invite_epistle_observer.rb:19:in record_if_duplicate' from /Users/o_o/Work/cr/fern_gully/app/observers/questionnaire_invite_epistle_observer.rb:7:inafter_create'

@jferris
Copy link
Member

jferris commented Jun 21, 2011

@joshuaclayton
Copy link
Contributor

Closing due to inactivity; @robotarmy, if you have any more insight as to what the problem is, feel free to reopen the issue. Thanks!

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

No branches or pull requests

3 participants