activerecord 3.2.15.rc2 → 3.2.15.rc3
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 +4 -4
- data/CHANGELOG.md +0 -6
- data/lib/active_record/associations/association.rb +0 -1
- data/lib/active_record/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45c067ba211fe4871108f5675734bbca7c8e6fd3
|
4
|
+
data.tar.gz: 2a918dc0eba4207f4d78feab4d14b5b4598b4fe2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a77f4dfc7a637c410094ae5e03aee836b708f9a493fae9e147a6eff4f45962ca443826db07c6aca5a2a8d924647941d9c7cc9350104f3845f7e6c2cf483bc995
|
7
|
+
data.tar.gz: b67be3d14020a273cf7832510e62e93a10a011b82bfa031520752f8efbffa0cf48966e291dea34d93c229f9f92eaa9af9b5ede888bd4b7153338a347fa8e0453
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,4 @@
|
|
1
1
|
## unreleased ##
|
2
|
-
* Move .set_inverse_instance call to association.build_record method. Everytime a new record is build
|
3
|
-
using the association, we need to try to set the inverse_of relation.
|
4
|
-
|
5
|
-
Fixes #10371.
|
6
|
-
|
7
|
-
*arthurnn*
|
8
2
|
|
9
3
|
* When calling the method .find_or_initialize_by_* from a collection_proxy
|
10
4
|
it should set the inverse_of relation even when the entry was found on the db.
|
@@ -240,7 +240,6 @@ module ActiveRecord
|
|
240
240
|
skip_assign = [reflection.foreign_key, reflection.type].compact
|
241
241
|
attributes = create_scope.except(*(record.changed - skip_assign))
|
242
242
|
record.assign_attributes(attributes, :without_protection => true)
|
243
|
-
set_inverse_instance(record)
|
244
243
|
end
|
245
244
|
end
|
246
245
|
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: 3.2.15.
|
4
|
+
version: 3.2.15.rc3
|
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: 2013-10-
|
11
|
+
date: 2013-10-11 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: 3.2.15.
|
19
|
+
version: 3.2.15.rc3
|
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: 3.2.15.
|
26
|
+
version: 3.2.15.rc3
|
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: 3.2.15.
|
33
|
+
version: 3.2.15.rc3
|
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: 3.2.15.
|
40
|
+
version: 3.2.15.rc3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: arel
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|