Slide 28
Slide 28 text
Rails 4 - Parameter Control
Attributes require permitted key to be mass assigned
and this distinction lives in the controller
params.require(:hash_key).permit(:a, :bunch, :of, :keys)
params.permit(:foo, {:bar => []})
Monday, June 3, 13