Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #5391 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

[PATCH] allow attr_accessible and attr_protected in one model

Reported by: iktorn@gmail.com Assigned to: David
Priority: low Milestone:
Component: ActiveRecord Version:
Severity: minor Keywords: tiny
Cc:

Description

I noticed that if you include

  attr_protected :some_thing
  attr_accessible :some_other_thing

in one model class there is an error.

Simple patch attached so attr_protected is used than...

Attachments

allow_attr_accessible_and_attr_protected.diff (0.9 kB) - added by iktorn@gmail.com on 06/14/06 10:20:47.
PATCH

Change History

06/14/06 10:20:47 changed by iktorn@gmail.com

  • attachment allow_attr_accessible_and_attr_protected.diff added.

PATCH

06/14/06 10:21:57 changed by anonymous

  • priority changed from normal to low.
  • severity changed from normal to minor.

06/04/07 04:46:53 changed by josh

  • status changed from new to closed.
  • resolution set to fixed.