activerecord 4.0.6.rc2 → 4.0.6.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: 3b0fa86f5043698ec7f2c9626e219c08fe74d522
4
- data.tar.gz: aaead311e97dcbc16d582002aca7283704252518
3
+ metadata.gz: ed4ba9e4bd7ee2b9bf4bedb346e7c92d97c377f5
4
+ data.tar.gz: e1ca23b7043fcc59d6a02095cbec2b96d63726e5
5
5
  SHA512:
6
- metadata.gz: 21900f60abb889b7ecc3b567b267577338b4274c56a7ad2c326ed3bd24927e55af2d3f8fdf52e96c63a59b93fd49eac57c6b93732ce12095d0e9068fa8b22744
7
- data.tar.gz: f534c623dbd30b572da79041cd2072257587cf770926d5124f7b1cf09af0a71561e93227758fbe99fc5622e7bab51e2fef7cede7836454eab63db4a2b5adc868
6
+ metadata.gz: e6e787fad5739b379b7e7124d550dabe8220b21a64cccc783e0f432d751f9e6d6d4fa1c85788254d2628c28c3f910416717621fa48585bf52341f56abaf8063f
7
+ data.tar.gz: 11f882d9f3d72ebf334e9d5acfc8551e5bde2e689ddfbb7fc8f21451b70e949e2722e5e7026658dba7b8f53036cc957e3f570c20603c0292e77f1b889eb92596
@@ -1,4 +1,4 @@
1
- ## Rails 4.0.6 (June 16, 2014) ##
1
+ ## Rails 4.0.6 (June 23, 2014) ##
2
2
 
3
3
  * Fixed the inferred table name of a has_and_belongs_to_many auxiliar
4
4
  table inside a schema.
@@ -95,7 +95,9 @@ module ActiveRecord
95
95
  end
96
96
 
97
97
  def through_scope_attributes
98
- scope.where_values_hash(through_association.reflection.name.to_s).except!(through_association.reflection.foreign_key)
98
+ scope.where_values_hash(through_association.reflection.name.to_s).
99
+ except!(through_association.reflection.foreign_key,
100
+ through_association.reflection.klass.inheritance_column)
99
101
  end
100
102
 
101
103
  def save_through_record(record)
@@ -1,7 +1,7 @@
1
1
  module ActiveRecord
2
2
  # Returns the version of the currently loaded ActiveRecord as a Gem::Version
3
3
  def self.version
4
- Gem::Version.new "4.0.6.rc2"
4
+ Gem::Version.new "4.0.6.rc3"
5
5
  end
6
6
 
7
7
  module VERSION #:nodoc:
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.0.6.rc2
4
+ version: 4.0.6.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: 2014-06-16 00:00:00.000000000 Z
11
+ date: 2014-06-23 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.0.6.rc2
19
+ version: 4.0.6.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: 4.0.6.rc2
26
+ version: 4.0.6.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: 4.0.6.rc2
33
+ version: 4.0.6.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: 4.0.6.rc2
40
+ version: 4.0.6.rc3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: arel
43
43
  requirement: !ruby/object:Gem::Requirement