aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-08-01 11:46:40 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-08-01 11:54:13 -0300
commit0f6865eb0b6a258d4a77d2182d2bd2d170fa280a (patch)
tree16c6bee4afa750316d0fe7c42469460c26480b0c /activerecord/lib/active_record/validations
parent08a6b5753ed65244c793bab455c26454ab1a1dc5 (diff)
downloadrails-0f6865eb0b6a258d4a77d2182d2bd2d170fa280a.tar.gz
rails-0f6865eb0b6a258d4a77d2182d2bd2d170fa280a.tar.bz2
rails-0f6865eb0b6a258d4a77d2182d2bd2d170fa280a.zip
Refactor dependency check validation
Move the logic for validation check to the same method, and cache dependent option in a variable to reuse inside the dependency configuration methods instead of relying on the options hash.
Diffstat (limited to 'activerecord/lib/active_record/validations')
0 files changed, 0 insertions, 0 deletions