aboutsummaryrefslogtreecommitdiffstats
path: root/lib/normalize_string.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2015-05-14 12:46:48 +0100
committerGareth Rees <gareth@mysociety.org>2015-06-04 13:51:03 +0100
commit609bed69081e1f0e81662f052342d34dbe7881bb (patch)
tree5dd9e77c1814a6aaa3171f94886cb11e16127f15 /lib/normalize_string.rb
parent65152bc84c070af095e298016dc6d7328a74d39f (diff)
Speed up PublicBodyHelper#type_of_authority
Previously loaded all PublicBodyHeading and associated PublicBodyCategory records. Now only loads the PublicBodyCategory records that relate to the PublicBody. user system total real old 0.320000 0.000000 0.320000 ( 0.356155) new 0.010000 0.000000 0.010000 ( 0.010077)
Diffstat (limited to 'lib/normalize_string.rb')
0 files changed, 0 insertions, 0 deletions