ozsantana-has_many_select 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 0.0.3 2008-08-04
2
+
3
+ * remove quote_value
4
+
1
5
  == 0.0.2 2008-08-04
2
6
 
3
7
  * Insert with primary_key
@@ -7,7 +7,7 @@ module ActiveRecord
7
7
  record["#{@reflection.options[:as]}_id"] = @owner.id unless @owner.new_record?
8
8
  record["#{@reflection.options[:as]}_type"] = @owner.class.base_class.name.to_s
9
9
  elsif @reflection.options[:primary_key]
10
- record[@reflection.primary_key_name] = owner_quoted_id unless @owner.new_record?
10
+ record[@reflection.primary_key_name] = @owner.send(@reflection.options[:primary_key]) unless @owner.new_record?
11
11
  else
12
12
  record[@reflection.primary_key_name] = @owner.id unless @owner.new_record?
13
13
  end
@@ -2,7 +2,7 @@ module HasManySelect
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ozsantana-has_many_select
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Oz\xC3\xA9ias Sant'ana"