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! While you're at it, check out some resources Treehouse students have shared here.
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
Andrew Bernard
23,262 PointsCode Challenge Finding and Building Models Part 2
I am having trouble passing the second part of this challenge. For one, I am getting an error that says "There was a problem connecting to the Code Challenge Engine." The first part passes with this message.
class UserFriendshipsController < ApplicationController
def new
if params[:friend_id]
@friend = User.find(params[:friend_id])
else
flash[:error] = "Friend required"
end
end
Thanks
2 Answers
Andrew Bernard
23,262 PointsI was silly and forgot an "end" in the code. Thank you for the quick help!!!!
Jason Seifer
Treehouse Guest TeacherSorry about that Andy Bernard we're looking in to code challenge engine issues. Also the information that @Brandon Barrette asked for would be super helpful.
Brandon Barrette
20,485 PointsBrandon Barrette
20,485 PointsWhat does the second part say? And what have you tried? Giving us that information will help us to help you =)