Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Minor formatting fix #1840

Merged
merged 1 commit into from

2 participants

@wildchild

No description provided.

@spastorino spastorino merged commit 7ca1a3d into from
@jake3030 jake3030 referenced this pull request from a commit in jake3030/rails
@ffmike ffmike Update scaffolding [#1840 state:committed]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
44f02de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 23, 2011
  1. @wildchild

    Minor formating fix

    wildchild authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 activemodel/lib/active_model/mass_assignment_security.rb
View
4 activemodel/lib/active_model/mass_assignment_security.rb
@@ -111,7 +111,7 @@ def attr_protected(*args)
options = args.extract_options!
role = options[:as] || :default
- self._protected_attributes = protected_attributes_configs.dup
+ self._protected_attributes = protected_attributes_configs.dup
Array.wrap(role).each do |name|
self._protected_attributes[name] = self.protected_attributes(name) + args
@@ -173,7 +173,7 @@ def attr_accessible(*args)
options = args.extract_options!
role = options[:as] || :default
- self._accessible_attributes = accessible_attributes_configs.dup
+ self._accessible_attributes = accessible_attributes_configs.dup
Array.wrap(role).each do |name|
self._accessible_attributes[name] = self.accessible_attributes(name) + args
Something went wrong with that request. Please try again.