gotime-cassandra_object 2.12.2 → 2.12.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,9 @@ module CassandraObject
|
|
4
4
|
include ActiveModel::AttributeMethods
|
5
5
|
|
6
6
|
included do
|
7
|
-
|
7
|
+
if ActiveModel::VERSION::STRING < '3.2'
|
8
|
+
attribute_method_suffix("", "=")
|
9
|
+
end
|
8
10
|
|
9
11
|
# (Alias for the protected read_attribute method).
|
10
12
|
def [](attr_name)
|