Message from discussion
ArgumentError: Bad fixture argument 2 during creation of User fixture
Received: by 10.236.201.229 with SMTP id b65mr1733971yho.9.1335446990396;
Thu, 26 Apr 2012 06:29:50 -0700 (PDT)
X-BeenThere: rubyonrails-talk@googlegroups.com
Received: by 10.236.84.232 with SMTP id s68ls1329322yhe.5.gmail; Thu, 26 Apr
2012 06:29:20 -0700 (PDT)
Received: by 10.236.76.133 with SMTP id b5mr8394030yhe.0.1335446960617;
Thu, 26 Apr 2012 06:29:20 -0700 (PDT)
Received: by 10.236.76.133 with SMTP id b5mr8394028yhe.0.1335446960599;
Thu, 26 Apr 2012 06:29:20 -0700 (PDT)
Return-Path: <clan...@googlemail.com>
Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182])
by gmr-mx.google.com with ESMTPS id b69si3112184yhe.0.2012.04.26.06.29.20
(version=TLSv1/SSLv3 cipher=OTHER);
Thu, 26 Apr 2012 06:29:20 -0700 (PDT)
Received-SPF: pass (google.com: domain of clan...@googlemail.com designates 209.85.160.182 as permitted sender) client-ip=209.85.160.182;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of clan...@googlemail.com designates 209.85.160.182 as permitted sender) smtp.mail=clan...@googlemail.com; dkim=pass header...@googlemail.com
Received: by ghrr20 with SMTP id r20so984300ghr.41
for <rubyonrails-talk@googlegroups.com>; Thu, 26 Apr 2012 06:29:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlemail.com; s=20120113;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:content-type:content-transfer-encoding;
bh=02wIlB7KxcD9vts1ct5LT9tx9lYEAfvKM84zB+NqR/w=;
b=yqSDH0KNUNMP7pEWkildV7yjR7gwS9SGhX+e179qWftNDiy/GMi4ui5kdZPa0Qzov4
50hz6pZ8VamfDnBKmuuwzK1A3VxfkLR7yF9cN8y5fM75eMHnSR9J+l/XC1vvUqnGz5wW
+q8SPbCkkGete/Lhs+E4tN/VbtBFpDxCDLeVPL3GU0vAWiTUO6jtf3cCiddRFBKmnFAw
AaOREmDWlIKF/29hulf7VUexmKuKhr3c00vPCLagwdeebceyrZhm4sJiGj06nG3m9dGS
ACh1DYYU8cIj1GDdTELJPo2POzo1VBuenp6Dpr4ASXeK5MNWP/4Fx+w8e7SjEKSyG8kG
AMeQ==
Received: by 10.60.4.1 with SMTP id g1mr8484579oeg.55.1335446960395; Thu, 26
Apr 2012 06:29:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.165.105 with HTTP; Thu, 26 Apr 2012 06:28:50 -0700 (PDT)
In-Reply-To: <5050f4d337797f35f5bafe0756fe9...@ruby-forum.com>
References: <89fc2836ecb2763350b49ae8ecaae...@ruby-forum.com>
<3a3a73d5bae97d2a26602bcfe9460...@ruby-forum.com> <CAL=0gLvd2KppQpjM2OPw53=+cg3v5fTrnOdRANy3KdYcTHs...@mail.gmail.com>
<5050f4d337797f35f5bafe0756fe9...@ruby-forum.com>
From: Colin Law <clan...@googlemail.com>
Date: Thu, 26 Apr 2012 14:28:50 +0100
Message-ID: <CAL=0gLsCbJOQ8n7D2QxkXV5rB5Ua9zPW1bMAukzBL9uUTQx...@mail.gmail.com>
Subject: Re: [Rails] Re: Re: ArgumentError: Bad fixture argument 2 during
creation of User fixture
To: rubyonrails-talk@googlegroups.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On 26 April 2012 14:13, Amir Z. <li...@ruby-forum.com> wrote:
>> What about the spaces at the front of the lines? =C2=A0Though looking at
>> the error I do not think this is the problem.
>
> what kind of spaces you are talking about?
From my previous email:
yml is very strict about formatting. You need spaces at the front of
nested lines, so
valid_user:
id: 1
screen_name: foobar
email: foo...@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.
Colin