diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-24 17:52:11 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-24 17:52:22 -0700 |
commit | 98c7fe87690ca4de6c46e8f69806e82e3f8af42d (patch) | |
tree | f7b49029582af9f6b9e631989038131a30eab7ce /railties/lib/rails/generators/generated_attribute.rb | |
parent | 107c27bb2154bc754ae8b26453460466cd6312e4 (diff) | |
download | rails-98c7fe87690ca4de6c46e8f69806e82e3f8af42d.tar.gz rails-98c7fe87690ca4de6c46e8f69806e82e3f8af42d.tar.bz2 rails-98c7fe87690ca4de6c46e8f69806e82e3f8af42d.zip |
unwrap the constraints object on initialization, eliminate loops
Unwrap Constraints objects. I don't actually think it's possible
to pass a Constraints object to this constructor, but there were
multiple places that kept testing children of this object. I
*think* they were just being defensive, but I have no idea.
Diffstat (limited to 'railties/lib/rails/generators/generated_attribute.rb')
0 files changed, 0 insertions, 0 deletions