Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Walid-Shouman's Profile

GitHub User: Walid-Shouman

Comments by

Avatar

in the painting controller use the following:

def painting_params
  params.require(:painting).permit(:image)
end