html_tables 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/html_tables/data_table.rb +1 -0
- data/lib/html_tables/version.rb +1 -1
- metadata +2 -2
@@ -44,6 +44,7 @@ module HtmlTables
|
|
44
44
|
v ||= I18n.t(column_id, scope: [:tables, options[:name] || :default], raise: true) rescue nil
|
45
45
|
v ||= I18n.t(column_id, scope: [:tables, :default], raise: true) rescue nil
|
46
46
|
v ||= I18n.t(column_id, scope: [:activerecord, :attributes, model.model_name.underscore], raise: true) rescue nil
|
47
|
+
v ||= I18n.t(column_id, scope: [:attributes], raise: true) rescue nil
|
47
48
|
v ||= model_columns[column_id].human_name rescue nil
|
48
49
|
|
49
50
|
v || column_id.to_s.humanize
|
data/lib/html_tables/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html_tables
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|