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

0.3.9 Breaks with Mongoid #36

Closed
siong1987 opened this issue Oct 3, 2011 · 2 comments
Closed

0.3.9 Breaks with Mongoid #36

siong1987 opened this issue Oct 3, 2011 · 2 comments

Comments

@siong1987
Copy link

Completed 500 Internal Server Error in 270ms

NameError (uninitialized constant ActsAsApi::Rendering::ActiveRecord):
  app/controllers/companies_controller.rb:6:in `show'

Rendered /Users/siong1987/.rvm/gems/ruby-1.9.2-p180@box/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.3ms)
Rendered /Users/siong1987/.rvm/gems/ruby-1.9.2-p180@box/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
Rendered /Users/siong1987/.rvm/gems/ruby-1.9.2-p180@box/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.2ms)

Not sure why this happens. I will dig more into the code when I have time. It works on version 0.3.8 tho.

@fabrik42
Copy link
Owner

fabrik42 commented Oct 3, 2011

Thank you for pointing me on this, this was my mistake! :)
It's fixed in 0.3.10 - I already released the updated gem.

@siong1987
Copy link
Author

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

2 participants