diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2015-10-29 13:41:24 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-10-29 13:43:23 -0600 |
commit | a59a4fbdb0e6ac27f53240524d803d7d5f933955 (patch) | |
tree | 73f6e3f71502871b88634038d2f7f39fa2fee68b /actionpack | |
parent | 38061a7becdcfb267a37bc200b846196bd32e2b1 (diff) | |
download | rails-a59a4fbdb0e6ac27f53240524d803d7d5f933955.tar.gz rails-a59a4fbdb0e6ac27f53240524d803d7d5f933955.tar.bz2 rails-a59a4fbdb0e6ac27f53240524d803d7d5f933955.zip |
Never pass `nil` to `order`
This is part of a refactoring to make it easier to allow `order` to use
sanitize like just about everything else on relation. The deleted test
doesn't give any reasoning as to why passing `nil` to `order` needs to
be supported, and it's rather nonsensical. I can almost see allowing an
empty string being passed (though I'm tempted to just disallow it...)
Diffstat (limited to 'actionpack')
0 files changed, 0 insertions, 0 deletions