On 14 March 2013 16:26, Dmitrij B. <[email protected]> wrote:
> ...
> ActiveRecord::Fixture::FormatError: a YAML error occurred parsing
> /home/dima/RubyOnRails/Projects/depot/test/fixtures/products.yml. Please
> note that YAML must be consistently indented using spaces. Tabs are not
> allowed. The exact error was:
>   Psych::SyntaxError: (<unknown>): did not find expected key while
> parsing a block mapping at line 3 column 1
>
> I dont undestand what they mean?
>
> Its my product.yml:
>
> one:
>    title: MyString
>   description: MyText

The clue is in the error message, which says there is a problem with
line above and says that yaml must be consistently indented using
spaces.  It looks from your pasted text that line three two has three
spaces and line three has two, so the spacing is not consistent.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to