data_table 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,7 @@ module DataTable
27
27
  block[object].map do |string|
28
28
  controller.instance_eval %{
29
29
  Rails.logger.silence do
30
- render_to_string :inline => %Q|#{string}|, :locals => {:#{self.name.downcase} => object}
30
+ render_to_string :inline => %Q|#{string}|, :locals => {:#{self.name.underscore} => object}
31
31
  end
32
32
  }
33
33
  end
@@ -1,3 +1,3 @@
1
1
  module DataTable
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/lib/data_table.rb CHANGED
@@ -3,6 +3,7 @@ require "active_support/core_ext/object/blank"
3
3
  require "active_support/core_ext/object/to_json"
4
4
  require "active_support/json/encoding"
5
5
  require "active_support/core_ext/string/output_safety"
6
+ require "active_support/core_ext/string/inflections"
6
7
 
7
8
  require "data_table/base"
8
9
  require "data_table/active_record"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_table
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason Dew