dovadi-has_attributes_from 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.1.6 2009-08-24
2
+
3
+ * Now correct relation between child and child_detail in Example
4
+
1
5
  === 0.1.4 2009-08-24
2
6
 
3
7
  * Created a log folder, to prevent a failing build of the gem on Github
data/README.textile CHANGED
@@ -14,12 +14,12 @@ h2. Example:
14
14
  create_table "child_details", :force => true do |t|
15
15
  t.string "nickname"
16
16
  t.string "allergy"
17
- t.integer "client_id"
17
+ t.integer "child_id" :belongs_to :child
18
18
  end
19
19
 
20
20
  create_table "caretaker_details", :force => true do |t|
21
21
  t.string "relation"
22
- t.integer "caretaker_id"
22
+ t.integer "caretaker_id" #belongs_to :caretaker
23
23
  end
24
24
 
25
25
  create_table "people", :force => true do |t|
@@ -15,7 +15,7 @@ task :default => ['test:has_attributes_from']
15
15
  namespace :has_attributes_from do
16
16
  gem_spec = Gem::Specification.new do |gem_spec|
17
17
  gem_spec.name = "has_attributes_from"
18
- gem_spec.version = "0.1.5"
18
+ gem_spec.version = "0.1.6"
19
19
  gem_spec.summary = "Merge the attributes from another ActiveRecord class to an individual STI subclass."
20
20
  gem_spec.email = "frank.oxener@dovadi.com"
21
21
  gem_spec.homepage = "http://github.com/dovadi/has_attributes_from"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dovadi-has_attributes_from
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Oxener