garb icon indicating copy to clipboard operation
garb copied to clipboard

undefined method `contains' for :page_path:Symbol

Open todddickerson opened this issue 14 years ago • 3 comments

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 avatar Apr 05 '12 23:04 todddickerson

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

todddickerson avatar Apr 05 '12 23:04 todddickerson

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

todddickerson avatar Apr 05 '12 23:04 todddickerson

Is there a workaround if you are using RightAWS?

gabecoyne avatar Jan 10 '13 19:01 gabecoyne