Closed superbuggy closed 8 years ago
I am having trouble passing parameters, and I get the error below.
In my model method for Chord, I am filling information for each instance of the chord model, and I'm wondering if that is complicating things.
error copypasta:
wrong number of arguments (1 for 0)
Extracted source (around line #49): 47 private 48 def chord_params 49 params(:chord).require(:root_note, :quality) 50 end 51 52 end
I am having trouble passing parameters, and I get the error below.
In my model method for Chord, I am filling information for each instance of the chord model, and I'm wondering if that is complicating things.
error copypasta:
wrong number of arguments (1 for 0)
Extracted source (around line #49): 47 private 48 def chord_params 49 params(:chord).require(:root_note, :quality) 50 end 51 52 end