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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 856a5392add0af79ab66b13cc479f32adfbc6014
4
- data.tar.gz: 9d0710333ebdcd6a83051ff01e2e588d3b9abe48
3
+ metadata.gz: 45c067ba211fe4871108f5675734bbca7c8e6fd3
4
+ data.tar.gz: 2a918dc0eba4207f4d78feab4d14b5b4598b4fe2
5
5
  SHA512:
6
- metadata.gz: 335169c6f9427adea2429184e7ccd238ca20a6369b0ee35712f822d6039f553f102df62e0e1df7c2aff589ab338d5979d367f975c7c06d2405f426a8fc0d28cb
7
- data.tar.gz: 67abece79aa64e8ca7cf87cde0cfbb62145e7209862ecca6fc623d65fca6ead80421e9bb24c70067070c35adf72bfb4f4b4e4e9e7c4c925951474a3ddcbc287c
6
+ metadata.gz: a77f4dfc7a637c410094ae5e03aee836b708f9a493fae9e147a6eff4f45962ca443826db07c6aca5a2a8d924647941d9c7cc9350104f3845f7e6c2cf483bc995
7
+ data.tar.gz: b67be3d14020a273cf7832510e62e93a10a011b82bfa031520752f8efbffa0cf48966e291dea34d93c229f9f92eaa9af9b5ede888bd4b7153338a347fa8e0453
@@ -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
@@ -3,7 +3,7 @@ module ActiveRecord
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
5
  TINY = 15
6
- PRE = "rc2"
6
+ PRE = "rc3"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  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.rc2
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-04 00:00:00.000000000 Z
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.rc2
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.rc2
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.rc2
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.rc2
40
+ version: 3.2.15.rc3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: arel
43
43
  requirement: !ruby/object:Gem::Requirement