Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Check if ActiveRecord::Base is defined, not just ActiveRecord#11

Open
scottmessinger wants to merge 1 commit intomobomo:masterfrom
scottmessinger:master
Open

Check if ActiveRecord::Base is defined, not just ActiveRecord#11
scottmessinger wants to merge 1 commit intomobomo:masterfrom
scottmessinger:master

Conversation

@scottmessinger
Copy link

Fixes an error on Rails load:

Stack trace:

rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing': uninitialized constant ActiveRecord::Base (NameError)
profanity_filter-0.1.1/lib/profanity_filter.rb:90:in `<top (required)>'
< ... snip ... >

Fixes an error on Rails load:

Stack trace:
rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing': uninitialized constant ActiveRecord::Base (NameError)
profanity_filter-0.1.1/lib/profanity_filter.rb:90:in `<top (required)>'
< ... snip ... >
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant