is any one know this

On Tuesday, September 25, 2012 7:37:46 PM UTC+5:30, Fahim Patel wrote:
>
> code :
>
> Area
> <%= f.select :area_id, Area.all.collect {|p| [ p.name, p.id ] }, 
> :class=>"small"  %>
> Milk Mans
> <%= f.select :milkman_id, Milkman.all.collect {|p| [ p.name, p.id ] }, 
> :class=>"small"  %>
>
> When i select any area then i should see only those milkmans of that area.
> Till now i getting all milkmans in my select box. 
>
> How to do this with Ajax ?
>
> Hope u will understand  question now ?
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/-_QDOe20YEUJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to