- 27 7月, 2010 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 22 7月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
-
- 21 7月, 2010 1 次提交
-
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 19 7月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
-
- 16 7月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
-
- 11 7月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 09 7月, 2010 4 次提交
-
-
由 José Valim 提交于
-
由 Łukasz Strzałkowski 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
Change documentation for ActiveModel::MassAssignmentSecurity a bit and make debug always be called since some people may overwrite warn! to add extra behavior even if logger is not available.
-
由 Josh Kalderimis 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 03 7月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 27 6月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
This removes ActiveModel dependency on TZInfo. [#4979 state:committed] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 26 6月, 2010 1 次提交
-
-
由 José Valim 提交于
This is required because the JSON gem is incompatible with Rails behavior and was not allowing ActiveModel::Errors to be serialized. So we need to ensure Rails implementation is the one triggered. [#4890 state:resolved]
-
- 23 6月, 2010 1 次提交
-
-
由 Josh Kalderimis 提交于
Regression with how base errors messages are added to a model. Works correctly for both string error messages and symbol translated messages. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 21 6月, 2010 2 次提交
-
-
由 José Valim 提交于
-
由 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). Also, refactoring of ActiveModel and ActiveRecord Validation tests. Test are a lot more DRY now. Better test coverage as well now. The first four points were reapplied from an older patch of Sven Fuchs which didn't apply cleanly anymore and was not complete yet. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 20 6月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 19 6月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
[#4653 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 16 6月, 2010 5 次提交
-
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Rizwan Reza 提交于
-
由 Bryan Woods 提交于
-
- 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 提交于
-