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

undefined method `contains' for :page_path:Symbol #118

Open
todddickerson opened this issue Apr 5, 2012 · 3 comments
Open

undefined method `contains' for :page_path:Symbol #118

todddickerson opened this issue Apr 5, 2012 · 3 comments

Comments

@todddickerson
Copy link

irb(main):046:0> Pageviews.results(@Profile, :filters => {:page_path.contains => '/'})
NoMethodError: undefined method contains' for :page_path:Symbol from (irb):46 from /data/clickfusion/shared/bundled_gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands/console.rb:45:instart'
from /data/clickfusion/shared/bundled_gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands/console.rb:8:in start' from /data/clickfusion/shared/bundled_gems/ruby/1.9.1/gems/railties-3.1.3/lib/rails/commands.rb:40:in<top (required)>'
from script/rails:6:in require' from script/rails:6:in

'

This just stopped working in a new release I was getting ready to deploy. I've tried tracing back through updates and can't find any solution.

Running Ruby 1.9.2
Rails 3.1.3

Any ideas? Anyone started seeing this recently? Issue shows up locally, on EY staging, and another developer's machine

@todddickerson
Copy link
Author

I've narrowed down that this must be a gem conflict. It works using irb directly, just not inside the app's console.

@todddickerson
Copy link
Author

Found it... RightAWS gem causes this conflict...

@gabecoyne
Copy link

Is there a workaround if you are using RightAWS?

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