activerecord 4.2.1.rc1 → 4.2.1.rc2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of activerecord might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 673f2cc385d13e9219f541c6f07141fd453fa826
|
4
|
+
data.tar.gz: 888a09a78f10eb22d67f7f4d3567c34833bf4b02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e5cdf963547728d543ba7de810a7140e1d3418f308e16085da14f8299c189118255ad2abac08f3b1194ba2398d6cf2b8e15bfa157179bede57575eeeef67e98
|
7
|
+
data.tar.gz: a56c7d2f09252a369842d07e8ab0ec054d537d0538f975bf4c85b9ec4c7d9739ed82129276660909fdb5c64dc1fd78727fdff9e11f02061f4cfcd779bcb74d5c
|
@@ -1064,11 +1064,15 @@ module ActiveRecord
|
|
1064
1064
|
end
|
1065
1065
|
|
1066
1066
|
def arel_columns(columns)
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
field
|
1067
|
+
if from_value
|
1068
|
+
columns
|
1069
|
+
else
|
1070
|
+
columns.map do |field|
|
1071
|
+
if (Symbol === field || String === field) && columns_hash.key?(field.to_s)
|
1072
|
+
arel_table[field]
|
1073
|
+
else
|
1074
|
+
field
|
1075
|
+
end
|
1072
1076
|
end
|
1073
1077
|
end
|
1074
1078
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.1.
|
4
|
+
version: 4.2.1.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.2.1.
|
19
|
+
version: 4.2.1.rc2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.2.1.
|
26
|
+
version: 4.2.1.rc2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activemodel
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 4.2.1.
|
33
|
+
version: 4.2.1.rc2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 4.2.1.
|
40
|
+
version: 4.2.1.rc2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: arel
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|