Hello
everey one I'm trying to custamize Devise gem in rails 4 with add my
required sign up feilds like firstname,company name,url,phone etc
but i have got errors please suggest me if any on wok on devise custamization please help me......................
A Readme would be nice...people aren't going to read your entire source repo...
--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/75bd06ff62ded9abba6579acbfe35c67%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
Anyways the way I handled it was to create another AR class and also have a polymorphic association (this reduces code duplication)...you can add this stuff via a migration, nothing stops you...why do you need devise to do it for you?
I did this for phone numbers and addresses...if you google, you'll find what I did. Similar can be done for user profile data
what you're adding can be done via another model though called User profile maybe?
Why not just add to the user model (via a migration) the information you want...you're making the problem way more complex than it needs to be
--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2d34134a67ee28b9531b51dc7eda07b7%40ruby-forum.com.
Why not just add to the user model (via a migration) the information you want...you're making the problem way more complex than it needs to be