You are here: Forums Ask a Rails expert Multiple csv file upload based...
Posted in Forums : Ask a Rails expert
Authority 12
Posting Rating 0
Sign in to rate this post
|
I’m a newbie I have a form. Based on the data supplied in the form, the user must upload either one or two files of data which is used to validate the data on the form. I think I need to use sub forms to load the data files. My problem is I don’t know if this is the right way to go, or how to implement nested forms in rails 2.0 Any help appreciated. |
Authority 37
Posting Rating 100
Sign in to rate this post
|
Could you be a little more specific? Maybe show a little code? Anyways, virtual attributes or multi-object forms might be what you’re looking for. Ryan Bates covers complex forms in detail in some of his screencasts: As far as I know, Rails 2 doesn’t really add anything specific to this basic stuff, but I could be wrong. |
Authority 12
Posting Rating 0
Sign in to rate this post
|
Thanks for the advice, i’ll view the railcasts and maybe get back on i its stillll not clear. |
Ask a Rails expert : how to write in model
Ask a Rails expert : how to show the params value in page.alert
Ask a Rails expert : Cutomize Will_Paginate next & previouse links
Ask a Rails expert : support AJAX pagination with Will_Paginate plug-in
Ask a Rails expert : Inheritance Determination in View
Ask a Rails expert : Install rails application
Ask a Rails expert : custom sql query
Ask a Rails expert : session handling does not work with REST API
Ask a Rails expert : Display WSDL
Ask a Rails expert : Howto respond a XML error message when there is no @active_record_obj?