Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create actable plus related acts_as product #45

Open
Svashta opened this issue Sep 10, 2015 · 2 comments
Open

Create actable plus related acts_as product #45

Svashta opened this issue Sep 10, 2015 · 2 comments
Labels

Comments

@Svashta
Copy link

Svashta commented Sep 10, 2015

Not as much an issue as a question i have for my needs.
I get it when I create a Pen, it will automatically also create a Product (examples from the docs).
Which is all fine. But in this case I have to create Pen... which is a bit counter intuitive to me.
In reality i will always create new Product, which happens to be of Pen type.

So what I would basically try to ask is whether it is possible to have something like this in a view:

  • new product
  • select that it is a Pen
  • open additional Pen related attributes
  • create Product with Pen

As far as i am testing it, there is actually no way to create Product and related Pen records.
Only vice-versa.

Wouldn't be easier to have one (although more complex) form, than a separate forms for each of the types? I could be shooting in totally different direction and MTI is not even good solution to do it...in that case I would really appreciate any tips or tricks :)

@ndesorden
Copy link

+1

I want display a product form and user select type (e.g Pen) and fill pen attributes before submit.

Anyway, thanks for your great gem!

@hzamani
Copy link
Owner

hzamani commented Jan 24, 2016

That highly depends on your app, but nothing prevents that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants