Johnny Stewart wrote in post #1184402: > I don't think you need to use polymorphism for this. > > I'd use STI for users and just keep the very basics in the user > table(profile name, email address, type etc). Then have something like > chef_info and athlete_info tables which contain the rest of the > differing information for each user type. This way you don't have a lot > of null values in columns in your user table.
Thanks for your response. i understood STI is applicable when save the same information for all the user types. you know some tutorial page about this?. Regards. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/69f3cdde04b1d53f72c9cb003f84349a%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.

