What to use in params[:name]

I am using the auto complete components in Rails, and if I look at the
generated source I see that the id is model_field and the name is
model[field]. Given that i am evaluatin params individually , and not
part of one form variable, which should I use to call that value with
params[:name], model_field or model[field]?
Thanks for your help and time,

params[:model][:field] should get what you want.

Thanks, kinda new to rails.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs