I've been teaching myself Ruby on Rails while trying to build a new
website I want to launch in the next few weeks. I've gotten pretty
far, but I've hit a wall this week and I can't seem to get around it.
I've been trying to implement a friends feature, allowing people to
add, edit and delete friends as they see fit. I've been following the
example set in the book "Practical Rails, Social Networking Sites" by
Alan Bradburne, and it's been a big help, but since the particulars of
my application are different, I've had to do some adjusting of the
code to make it fit.
Right now, I have no problem logging in as one user, and viewing other
users' profiles. From there, I can tag a user as a "friend". I can go
to my friends list, and choose to edit their information, which is
basically their XFN info. However, when I click on "Edit Friendship",
I get the above error, ActionController::RoutingError. I just can't
seem to get around it. This is the full error I'm receiving: