lib/netzke/basepack/columns.rb in netzke-basepack-0.12.1 vs lib/netzke/basepack/columns.rb in netzke-basepack-0.12.2
- old
+ new
@@ -196,10 +196,10 @@
!c.getter.nil? ||
!c.setter.nil? ||
data_adapter.attribute_names.include?(c[:name]) ||
data_class.instance_methods.include?(c[:name].to_sym) ||
data_class.instance_methods.include?(:"#{c[:name]}=") ||
- association_attr?(c[:name])
+ association_attr?(c)
end
def exclude_from_forms?(c)
c[:type] == :action
end