removed to_i in favorites controller. working right now.