Create a new User object, then fill in the fields, and call save. -- Dheeraj Kumar
On Monday 22 July 2013 at 5:19 PM, Tushar Patil wrote: > Hi, > I want to authentication for sign in and sign out, i add gem file and > create a user model using devise in rails3, i want to create a user for first > sign in and sign out, how can i create, any suggestion. > > -- > 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+unsubscr...@googlegroups.com > (mailto:rubyonrails-talk+unsubscr...@googlegroups.com). > To post to this group, send email to rubyonrails-talk@googlegroups.com > (mailto:rubyonrails-talk@googlegroups.com). > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/1387c52c-3684-44f1-89b7-4cc93a2aadb5%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/05B2251B87C649EAB0DE5C025F73EE8C%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.