TKChattoraj / Play_Ball

Baseball League Site
0 stars 0 forks source link

Nested Strong Parameters #7

Open TKChattoraj opened 8 years ago

TKChattoraj commented 8 years ago

Need to think about strong parameters and how to nest strong parameters. See users_controller#create. Specifically, see the @roster = Roster.new. If strong parameters are attempted @roster = Roster.new(roster_params) produces an ActiveRecord::UnknownAttributeError.