Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Brett Huber13,479 Points
Code Challenge: Creating the pofiles controller task 1
I'm stuck on the first part of this task.. the goal is to:
As part of this test, add a get to the show page with the id parameter set to the profile name of the fixture for 'mikethefrog'.
I have tried:
test "should get show" do get :show, :id users(:mikethefrog).profile_name end
test "should get show" do get :show, :id "mikethefrog" end
and countless other things and it still will not let me pass. I have ran out of ideas.
Anyone have any sugestions?
hlias kantzos19,191 Points
test "should get show" do get :show, id : <-- users(:mikethefrog).profile_name end