On Jun 4, 12:55 am, Chris <[email protected]> wrote: > However, when I try to rake I get this error when the fixtures are > loading: > NoMethodError: undefined method `key?' for [1, 3, 8, 2, 9, 10, 11, > {"7\nmanage_domains"=>"--- []"}]:Array > > I get the exact same error when I try to generate the string > explicitly: > admin_domains: <%= "--- \n- 1\n- 3\n- 8\n- 2\n- 9\n- 10\n- 11\n- 7" > %> > > I have no idea why it doesn't like my fixture and would really > appreciate any pointers on the matter. Thanks
You might want to stick quotes around that string to stop yaml parsing it Fred > > -Chris W --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

