lib/active_admin/resource/attributes.rb in activeadmin-2.8.0 vs lib/active_admin/resource/attributes.rb in activeadmin-2.8.1
- old
+ new
@@ -34,10 +34,10 @@
def sti_col?(c)
c.name == resource_class.inheritance_column
end
def counter_cache_col?(c)
- c.name.end_with?('_count')
+ c.name.end_with?("_count")
end
def filtered_col?(c)
ActiveAdmin.application.filter_attributes.include?(c.name.to_sym)
end