Displaying 1 result from an estimated 1 matches for "reyear".
Did you mean:
r_year
2005 Dec 12
2
Using a lib in YAML fixtures
...ssion
matching. I want to keep the expression in a binary field in my db.
I figured that then in order to do the fixtures, I''d need to do some
erb in the yaml file. So I came up with this:
onetime:
id: 1
name: One Time
description: This event occurs only one time.
timex: <%= REYear.new(7) & REMonth.new(24) & REDay.new(3, 0, 17, 0) %>
If I try to load in the fixture, I get the following error:
1) Error:
test_create(EventTest):
Fixture::FormatError: a YAML error occured parsing
/Users/pergesu/work/mesafire/config/../test/fixtures/events.yml.
Please note that YAML...