Ruby on Rails Discussions
Putting serialized data into fixture
rubyonrails-talk
Christopher_J_Botta1
(Christopher J. Bottaro)
September 6, 2007, 4:57pm
1
I haven't tried with yaml, but with xml, I do like this:
one: id: 1 board: !str '<%= my_xml %>'
Related topics
Topic
Replies
Views
Activity
generate serialized attribute in fixture
rubyonrails-talk
2
171
September 9, 2008
Exporting ActiveRecords as yaml
rubyonrails-talk
0
86
February 3, 2007
storing as YAML in the database
rubyonrails-talk
3
134
August 2, 2007
fixtures, how to set a serialized Hash object
rubyonrails-talk
1
260
July 26, 2008
Serializing - Deserializing a data structure in RoR
rubyonrails-talk
2
139
November 2, 2006