I'm creating test data for a Rails app. How do I define the value for a datetime field in YAML?
+1
A:
when rails generates fixture files it uses the following format in the yaml files
one:
something_at: 2010-02-11 11:02:57
something_on: 2010-02-11
house9
2010-04-16 21:34:16
+1
A:
Found the answer here:
model:
datetime_field: 2010-04-16 16:32:03 -5
Drew Johnson
2010-04-16 21:35:07