Hi Fred, Yup - quotes did the trick! In hindsight that makes perfect sense, but it would have taken me a long time to figure it out on my own.
Much thanks! -Chris W On Thu, Jun 4, 2009 at 3:42 AM, Frederick Cheung<[email protected]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---

