ga-dc / wdi9-project2-gallery

0 stars 0 forks source link

Strong Params so Strong #14

Closed superbuggy closed 8 years ago

superbuggy commented 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