On Friday, April 11, 2014 2:05:54 PM UTC+1, Svoop wrote:

> Hi
>
> I'm looking for ways to replace "has_many ... counter_sql: '...'" in order 
> to migrate an app from Rails 3.2 to 4.0 (done) and then up to 4.1 which has 
> dropped support for "counter_sql". An example is on Stackoverflow:
>
>
> http://stackoverflow.com/questions/22988321/replacement-for-has-many-counter-sql-in-rails-4-1
>
> I'd do it with a separate counter method, but it doesn't feel like the 
> ideal solution.
>
>
my guess would be an association extension - i put more details on your 
stack overflow question.

Fred

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/e31bcdd4-fbe1-4154-ba94-11e2bded83e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to