Answers for "actionview params"

0

actionview params

params.require(:log_entry).permit!    # permits all attributes under log_entry hash
params.permit!(:log_entry).permit(:title, :description)  # specify attributes under log_entry hash
Posted by: Guest on January-21-2020

Browse Popular Code Answers by Language