Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Roland van Paridon
1,204 PointsStuck in Creating Friendships
I'm not sure if this forum is for helping out people who are stuck within courses. I will just give it a try since I'm not getting any further on my track.
In the ROR track Creating Friendships I'm stuck with a couple of errors I can't seem to solve.
If someone give me a tip on where the problem lies it would be of great help. Here are some example's of error messages: ruby -I test test/unit/user_test.rb
1) Error: test: User should have many friends. (UserTest): ActiveRecord::Fixture::FormatError: ActiveRecord::Fixture::FormatError
2) Error: test: User should have many user_friendships. (UserTest): ActiveRecord::Fixture::FormatError: ActiveRecord::Fixture::FormatError
3) Error: test_a_user_should_enter_a_first_name(UserTest): ActiveRecord::Fixture::FormatError: ActiveRecord::Fixture::FormatError
and it goes on to 8:
8) Error: test_user_can_have_a_correctly_formatted_profile_name(UserTest): ActiveRecord::Fixture::FormatError: ActiveRecord::Fixture::FormatError
4 Answers

Roland van Paridon
1,204 PointsIs there a better place to ask these kind of questions?

Roland van Paridon
1,204 PointsKeep getting fixtures errors in my code unfortunately. Is there anyone who know how to fix the fixture errors?

Taige Zhang
1,068 PointsI have the same error.
ActiveRecord::Fixture::FormatError: ActiveRecord::Fixture::FormatError

Taige Zhang
1,068 PointsI think it's because you need to use spaces instead of tabs in the statuses.yml file. I corrected the statuses.yml and it's working now!
Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
one: content: MyText user: jason
two: content: MyText user: jason
3 tests, 4 assertions, 0 failures, 0 errors, 0 skips
Pro Tip: I figured out you can download the project files and look for discrepancies there to see if you missed anything.