aboutsummaryrefslogtreecommitdiffstats
path: root/script/rails-deploy-before-down
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-05-08 16:07:19 +0100
committerGareth Rees <gareth@mysociety.org>2014-06-06 11:09:09 +0100
commit468e9d5dfbbf2896b97553b8bf145acd0e8b95ca (patch)
tree763f69ba7c617bbb74bd2a9b933ae2a3589164bc /script/rails-deploy-before-down
parentb2219112ad185d4e6b07ad439da9eabd4907e32d (diff)
Extract public body CSV export to its own class
- SRP: Do one thing. PublicBodyCSV converts a collection of bodies in to a CSV formatted String - Adds some parenthesis around parameters in PublicBodyController#list_all_csv - Let the controller handle what records to pull out for the CSV export Arguably this doesn't really need to be anything to do with PublicBody, but it allows us to set nice defaults.
Diffstat (limited to 'script/rails-deploy-before-down')
0 files changed, 0 insertions, 0 deletions