Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v4.2.9) is shown here.
These similar methods exist in v7.1.3.2:
counter_cache_column()
public
No documentation
This method has no description. You can help the Ruby on Rails community by adding new notes.
Show source
def counter_cache_column
if options[:counter_cache] == true
"#{active_record.name.demodulize.underscore.pluralize}_count"
elsif options[:counter_cache]
options[:counter_cache].to_s
end
end