params[:id] used in methods #read, #update, #destroy replaced with method #resource_params_id