johnsbrn-classy-inheritance 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -2
- data/lib/classy-inheritance.rb +0 -1
- metadata +1 -1
data/History.txt
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
+
== 0.6.7 2009-02-01
|
2
|
+
* Forgot to remove some debugging code -johnsbrn
|
1
3
|
== 0.6.6 2009-02-01
|
2
|
-
* More comprehensive fix for has_one bug
|
4
|
+
* More comprehensive fix for has_one bug - johnsbrn
|
3
5
|
== 0.6.5 2009-02-01
|
4
|
-
* Add fix for has_one primary key bug - http://rails.lighthouseapp.com/projects/8994/tickets/1756-has_one-with-foreign_key-primary_key-bug
|
6
|
+
* Add fix for has_one primary key bug - http://rails.lighthouseapp.com/projects/8994/tickets/1756-has_one-with-foreign_key-primary_key-bug - johnsbrn
|
5
7
|
== 0.6.4 2009-02-01
|
6
8
|
* Updated deprecated default error messages - johnsbrn
|
7
9
|
* Added has_dependency for non-polymorphic has_one - johnsbrn
|
data/lib/classy-inheritance.rb
CHANGED
@@ -24,7 +24,6 @@ module ActiveRecord
|
|
24
24
|
if replace_existing
|
25
25
|
replace(record, true)
|
26
26
|
else
|
27
|
-
puts "test"
|
28
27
|
record[@reflection.primary_key_name] = @reflection.options.has_key?(:primary_key) ? @owner.send(@reflection.options[:primary_key]) : @owner.id unless @owner.new_record?
|
29
28
|
self.target = record
|
30
29
|
end
|