Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7309099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T23:40:09+00:00 2026-05-28T23:40:09+00:00

Let say that I have an interface for inputting vehicle marketing information +——————–+ |

  • 0

Let say that I have an interface for inputting vehicle marketing information


   +--------------------+
   | Vehicle            |
   |--------------------|
   |                    |      +--------------------------------------------------+
   | Marketing info     +----->| Marketing info                                   |
   +--------------------+      |--------------------------------------------------|
   |                    |      |                                                  |
   | Engine info        |      |                                                  |
   +--------------------+      |                  +--------------------------+    |
   |                    |      |   Name           |                          |    |
   | Wheels             |      |                  |                          |    |
   +--------------------+      |                  +--------------------------+    |
   |                    |      |                                                  |
   | Doors              |      |                  +--------------------------+    |
   +--------------------+      |   Codename       |                          |    |
   |                    |      |                  |                          |    |
   | Seats              |      |                  +--------------------------+    |
   +--------------------+      |                                                  |
                               |                  +--------------------------+    |
                               |   Disinformation |                          |    |
                               |                  |                          |    |
                               |                  |                          |    |
                               |                  |                          |    |
                               |                  +--------------------------+    |
                               +--------------------------------------------------+

I am in a the first page for that vehicle, I want a vehicle to have it’s information save in different tables, for example it can have one marketing_info but many wheels or doors

The problem that I am seeing is that the menu on the left has to link to the related model’s forms from the new action so the link helpers will encounter nil id’s

If I used just one big form and hid the sections I didn’t want the users to see, would that be the best option?

I would also like that form to save as it goes along but then move along the steps in the form, how can I do that? Would I have to redirect to the edit action using an anchor to the next step?

Should I do the following:

  • One big form with hidden steps, with multiple submit buttons on each step
  • a step is shown if it is in the anchor i.e #step1 or in the examples case #marketinginfo
  • I want to save on any of the steps.
  • Once I have saved I need to be in the edit view
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T23:40:11+00:00Added an answer on May 28, 2026 at 11:40 pm

    Basically you want multi step form http://railscasts.com/episodes/217-multistep-forms
    and nested form bcz info goes into different tables http://api.rubyonrails.org/classes/ActiveRecord/NestedAttributes/ClassMethods.html

    you can have different action for each step of form fill-up

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say we have interface window_creator that responsible for creation of windows. For simplicity
Let's say I have a class that implements the IDisposable interface. Something like this:
Let say that I have a website with some information that could be access
Let's say that I have a widget that displays summary information about how many
Let's say that I have the following interface: public interface IMyService { void SimpleMethod(int
Let's say I have a service interface that looks like this: public interface IFooService
Let's say I have an interface IAutoTask and few other classes implementing that interface,
Let's say I have an interface like that: interface IAwesome { T DoSomething<T>(); }
Let's say I have an interface IMyInterface<T> that simply describes one function: public interface
Let's say that we have 100 objects of type User and each user has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.