diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-06-19 00:36:30 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-06-19 21:01:27 -0300 |
commit | 60ffe41980f3989637bdf537341288288aa9cc39 (patch) | |
tree | 2baf95fdcd21a9b2e551ef73cc3f12687588d07e /activemodel | |
parent | 1f98493e4a3c53e53666ff740860b20dcd6d08ec (diff) | |
download | rails-60ffe41980f3989637bdf537341288288aa9cc39.tar.gz rails-60ffe41980f3989637bdf537341288288aa9cc39.tar.bz2 rails-60ffe41980f3989637bdf537341288288aa9cc39.zip |
Extract conditional to a method to avoid duplication
Also use if/else block to not use short circuit return
Diffstat (limited to 'activemodel')
0 files changed, 0 insertions, 0 deletions