summaryrefslogtreecommitdiff
path: root/devel/ruby-activemodel31
AgeCommit message (Collapse)AuthorFilesLines
2011-12-16Importing devel/ruby-activemodel31 package version 3.1.3.taca4-0/+68
## Rails 3.1.1 (October 7, 2011) ## * Remove hard dependency on bcrypt-ruby to avoid make ActiveModel dependent on a binary library. You must add the gem explicitly to your Gemfile if you want use ActiveModel::SecurePassword: gem 'bcrypt-ruby', '~> 3.0.0' See GH #2687. *Guillermo Iguaran* ## Rails 3.1.0 (August 30, 2011) ## * Alternate I18n namespace lookup is no longer supported. Instead of "activerecord.models.admins.post", do "activerecord.models.admins/post" instead *José Valim* * attr_accessible and friends now accepts :as as option to specify a role *Josh Kalderimis* * Add support for proc or lambda as an option for InclusionValidator, ExclusionValidator, and FormatValidator *Prem Sichanugrist* You can now supply Proc, lambda, or anything that respond to #call in those validations, and it will be called with current record as an argument. That given proc or lambda must returns an object which respond to #include? for InclusionValidator and ExclusionValidator, and returns a regular expression object for FormatValidator. * Added ActiveModel::SecurePassword to encapsulate dead-simple password usage with BCrypt encryption and salting *DHH* * ActiveModel::AttributeMethods allows attributes to be defined on demand *Alexander Uvarov* * Add support for selectively enabling/disabling observers *Myron Marston*