- 07 3月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 06 3月, 2012 1 次提交
-
-
由 Vijay Dev 提交于
-
- 03 3月, 2012 3 次提交
-
-
由 Guillermo Iguaran 提交于
-
由 Carlos Antonio da Silva 提交于
Also add test to ensure basic model does not explode when initialized with nil.
-
由 Guillermo Iguaran 提交于
-
- 23 2月, 2012 1 次提交
-
-
由 David Lee 提交于
PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update.
-
- 22 2月, 2012 2 次提交
-
-
由 Benjamin Quorning 提交于
-
由 Aaron Patterson 提交于
-
- 20 2月, 2012 1 次提交
-
-
由 Bogdan Gusiev 提交于
-
- 15 2月, 2012 1 次提交
-
-
由 Fabio Yamate 提交于
There is an example in Rails documentation that suggests implementing assign_attributes method for ActiveModel interface, that by default sends option role with nil. Since mass_assignment_authorizer never is called without args, we can move the default value internally.
-
- 14 2月, 2012 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 13 2月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 12 2月, 2012 2 次提交
-
-
由 Derek Hammer 提交于
-
由 Derek Hammer 提交于
Serialization uses only the attributes hash's keys and calls methods that are of the same name as the keys on the serialized object.
-
- 08 2月, 2012 2 次提交
-
-
由 José Valim 提交于
-
由 prasath 提交于
-
- 06 2月, 2012 1 次提交
-
-
由 Niels Ganser 提交于
Allow infinite values for validates_length_of. Particularly useful for prettily defining an open ended range such as validates_length_of :human_stupidity, :within => 0..Float::INFINITY
-
- 03 2月, 2012 1 次提交
-
-
由 Bogdan Gusiev 提交于
-
- 02 2月, 2012 1 次提交
-
-
由 Vijay Dev 提交于
-
- 01 2月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 27 1月, 2012 1 次提交
-
-
由 Aaron Beckerman 提交于
-
- 25 1月, 2012 2 次提交
-
-
由 Jonathan del Strother 提交于
-
由 Manoj 提交于
message quote fix
-
- 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 提交于
-
- 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 1 次提交
-
-
由 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 5 次提交
-
-
由 Aaron Patterson 提交于
-
由 Alan Harper 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-