- 25 1月, 2012 2 次提交
- 20 1月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 17 1月, 2012 5 次提交
-
-
由 dreamfall 提交于
-
由 dreamfall 提交于
-
由 Paweł Kondzior 提交于
-
由 Paweł Kondzior 提交于
Since ActiveModel::Errors instance keeps all error messages as hash we should duplicate this object as well. Previously ActiveModel::Errors was a subclass of ActiveSupport::OrderedHash, which results in different behavior on `dup`, this may result in regression for people relying on it.
-
由 Piotr Sarnacki 提交于
-
- 16 1月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 15 1月, 2012 1 次提交
-
-
由 Piotr Sarnacki 提交于
Without that patch when using ActiveModel::AttributeMethods in a class that does not respond to `attributes` method, stack level too deep error will be raised on non existing method. While documentation is clear that you need to define `attributes` method in order to use AttributeMethods module, `stack level too deep` is rather obscure and hard to debug, therefore we should try to not break `method_missing` if someone forgets about defining `attributes`.
-
- 07 1月, 2012 3 次提交
-
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
-
由 Karunakar (Ruby) 提交于
-
- 06 1月, 2012 4 次提交
-
-
由 Santiago Pastorino 提交于
Fixed failing tests This reverts commit 8350ce97.
-
由 Rafael Mendonça França 提交于
-
由 Aaron Patterson 提交于
This reverts commit 675094b2.
-
由 Santiago Pastorino 提交于
-
- 05 1月, 2012 6 次提交
-
-
由 Aaron Patterson 提交于
-
由 Alan Harper 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 03 1月, 2012 1 次提交
-
-
由 Steve Richert 提交于
Fix grammatical error in ActiveModel::MassAssignmentSecurity::PermissionSet#deny? NotImplementedError message
-
- 01 1月, 2012 1 次提交
-
-
由 Andrew Nesbitt 提交于
-
- 29 12月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
The problem: We need to be able to specify configuration in a way that can be inherited to models that include ActiveRecord::Model. So it is no longer sufficient to put 'top level' config on ActiveRecord::Base, but we do want configuration specified on ActiveRecord::Base and descendants to continue to work. So we need something like class_attribute that can be defined on a module but that is inherited when ActiveRecord::Model is included. The solution: added ActiveModel::Configuration module which provides a config_attribute macro. It's a bit specific hence I am not putting this in Active Support or making it a 'public API' at present.
-
- 25 12月, 2011 3 次提交
-
-
由 Vasiliy Ermolovich 提交于
-
由 Sergey Nartimov 提交于
-
由 Vasiliy Ermolovich 提交于
-
- 24 12月, 2011 2 次提交
-
-
由 Sergey Nartimov 提交于
-
由 Kristian Freeman 提交于
-
- 23 12月, 2011 1 次提交
-
-
由 Bogdan Gusiev 提交于
-
- 22 12月, 2011 2 次提交
-
-
由 Bogdan Gusiev 提交于
Problems with current example: * DOESN'T WORK ** attr_protected :last_login, :as => :admin # doesn't make it accessible for admin * Uses ActiveSupport Fixnum extension
-
由 Bogdan Gusiev 提交于
-
- 21 12月, 2011 5 次提交
-
-
由 Karunakar (Ruby) 提交于
-
由 Karunakar (Ruby) 提交于
-
由 Jakub Kuźma 提交于
-
由 Rahul P. Chaudhari 提交于
-
由 José Valim 提交于
-
- 20 12月, 2011 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-