-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Errors out in a Rails project that doesn't use ActiveRecord (like MongoMapper) #10
Comments
Just pushed a fix. dacort/loofah@ 7a7ff04 |
I am shocked, shocked to hear that non-ActiveRecord ORMs are being used. :-) Will pull in your fix tonight. |
Added tests for rails 2.0, 2.1, 2.2 and 2.3 without AR, then merged in your change. Thanks for the help! |
Is this going out in a gem anytime soon? |
Yeargh, I totally forgot that I have a bunch of unreleased stuff queued up. I will try to finish documenting and release tonight. |
Oh good, that'll save me some work! |
I'm using MongoMapper on a project and loading Feedzirra, which uses loofah. phew
I remove ActiveRecord from my configuration and get this error message:
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:443:in `load_missing_constant':NameError: uninitialized constant ActiveRecord
Trying to use rake also results in an error:
uninitialized constant ActiveRecord
Using this to remove AR:
config.frameworks -= [:active_record]
The text was updated successfully, but these errors were encountered: