diff options
author | Seva Orlov <vseorlov@gmail.com> | 2016-04-11 20:57:19 +0300 |
---|---|---|
committer | Jeremy Daer <jeremydaer@gmail.com> | 2016-04-24 14:32:55 -0700 |
commit | c41ef01aec40bfaa9af707551d1e8a1f9f7380d1 (patch) | |
tree | 1bb0e0172a8da1110351499cbac01db4f8738973 /activerecord/test/cases/scoping/default_scoping_test.rb | |
parent | 6c6eeda54d0f2c8e689772b50cc5c4419fa82749 (diff) | |
download | rails-c41ef01aec40bfaa9af707551d1e8a1f9f7380d1.tar.gz rails-c41ef01aec40bfaa9af707551d1e8a1f9f7380d1.tar.bz2 rails-c41ef01aec40bfaa9af707551d1e8a1f9f7380d1.zip |
remove_index do not fetch indexes if name is specified
There is no need to fetch all table indexes in remove_index if name is specified. If name is wrong, then StatementInvalid will be raised.
Signed-off-by: Jeremy Daer <jeremydaer@gmail.com>
Diffstat (limited to 'activerecord/test/cases/scoping/default_scoping_test.rb')
0 files changed, 0 insertions, 0 deletions