activerecord 3.2.14.rc1 → 3.2.14.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.

@@ -1,4 +1,13 @@
1
- ## Rails 3.2.14.rc1 (Jul 8, 2013) ##
1
+ ## Rails 3.2.14.rc2 (Jun 16, 2013) ##
2
+
3
+ * Do not re-create destroyed association when saving the parent object.
4
+
5
+ Fixes #11450.
6
+
7
+ *Paul Nikitochkin*
8
+
9
+
10
+ ## Rails 3.2.14.rc1 (Jul 12, 2013) ##
2
11
 
3
12
  * Do not shallow the original exception in `exec_cache` on PostgreSQL adapter.
4
13
 
@@ -339,6 +339,8 @@ module ActiveRecord
339
339
  end
340
340
 
341
341
  records.each do |record|
342
+ next if record.destroyed?
343
+
342
344
  saved = true
343
345
 
344
346
  if autosave != false && (@new_record_before_save || record.new_record?)
@@ -3,7 +3,7 @@ module ActiveRecord
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
5
  TINY = 14
6
- PRE = "rc1"
6
+ PRE = "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1650041971
4
+ hash: -3949349072
5
5
  prerelease: 7
6
6
  segments:
7
7
  - 3
8
8
  - 2
9
9
  - 14
10
10
  - rc
11
- - 1
12
- version: 3.2.14.rc1
11
+ - 2
12
+ version: 3.2.14.rc2
13
13
  platform: ruby
14
14
  authors:
15
15
  - David Heinemeier Hansson
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2013-07-12 00:00:00 -03:00
20
+ date: 2013-07-16 00:00:00 -03:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -26,14 +26,14 @@ dependencies:
26
26
  requirements:
27
27
  - - "="
28
28
  - !ruby/object:Gem::Version
29
- hash: 1650041971
29
+ hash: -3949349072
30
30
  segments:
31
31
  - 3
32
32
  - 2
33
33
  - 14
34
34
  - rc
35
- - 1
36
- version: 3.2.14.rc1
35
+ - 2
36
+ version: 3.2.14.rc2
37
37
  type: :runtime
38
38
  name: activesupport
39
39
  version_requirements: *id001
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "="
46
46
  - !ruby/object:Gem::Version
47
- hash: 1650041971
47
+ hash: -3949349072
48
48
  segments:
49
49
  - 3
50
50
  - 2
51
51
  - 14
52
52
  - rc
53
- - 1
54
- version: 3.2.14.rc1
53
+ - 2
54
+ version: 3.2.14.rc2
55
55
  type: :runtime
56
56
  name: activemodel
57
57
  version_requirements: *id002