Starr Horne wrote:
> On Wed, 18 Mar 2009 14:44:33 +0100
> Indu RS <[email protected]> wrote:
> 
>> I am trying to implement restful_authentication plugin in my rails
>> application. But my user model contains extra fields like country_id,
>> state_id, city_id, phone_number, status_id, gender etc. Is it possible
>> to add additional fields along with restful_authentication plugin? I was
>> not able to store the additional fields. pls help. very urgent. This is
>> my first project in ROR
> 
> You'll need to make a migration to add the extra columns to your users 
> table. restful_authentication generates a user model/views/controller. 
> So you can edit those to accept your extra fields.
> 
> SH
> 
> --
> Starr Horne
> Check out my Helpdesk RailsKit: http://railskits.com/helpdesk/

Thanks for the reply.
Created the migration and added extra fields. The error coming at the 
time of saving the data to the user model. ie I am not getting the 
values in the insert query (got the insert statement from the log 
file).I am getting "null" for the extra fields in the insert query
-- 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to