Skip to main content

How can I do drop down dependencies?

Rails • Asked by Josh Cooper
Cfb1e7021f0e0cb6723368171a843e5c

First: Apologies if already addressed.

i have two situations where i need dropdown/select dependencies and wondering if anyone can help with a simple way of handling this using Rails, gem, mininal js.

  1. using Ancestry gem and parent/child setup
  2. using one to many association

i came across subdivision_select gem and like the simplicity of this.

@chris maybe a screencast on this?

Any help/direction is much appreciated

cheers
Josh


80da16d1d147c38831b8282061ed85c8

Not sure what you are asking. A way to "populate" a select tag with an associated model?


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 18,000+ developers who get early access to new screencasts, articles, guides, updates, and more.

By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

More of a social being? We're also on Twitter and YouTube.