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

conflict with action_view tag_helper in resque #37

Open
beghbali opened this issue Nov 5, 2012 · 0 comments
Open

conflict with action_view tag_helper in resque #37

beghbali opened this issue Nov 5, 2012 · 0 comments

Comments

@beghbali
Copy link

beghbali commented Nov 5, 2012

I have rails 3.2.8, rocket_tag 0.5.6, and tried squeel (1.0.5, 1.0.9, 1.0.11 and 1.0.13) but I keep getting:

/app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_view/helpers/tag_helper.rb:65:in `tag'
/app/vendor/bundle/ruby/1.9.1/gems/rocket_tag-0.5.6/lib/rocket_tag/taggable.rb:183:in `block in tagged_with'
/app/vendor/bundle/ruby/1.9.1/gems/squeel-1.0.5/lib/squeel/dsl.rb:31:in `instance_eval'
/app/vendor/bundle/ruby/1.9.1/gems/squeel-1.0.5/lib/squeel/dsl.rb:31:in `eval'
/app/vendor/bundle/ruby/1.9.1/gems/squeel-1.0.5/lib/squeel/adapters/active_record/3.1/relation_extensions.rb:250:in `joins'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/querying.rb:9:in `joins'
/app/vendor/bundle/ruby/1.9.1/gems/rocket_tag-0.5.6/lib/rocket_tag/taggable.rb:183:in `tagged_with'

I even tried pull by @Fntzr. Seems like the line

joins{taggings.tag}

resolves tag to the action_view tag helper method which is totally unrelated. This happens only in resque tasks. Any help is greatly appreciated.

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

1 participant