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.
@@ -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
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  module HtmlTables
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
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.2
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-14 00:00:00.000000000 Z
12
+ date: 2012-11-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n