i think the :id needs to be different for cards and decks. 
eg /decks/:deck_id/cards/:card_id ==> params[:user_id], params[:card_id]

otherwise params[:id] cannot represent different numbers (2nd deck, 4th card)