- 14 6月, 2010 9 次提交
-
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
- 11 6月, 2010 2 次提交
-
-
由 Pavel Gorbokon 提交于
-
由 José Valim 提交于
If you are setting a hash or an array in class_attribute or you need to freeze it, to ensure people won't modify it in place or you need to dup it on inheritance.
-
- 10 6月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
[#4804 state:resolved] Signed-off-by: NDavid Heinemeier Hansson <david@loudthinking.com>
-
- 09 6月, 2010 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 08 6月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 07 6月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 06 6月, 2010 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 03 6月, 2010 3 次提交
-
-
由 Xavier Noria 提交于
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 01 6月, 2010 2 次提交
-
-
由 Xavier Noria 提交于
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 31 5月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 19 5月, 2010 2 次提交
-
-
由 Anil Wadghule 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Neeraj Singh 提交于
[#4645 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 18 5月, 2010 2 次提交
-
-
由 rohit 提交于
Fixed numericality validator in ActiveModel to reject hex numbers for floats completely [#4622 state:commited] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 rohit 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 17 5月, 2010 2 次提交
-
-
由 Jeremy Kemper 提交于
Valid hex strings aren't valid float column values, to match the integer restriction. [#4622 state:resolved]
-
由 Federico Brubacher 提交于
a cloned object no longer mimics changed flags from creator , plus a test case [#4614 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 16 5月, 2010 3 次提交
-
-
由 Santiago Pastorino 提交于
Make use of assert_equal to test equallity between object assert expects and object and a message of error [#4611 state:committed] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
Revert "Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options hash and make various Validators pass their (filtered) options." Having a huge array to whitelist options is not the proper way to handle this case. This means that the ActiveModel::Errors object should know about the options given in *all* validators and break the extensibility added by the validators itself. If the intent is to whitelist options before sending them to I18n, each validator should clean its respective options instead of throwing the responsibility to the Errors object. This reverts commit bc1c8d58.
-
由 Jeroen van Dijk 提交于
Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options hash and make various Validators pass their (filtered) options. This makes it possible to pass additional options through Validators to message generation. E.g. plugin authors want to add validates_presence_of :foo, :format => "some format". Also, cleanup the :default vs :message options confusion in ActiveModel validation message generation. Also, deprecate ActiveModel::Errors#add_on_blank(attributes, custom_message) in favor of ActiveModel::Errors#add_on_blank(attributes, options). Original patch by Sven Fuchs, some minor changes and has been changed to be applicable to master again [#4057 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 14 5月, 2010 2 次提交
-
-
由 Josh Kalderimis 提交于
-
由 Josh Kalderimis 提交于
-
- 13 5月, 2010 3 次提交
-
-
由 Santiago Pastorino 提交于
This reverts commit f7862b2c. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Santiago Pastorino 提交于
[#4529] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Santiago Pastorino 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 09 5月, 2010 4 次提交
-
-
由 Josh Kalderimis 提交于
-
由 Josh Kalderimis 提交于
-
由 Josh Kalderimis 提交于
removed use of AR in AMo tests and removed testing of scopes (:on) in individual validation tests and moved them to their own test file
-
由 Josh Kalderimis 提交于
-