I am creating a Polymorphic association with Devise Gem in Rails 4 but when saving the form, the data of the User is not saving. In console it is showing "*Unpermitted parameters: user*". The main idea is that there are two types of users organizer and vendor each has different fields in registration form so i want each to have respective registration form but a single signin form.....code is pasted here https://gist.github.com/himadriganguly/11112184 Thanks to all in advance. -- 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 rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/cc83f4f5-22f4-4491-af8b-ad75228246c8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.