Skip to content

Can't mass-assign protected attributes: captcha, captcha_key #49

@ghost

Description

ruby 1.9.3, rails 3.2.19

Error

Can't mass-assign protected attributes: captcha, captcha_key

To fix this have added attr_accessible into User model.

attr_accessible :captcha, :captcha_key

And now its allowing me to register with wrong captcha as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions