Ask A Question

Notifications

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
Hi 

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 

Regards
Anand
Reply
Join the discussion
Create an account Log in

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

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

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