You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using this with my app that uses Mongoid and got the following error:
>> CohortMe.analyze(activation_class: Hackathon)
NoMethodError: private method `select' called for Hackathon:Class
from /Users/theycallmeswift/.rvm/gems/ruby-1.9.3-p194/gems/cohort_me-0.0.1/lib/cohort_me.rb:34:in `analyze'
from (irb):2
from /Users/theycallmeswift/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.12/lib/rails/commands/console.rb:47:in `start'
from /Users/theycallmeswift/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.12/lib/rails/commands/console.rb:8:in `start'
from /Users/theycallmeswift/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.12/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
The text was updated successfully, but these errors were encountered:
Ok. Thanks for posting this! I have never used Mongoid. Right now the code definitely assumes ActiveRecord like syntax. But I'd love to support more databases. Definitely welcome patches from anyone more familiar with Mongoid.
I tried using this with my app that uses Mongoid and got the following error:
The text was updated successfully, but these errors were encountered: