Sorry, typo here:

> On Dec 1, 2019, at 12:49 PM, Walter Lee Davis <wa...@wdstudio.com> wrote:
> 
> @item = Item.new(item_type = params[:item_type])

@item = Item.new(item_type: params[:item_type])

I meant hash syntax, not assignment.

Walter

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/19B49E53-FDDF-4D4E-BE57-9BEE698BCA33%40wdstudio.com.

Reply via email to