- 16 2月, 2017 1 次提交
-
-
由 Sen Zhang 提交于
-
- 27 10月, 2016 1 次提交
-
-
由 bogdanvlviv 提交于
Mainly around `nil` [ci skip]
-
- 25 10月, 2016 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 22 6月, 2015 1 次提交
-
-
由 Roque Pinel 提交于
Closes #11209 [Roque Pinel & Steven Yang]
-
- 06 8月, 2014 1 次提交
-
-
由 Justin Weiss 提交于
The documentation on `:on` for validations was inconsistent, and most only referenced the `:create` and `:update` contexts. I fixed those to be consistent with the documentation on `AM::Validations.validates`, which seemed to have the best docs. [ci skip]
-
- 04 4月, 2014 1 次提交
-
-
由 Steve Agalloco 提交于
-
- 27 2月, 2014 1 次提交
-
-
由 Eric Hutzelman 提交于
Now that Validator #setup is called from the initializer, we need a reference to the model's class to be passed in to allow the validators to continue functioning when used at the instance level. Closes #14134.
-
- 23 5月, 2013 1 次提交
-
-
由 Nick Sutterer 提交于
deprecate Validator#setup (to get rid of a respond_to call). validators do their setup in their constructor now.
-
- 26 10月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 30 7月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 27 6月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
There's no need to create two extra hashes with options.merge(another_hash), with the goal of setting only one value, so lets just set it. Also refactor validates_each to use _merge_attributes, like other validates_* helpers do.
-
- 26 6月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 16 5月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 26 4月, 2012 1 次提交
-
-
由 Oscar Del Ben 提交于
-
- 27 11月, 2011 1 次提交
-
-
由 Alexey Vakhov 提交于
-
- 11 10月, 2011 1 次提交
-
-
由 Evgeniy Dolzhenko 提交于
-
- 17 8月, 2011 1 次提交
-
-
由 Bogdan Gusiev 提交于
In order to deliver debug information to dev team instead of display error message to end user Implemented strict validation concept that suppose to define validation that always raise exception when fails
-
- 25 7月, 2011 1 次提交
-
-
由 Ben Marini 提交于
-
- 07 3月, 2011 1 次提交
-
-
由 Paco Guzman 提交于
-
- 06 2月, 2011 2 次提交
-
-
由 Carl Lerche 提交于
-
由 Carl Lerche 提交于
-
- 21 6月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 16 6月, 2010 1 次提交
-
-
由 Rizwan Reza 提交于
-
- 14 5月, 2010 2 次提交
-
-
由 Josh Kalderimis 提交于
-
由 Josh Kalderimis 提交于
-
- 21 2月, 2010 1 次提交
-
-
由 Prem Sichanugrist 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 08 1月, 2010 1 次提交
-
-
由 jamie 提交于
class Person < ActiveRecord::Base include MyValidators validates :name, :presence => true, :uniqueness => true, :length => { :maximum => 100 } validates :email, :presence => true, :email => true end [#3058 status:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 23 12月, 2009 3 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
Move validations in ActiveModel to validators, however all validatity checks are still in the class method.
-
由 José Valim 提交于
Validator is simply sent to validate method. However, the API needs to change, so validate accepts a record.
-
- 08 9月, 2009 1 次提交
-
-
由 José Valim 提交于
Changed ActiveRecord to use new callbacks and speed up observers by only notifying events that are actually being consumed. Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
- 10 8月, 2009 1 次提交
-
-
由 Jeff Dean 提交于
[#2630 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-