query_report 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/query_report/column.rb +1 -1
- data/lib/query_report/version.rb +1 -1
- metadata +1 -1
data/lib/query_report/column.rb
CHANGED
@@ -24,7 +24,7 @@ module QueryReport
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def humanize
|
27
|
-
options[:as] ||
|
27
|
+
options[:as] || options[:model_name].classify.constantize.human_attribute_name(name)
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
data/lib/query_report/version.rb
CHANGED