aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/customers.yml
diff options
context:
space:
mode:
authorRob Anderton <rob.anderton@thewebfellas.com>2008-08-18 19:13:01 +0100
committerMichael Koziarski <michael@koziarski.com>2008-09-10 18:28:47 +0200
commit2cee51d5c1d143f6fe0096ba6cbd1db1ecbe2d90 (patch)
tree69385e859aef550418365d4553bebe5a4af5cb77 /activerecord/test/fixtures/customers.yml
parent7c9851dbb6f841ffbf3ebd16e9f57c04319d3a39 (diff)
downloadrails-2cee51d5c1d143f6fe0096ba6cbd1db1ecbe2d90.tar.gz
rails-2cee51d5c1d143f6fe0096ba6cbd1db1ecbe2d90.tar.bz2
rails-2cee51d5c1d143f6fe0096ba6cbd1db1ecbe2d90.zip
Added :constructor and :converter options to composed_of and deprecated the conversion block
Signed-off-by: Michael Koziarski <michael@koziarski.com>
Diffstat (limited to 'activerecord/test/fixtures/customers.yml')
-rw-r--r--activerecord/test/fixtures/customers.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/customers.yml b/activerecord/test/fixtures/customers.yml
index f802aac5ea..0399ff83b9 100644
--- a/activerecord/test/fixtures/customers.yml
+++ b/activerecord/test/fixtures/customers.yml
@@ -6,7 +6,7 @@ david:
address_city: Scary Town
address_country: Loony Land
gps_location: 35.544623640962634x-105.9309951055148
-
+
zaphod:
id: 2
name: Zaphod
@@ -14,4 +14,13 @@ zaphod:
address_street: Avenue Road
address_city: Hamlet Town
address_country: Nation Land
+ gps_location: NULL
+
+barney:
+ id: 3
+ name: Barney Gumble
+ balance: 1
+ address_street: Quiet Road
+ address_city: Peaceful Town
+ address_country: Tranquil Land
gps_location: NULL \ No newline at end of file