Open sgrif opened 11 years ago
That's intentional and by design.
On Jun 12, 2013, at 21:07, sgrif notifications@github.com wrote:
Given the following:
create_table :users do |t| t.string :ethnicity, array: true end I can not pass parameters using params.require(:user).permit(:ethnicity). I instead need to do params.require(:user).permit(ethnicity: [])
— Reply to this email directly or view it on GitHub.
Can this be closed please?
Given the following:
I can not pass parameters using
params.require(:user).permit(:ethnicity)
. I instead need to doparams.require(:user).permit(ethnicity: [])