aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-03-30 14:11:40 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-03-30 14:11:43 -0300
commit7860bf11d862a6eb1bd9ada85bcd97f17a2cb536 (patch)
tree22824f19b47eacbfea1f13b16d173895b38f8902 /actionpack
parentcbfa91a216384489e66f5e70eecebc455d334908 (diff)
downloadrails-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