GitHub User: rceee
After watching this Railscast and researching a bunch of other articles online, I figured out a way to do it with all of the upsides and none of the downsides–you get a pretty URL with both ID and name, parameterized, fully functional in controllers/views, without having to add a slug field to the database or anywhere else. Pretty efficient, I think. This is it if anyone is interested:
+1 to ember.js!
Outstanding overview of SASS. And thanks for the color wheel popup tip in TextMate; I didn't even know about that!
Great Railscast, though I felt Rails Composer was sorely missing; seems like it's becoming the de-facto solution for this kind of thing.
Is there a good way to prevent an user from adding (following) a friend more than once?
EDIT: This will do it:
current_user.friendships.where(:friend_id => user.id).where(:user_id => current_user.id).empty?
link_to "Add Friend", friendships_path(:friend_id => user.id), :method => :post
This is an outstanding episode! So concise and helpful.
Just one question... One small JQuery-related thing through me for a loop.
What is the  for? I have not seen that before.
Thank you so much. Basics for some, perhaps, but I such a solid and great explanation, this was very helpful.
Kudos for this!