store_base_sti_class_for_3_0 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -54,7 +54,7 @@ When changing this behavior you will have write a migration to update all of you
54
54
 
55
55
  The gem has been originally extracted out of https://github.com/pkmiec/rails/tree/store_base_sti_class_for_3_0_4 patch. It allows the functionality to be used in applications that include Rails as a gem.
56
56
 
57
- Currently, it works with Rails ~= 3.0.5.
57
+ Currently, it works with Rails ~> 3.0.5.
58
58
 
59
59
  This gem will not work with Rails 3.1 as much of its ActiveRecord internals have been replaced with Arel. Similar but different changes need to be applied to Rails 3.1. Those changes will come.
60
60
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -452,7 +452,7 @@ module ActiveRecord
452
452
 
453
453
  [through_reflection, reflection].each do |ref|
454
454
  if ref && ref.options[:conditions]
455
- @join << interpolate_and_sanitize_sql(ref.options[:conditions], aliased_table_name)
455
+ @join << process_conditions(ref.options[:conditions], aliased_table_name)
456
456
  end
457
457
  end
458
458
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{store_base_sti_class_for_3_0}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Paul Kmiec"]
12
- s.date = %q{2011-04-18}
12
+ s.date = %q{2011-04-19}
13
13
  s.description = %q{
14
14
  ActiveRecord has always stored the base class in polymorphic _type columns when using STI. This can have non-trivial
15
15
  performance implications in certain cases. This gem adds 'store_base_sti_class' configuration options which controls
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: store_base_sti_class_for_3_0
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Paul Kmiec
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-18 00:00:00 -07:00
18
+ date: 2011-04-19 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency