RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: Walid-Shouman
in the painting controller use the following:
def painting_params params.require(:painting).permit(:image) end
in the painting controller use the following: