YaleSTC / reservations

Manage equipment loans & reservations. Who can borrow what, for how long?
yalestc.github.io/reservations
MIT License
139 stars 58 forks source link

Checkout with procedures fails #1726

Closed orenyk closed 6 years ago

orenyk commented 6 years ago
I, [2018-06-26T21:30:28.787495 #2815]  INFO -- : Completed 500 Internal Server Error in 53ms (ActiveRecord: 29.9ms)
F, [2018-06-26T21:30:28.788461 #2815] FATAL -- :   
F, [2018-06-26T21:30:28.788632 #2815] FATAL -- : NoMethodError (undefined method `collect' for #<ActionController::Parameters:0x000000066c2270>):
F, [2018-06-26T21:30:28.788695 #2815] FATAL -- :   
F, [2018-06-26T21:30:28.788760 #2815] FATAL -- : app/models/reservation.rb:126:in `completed_procedures'
app/models/reservation.rb:372:in `checkout'
app/controllers/reservations_controller.rb:285:in `block in checkout'
app/controllers/reservations_controller.rb:278:in `checkout'