active_list 6.1.1 → 6.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,9 +10,9 @@ module ActiveList
10
10
  super(table, name, options)
11
11
  @label_method = (options[:label_method] || @name).to_sym
12
12
  unless @sort_column = options[:sort]
13
- if @table.model.columns_hash[@label_method]
13
+ if @table.model.columns_hash[@label_method.to_s]
14
14
  @sort_column = @label_method
15
- elsif @table.model.columns_hash[@name]
15
+ elsif @table.model.columns_hash[@name.to_s]
16
16
  @sort_column = @name
17
17
  else
18
18
  @sort_column = :id
@@ -1,5 +1,5 @@
1
1
  module ActiveList
2
2
 
3
- VERSION = "6.1.1"
3
+ VERSION = "6.1.2"
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.1
4
+ version: 6.1.2
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: 2014-05-06 00:00:00.000000000 Z
12
+ date: 2014-05-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
224
  version: '0'
225
225
  requirements: []
226
226
  rubyforge_project:
227
- rubygems_version: 1.8.23.2
227
+ rubygems_version: 1.8.23
228
228
  signing_key:
229
229
  specification_version: 3
230
230
  summary: Simple interactive tables for Rails app