Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

tag_counts broken in Rails 3 #14

Open
pdeffendol opened this issue Oct 27, 2010 · 0 comments
Open

tag_counts broken in Rails 3 #14

pdeffendol opened this issue Oct 27, 2010 · 0 comments

Comments

@pdeffendol
Copy link
Contributor

Calling #tag_counts causes the creation of invalid SQL when using this with Rails 3. It turns out that the #scope method on ActiveRecord::Base no longer does the same thing as in Rails 2.3. (It was renamed from #named_scope for Rails 3.)

I made a temporary fix on my fork at http://github.com/fragility/acts_as_taggable_on_steroids/commit/3994188312ba7404f31aa70a997b2a8487868aa5 but it's kind of a cop-out.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant