Re: [Rails] Re: ArgumentError: Bad fixture argument 2 during creation of User fixture

2012-04-26 Thread Colin Law
On 26 April 2012 14:04, Amir Z. wrote: Please quote the previous message when replying. To someone reading this message it means nothing so they have to go and find the previous email to work out what you are talking about. > I removed the remember_me from fixture file but still have the same >

[Rails] Re: ArgumentError: Bad fixture argument 2 during creation of User fixture

2012-04-26 Thread Amir Z.
I removed the remember_me from fixture file but still have the same problem. -- 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.c

[Rails] Re: ArgumentError: Bad fixture argument 2 during creation of User fixture

2012-04-26 Thread Amir Z.
what is in fixture.rb def initialize(fixture, class_name) case fixture when Hash, YAML::Omap @fixture = fixture when String @fixture = read_fixture_file(fixture) else raise ArgumentError, "Bad fixture argument #{fixture.inspect} "Line no 770" during

[Rails] Re: ArgumentError: Bad fixture argument 2 during creation of User fixture

2012-04-26 Thread Amir Z.
testing result b/active_record/fixtures.rb:676:in `read_fixture_files' C:/Users/Amir/Downloads/IR/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/li b/active_record/fixtures.rb:549:in `initialize' C:/Users/Amir/Downloads/IR/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/li b/active_record

[Rails] Re: ArgumentError: Bad fixture argument 2 during creation of User fixture

2012-04-25 Thread Amir Z.
Hey Colin ! I am happy to see you here and I am sure you are going to help me out this time also :). I am trying to check where is the mistake. Lets come back to you after getting error :). -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to th

[Rails] Re: ArgumentError: Bad fixture argument 2 during creation of User fixture

2012-04-25 Thread Amir Z.
Hey Colin ! I am happy to see you here and I am sure you are going to help me out this time also :) I am trying to check where is the mistake. Let come back to you after getting error :) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the

Re: [Rails] Re: ArgumentError: Bad fixture argument 2 during creation of User fixture

2012-04-25 Thread Colin Law
On 25 April 2012 11:22, Amir Z. wrote: > Some time before my test was working fine. Now getting errors in all > test > 12test assertion 0 : failure 0; error 12 > Please help me out. I want to git rid of this problem. Assuming that you are using a version control system (git for example) then roll

[Rails] Re: ArgumentError: Bad fixture argument 2 during creation of User fixture

2012-04-25 Thread Amir Z.
Some time before my test was working fine. Now getting errors in all test 12test assertion 0 : failure 0; error 12 Please help me out. I want to git rid of this problem. Thanks in advance Amir -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to