has_enum 0.7.2.1 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -81,7 +81,7 @@ module HasEnum::ClassMethods
81
81
 
82
82
 
83
83
  def values_for_select_tag(enum)
84
- human_enums[enum].invert.to_a
84
+ (human_enums[enum] || human_enum_values(enum)).invert.to_a
85
85
  end
86
86
 
87
87
  end
@@ -1,3 +1,3 @@
1
1
  module HasEnum
2
- VERSION = "0.7.2.1"
2
+ VERSION = "0.7.3"
3
3
  end
metadata CHANGED
@@ -5,9 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 2
9
- - 1
10
- version: 0.7.2.1
8
+ - 3
9
+ version: 0.7.3
11
10
  platform: ruby
12
11
  authors:
13
12
  - Andreas Korth