In AppController, params[:id] is string.  Using friendly_id