Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block Abhishek-Ravichandran

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View edit_update.rb
# in movies_controller.rb
def edit
@movie = Movie.find params[:id]
def update
@movie = Movie.find params[:id]
permitted = params[:movie].permit(:title, :rating, :description, :release_date)
You can’t perform that action at this time.