diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-03-30 14:11:40 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-03-30 14:11:43 -0300 |
commit | 7860bf11d862a6eb1bd9ada85bcd97f17a2cb536 (patch) | |
tree | 22824f19b47eacbfea1f13b16d173895b38f8902 /actionpack | |
parent | cbfa91a216384489e66f5e70eecebc455d334908 (diff) | |
download | rails-7860bf11d862a6eb1bd9ada85bcd97f17a2cb536.tar.gz rails-7860bf11d862a6eb1bd9ada85bcd97f17a2cb536.tar.bz2 rails-7860bf11d862a6eb1bd9ada85bcd97f17a2cb536.zip |
Do not calculate values if they are not going to be used
When building the indexes list in PostgreSQL, IndexDefinition objects
are only created if the query for the related attributes really returns
something matching the attributes.
In case it does not, the variables for building the definition objects were
being created but not used.
Diffstat (limited to 'actionpack')
0 files changed, 0 insertions, 0 deletions