We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc98567 commit 80ac302Copy full SHA for 80ac302
app/controllers/inspection_controller.rb
@@ -1,7 +1,7 @@
1
class InspectionController < ApplicationController
2
3
def create
4
- #looks at the params hash and creates new inspections for each cadet record.
+ #looks at the params hash and creates new inspections for each cadet record. Cool.
5
ok = true
6
params[:cadet_score].each do |id,score|
7
insp = Cadet.find(id).inspections.new(:date => Date.today, :score => score)
0 commit comments