I''m fairly new to rails and not sure how to handle this situation. I''m trying to allow the user to create a meeting, add as many locations for the meeting as they''d like, then add as many dates for each of those locations as they''d like in a wizard style form. I have the first piece working correctly, the user can create the meeting and add as many locations as they like using fields_for the locations (meeting has many locations). What I''m struggling with is how do I then allow them to add several dates for each location. Adding a date is really creating an object that has a meetingID, a locationID, and two date fields. A few questions: 1) It seems to me the first piece (creating the meeting and its children locations) will have to be one action (create method in the meeting controller) so that the new location IDs will be available in order to facilitate adding dates for each location is that correct? 2) If that is is the case, what controller/action should adding the dates for each location be in? Another action in the meeting controller? Or in the date controller? 3) Any other advice/guidance is much appreciated! Thanks! Phil -- Posted via http://www.ruby-forum.com/. -- 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.
vina zhang
2013-Mar-01 09:20 UTC
Re: having trouble with a wizard style form and fields_for
Easy Guide: Putting movies to LG Optimus G Pro for playback Summary: This guide is written for future LG Optimus G Pro owners who feel like downloading their movie library including DVD/Blu-ray movies and various formats of 1080p videos to LG Optimus G Pro for playback on the go. The LG Optimus G Pro features a 5-inch 1920x1080 IPS LCD display with Zero Gap Touch tech. Throw in its battery life and obvious portability, the Android 4.1-powered Optimus G Pro is really a top-notch on-the-go entertainment device for watching movies. But we can''t ignore its format limitation. If you have some Blu-ray/DVD collections or the 1080p/720p videos you''ve downloaded from websites which are not in the supported video format, you''ll need to convert them to Optimus G Pro compatible video format first and then sync them to the device for playback. The article below will help you better enjoy your 1080p/720p HD video and DVD, Blu-ray movies with your LG Optimus G Pro. Just follow it. First, Free Download the App - Pavtube Video Converter Ultimate The program can help you compress 1080p Blu-ray to Optimus G Pro, rip DVD movie to Optimus G Pro and convert HD videos to Optimus G Pro, including MKV, AVI, MPG, VOB, TiVo and more, everything can be transferred to Optimus G Pro optimized formats at ease. Meanwhile the playback of the converted videos is as decent as possible as original and the conversions can be made for use on all forms of the LG Optimus G Pro. If you are a Mac user, you can use its equivalent Mac version -iMedia Converter Mac to achieve your goal smoothly. -- Posted via http://www.ruby-forum.com/. -- 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.