Set params to sane defaults if unset by client.
authorThomas Wood <grand.edgemaster@gmail.com>
Fri, 23 Jan 2009 19:14:21 +0000 (19:14 +0000)
committerThomas Wood <grand.edgemaster@gmail.com>
Fri, 23 Jan 2009 19:14:21 +0000 (19:14 +0000)
commit1522ed275c3efceb9629438e0272f2f2d4adf5ba
treed4a450bfb8c26c9be9ccbeeb4987c1688915545b
parent9bb9de0fbe307304ef4d0ea0dbeaac7972b71cb2
Set params to sane defaults if unset by client.
Reject creates with no file with 400, model validations will also reject with 400 (as was existing but broken behaviour)
Closes #1510
app/controllers/trace_controller.rb