How to update two f.select from 2 different tables on ruby on rails
- by Zerosoul13
Hello,
I just started working on a Ruby On Rails project and i got to the point where i need to see the contacts of a company.
They should appear once the company is selected..
<%= observe_field :empresa_id, :url={:action = "get_contactos", :controller= :contactos, :updatewith =:empresa_id} %
but nothing happens, i don't see…