RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: jschwertfeger
If you don't need to be able to add new records to the referenced model implicitly then there's a nicer, pure jQuery option that works solely on IDs and does not require you to add accessors to your models: https://gist.github.com/3842296
If you don't need to be able to add new records to the referenced model implicitly then there's a nicer, pure jQuery option that works solely on IDs and does not require you to add accessors to your models: https://gist.github.com/3842296