- 16 6月, 2010 3 次提交
-
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
- 15 6月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
-
- 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 3 次提交
-
-
由 Evgeniy Dolzhenko 提交于
-
由 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 提交于
-
- 03 6月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
-
- 01 6月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
-
- 18 5月, 2010 1 次提交
-
-
由 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>
-
- 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 2 次提交
-
-
由 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 1 次提交
-
-
由 Josh Kalderimis 提交于
-
- 05 5月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Jatinder Singh 提交于
[#4515 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 03 5月, 2010 1 次提交
-
-
由 Lawrence Pit 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 01 5月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 29 4月, 2010 2 次提交
-
-
由 José Valim 提交于
Move several configuration values from Hash to ActiveSupport::XmlMini, which both Hash and Array depends on. Also, refactored ActiveModel serializers to just use ActiveSupport::XmlMini.to_tag. As consequence, if a serialized attribute is an array or a hash, it's not encoded as yaml, but as a hash or array.
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 25 4月, 2010 1 次提交
-
-
由 reu 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-