aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request_batch.rb
Commit message (Collapse)AuthorAgeLines
* Use updated method for sending an InfoRequestBatchGareth Rees2014-10-17-1/+7
| | | | | Could do with extracting the sending from the model, but this allows the removal of OutgoingMessage#send_message
* Annotate modelsGareth Rees2014-04-09-3/+4
| | | | | Should have been run after related migrations. Could automate this to always run after migrations.
* Send batch requests as a cron job.Louise Crow2013-12-04-0/+9
|
* Simplify return value, set sent_at in create_batch!Louise Crow2013-12-04-1/+4
|
* Use public bodies not requests in find_existingLouise Crow2013-12-04-4/+4
| | | | The requests may not have been created at this point.
* Split the creation of a batch and the associated requests.Louise Crow2013-12-04-17/+9
| | | | We're going to want to actually create and send the requests later.
* Add association between batches and public bodies.Louise Crow2013-12-04-0/+1
|
* Add the specific salutations to each request.Louise Crow2013-12-04-20/+35
| | | | | | Also, wrap model creation in a transaction and do the message sending separately - we may ultimately want to do this outside the request cycle.
* Move creation of batch to InfoRequestBatch.Louise Crow2013-12-04-0/+21
|
* Add check for double submission.Louise Crow2013-12-04-0/+12
|
* Add InfoRequestBatch model.Louise Crow2013-12-04-0/+20
Re-annotate models. Index InfoRequestBatches by user - we'll display the batches for a user when they view their own requests.