Friday, April 27, 2012

Re: [Rails] Re: Re: Re: ArgumentError: Bad fixture argument 2 ...

Ruby on Rails Friday, April 27, 2012

On 27 April 2012 10:36, Amir Z. <lists@ruby-forum.com> wrote:
>> yml is very strict about formatting.  You need spaces at the front of
>> nested lines, so
>> valid_user:
>>   id: 1
>>   screen_name: foobar
>>   email: foobar@gmail.com
>>   password: foobar
>>   remember_me:
>>   authorization_token: 1
>>
>> Note the spaces at the front of each line.  Make sure there are no
>> tabs in the file.
>
> I am sure there is no tab in yml file. There is only single space
> between attribute and value.

Have you got the spaces at the front of the nested lines?

Copy and paste the file here.

Colin

>
> Amir
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> 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 rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
>

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 comments:

Post a Comment