lib/active_admin/resource.rb in activeadmin-1.4.3 vs lib/active_admin/resource.rb in activeadmin-2.0.0.rc1

- old
+ new

@@ -179,14 +179,14 @@ def resource_attributes @resource_attributes ||= default_attributes end def association_columns - @association_columns ||= resource_attributes.select{ |key, value| key != value }.values + @association_columns ||= resource_attributes.select { |key, value| key != value }.values end def content_columns - @content_columns ||= resource_attributes.select{ |key, value| key == value }.values + @content_columns ||= resource_attributes.select { |key, value| key == value }.values end private def method_for_find(id)