lib/netzke/basepack/attr_config.rb in netzke-basepack-1.0.0.1 vs lib/netzke/basepack/attr_config.rb in netzke-basepack-1.0.1.0
- old
+ new
@@ -30,14 +30,10 @@
end
private
def default_label
- if association?
- @model_adapter.human_attribute_name(name.split("__").first)
- else
- @model_adapter.human_attribute_name(name)
- end
+ @model_adapter.human_attribute_name(name)
end
def responded_to_by_model?
# if no model class is provided, assume the attribute is being responded to
@model_adapter.model.nil? ||