Ask A Question


You’re not receiving notifications from this thread.

How to structure DB in such a way that we can create attributes dynamically in rails

Anand Duddella asked in Databases

I am trying to create for example a contact model but currently i only know of for example first name, last name and email but would want to give the user a choice of entering more custom fields which would be linked to my contact model

Can any one help or point towards an article with code which does this

Thank you in advance 

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.