Hello Everyone,
Scenario: I have a view with a form for entering a new (and separate
view with form for editing) a software defect, for example. On these same
views (new and edit) I want users to be able to use a second form to search
for one or more customers that found this defect. This search form will
allow users to page through results and select one or more customers that
this defect was found by. Note the search results and paging will be
displayed in the same new and edit views rather than a different view or
pop-up window. When the user saves the new or edited defect then these
selected customers should be saved with the appropriate associations in the
database.
I have found a RailsCast (#37 Simple Search Form) that I can follow to
implement a simple search but this example utilizes the Index action. I am
definitely in the learning phase of both Ruby and Rails. Can anyone
recommend keywords for my Google-Fu or a brief sketch of how I might
approach this scenario? I'm willing to do the research and leg work if
someone can spin me in the right direction. :) I've included links to
code and the live site under development if anyone wants to see what I'm
shooting for--this is/will be Open Source when complete. Thanks much for
your time!
Sincerely,
Jason Smith
QualityAddict
Code | https://github.com/QualityAddict/quality-nexus
Live | http://qualitynexus.herokuapp.com/home
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/34aa7229-2153-4093-bab6-367acbe9c43f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.