1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/lib/active_model
Tsutomu Kuroda ad31549ab3 Override attributes_protected_by_default when has_secure_password is called.
attr_protected should not be called, because it nullifies the
mass assignment protection that has been set by attr_accessible.

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-02-09 18:35:15 -02:00
..
locale Remove weak_passwords list and the length/strong password validator, leave that up to the programmer 2010-12-19 15:01:29 -02:00
mass_assignment_security Add missing require to use Set 2010-07-11 02:55:47 -03:00
serializers Take into account current time zone when serializing datetime values [#6096 state:resolved] 2010-12-09 09:01:49 +01:00
validations Optionally pass in the attribute being validated to an instance method validator 2011-02-05 16:44:35 -08:00
attribute_methods.rb module_eval is not needed here 2011-02-03 20:47:02 -02:00
callbacks.rb Use run_callbacks; the generated _run_<name>_callbacks method is not a public interface. 2011-01-31 19:45:53 -02:00
conversion.rb to_key should return all exists keys (if any exists), regardless if the object is persisted or not. If you need it to reflect persistance, you should use to_param. 2010-08-15 11:29:15 -03:00
dirty.rb Remove require AS::Concern from places where is already in 2010-12-19 19:15:26 -02:00
errors.rb implementing include? on AM::Errors 2011-02-09 09:19:56 -08:00
lint.rb Move ActiveModel::Lint::Tests documentation to be above module declaration so it appears in the API docs for this module. 2010-12-09 18:16:18 +10:00
mass_assignment_security.rb Properly indent code example block 2011-01-15 17:54:02 +01:00
naming.rb Added missing AS require to active_model/naming.rb 2010-10-30 00:20:31 +08:00
observing.rb Remove reference to ActiveRecord from ActiveModel comments 2011-01-15 03:10:10 +03:00
railtie.rb Some railties cleanup: 2009-12-31 13:12:52 -08:00
secure_password.rb Override attributes_protected_by_default when has_secure_password is called. 2011-02-09 18:35:15 -02:00
serialization.rb Fixed broken, memoized attributes method example 2011-02-07 14:44:37 -02:00
test_case.rb Autoload AS test case 2010-01-04 16:22:46 -06:00
translation.rb default could be a symbol here so attribute.to_s.humanize should be the final option 2010-12-05 12:57:45 -02:00
validations.rb Use map + flatten here 2011-02-07 19:15:06 -02:00
validator.rb Tiny fixes to rdoc 2010-09-16 17:10:36 +04:00
version.rb Update the version.rb files to include a PRE part 2010-11-16 17:19:46 -08:00