On 18 April 2013 07:04, cihad yildiz
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
wrote:> I create 2 select list box in my index file ,brand and model now when
> user choose samsung from brand I want to list samsung phones in model
> list box
> should I create a def in controller or some thing else
> and if yes
> what kind of code should I write
I guess that you are a beginner with Rails and suggest that you work
right through a good tutorial such as railstutorial.org, which is free
to use online. That will show you the basics of rails. Also look at
the Rails Guides.
Then you will be able to answer basic questions for yourself.
Colin
--
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.