datastax_rails 1.0.13 → 1.0.13.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -43,7 +43,7 @@ module DatastaxRails
|
|
43
43
|
# @param [String] name the name of the attribute
|
44
44
|
# @param [Object] value the value of the attribute prior to typecasting
|
45
45
|
#
|
46
|
-
# @return the
|
46
|
+
# @return the typecast value
|
47
47
|
# @raise [NoMethodError] if the attribute is unknown
|
48
48
|
def typecast_attribute(record, name, value)
|
49
49
|
if attribute_definition = attribute_definitions[name.to_sym]
|
@@ -6,7 +6,7 @@ module DatastaxRails
|
|
6
6
|
ActiveSupport.on_load(:datastax_rails) do
|
7
7
|
end
|
8
8
|
config = YAML.load_file(Rails.root.join("config", "datastax.yml"))
|
9
|
-
DatastaxRails::Base.establish_connection(config[Rails.env].
|
9
|
+
DatastaxRails::Base.establish_connection(config[Rails.env].with_indifferent_access)
|
10
10
|
end
|
11
11
|
|
12
12
|
rake_tasks do
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datastax_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 105
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 13
|
10
|
-
|
10
|
+
- 1
|
11
|
+
version: 1.0.13.1
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Jason M. Kusar
|