Hello adolfo,
Here is another option, it is Ryan Bates'' railscasts, some of his
episodes are free and on others you pay a monthly subscription of
$9.00:
http://railscasts.com/episodes/88-dynamic-select-menus
I think this just gives you another option.
On Mar 10, 2:45 pm, adolfo igualada
<adolfo.igual...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi,
>
> I have these models : Country, State, City . Each of these model has a
> dropdown, when i select a country i want to populate state acording to the
> selected country and also city with state selection.
>
> I know that to do this i have to use jquery/ajax , but i dont know wich is
> the best way to do it.
>
> I have this example as reference
:http://pullmonkey.com/2012/08/11/dynamic-select-boxes-ruby-on-rails-3/. Is
> this a good option to do it?
>
> Wich way do you consider is the best to do it?
>
> Thank you in advance.
>
> Version of Rails 3.2.12
--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.