activerecord_composed_of_enum 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,11 +16,7 @@ module ActiveRecord
|
|
16
16
|
base = options[:base]
|
17
17
|
enum_column = :"#{part}_cd"
|
18
18
|
|
19
|
-
base.class_attribute(
|
20
|
-
enum_column,
|
21
|
-
:instance_reader => false,
|
22
|
-
:instance_reader => false
|
23
|
-
)
|
19
|
+
base.class_attribute(enum_column, :instance_accessor => false)
|
24
20
|
|
25
21
|
enumeration = options[:enumeration]
|
26
22
|
|