Skip to content
This repository was archived by the owner on Jul 13, 2023. It is now read-only.
This repository was archived by the owner on Jul 13, 2023. It is now read-only.

Attr accessible in rails 4 #1368

Description

@devmug

Quick Start

In your model:

class User < ActiveRecord::Base
attr_accessible :avatar

Could you please put a note for rails 4 users not to add attr accessible .. causes a
undefined method `flush_errors' for #<ActionDispatch::Http::UploadedFile
and it took me a good 2 hours to work out what was happening.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions