Re: [Rails] data is storing in database when i had created but it is destroyed after the sign out

2012-01-30 Thread Prince Joseph
I believe one of the validations is failing in the case where you update the user profile. Try using something with bang operator(like 'save!') in the code where you update the user profile (in the controller) to identify which validation is failing. ('!' will raise an exception if any validation i

[Rails] data is storing in database when i had created but it is destroyed after the sign out

2012-01-29 Thread Kapil Kaligotla
I had created users using devise in rails. I am storing user mobile number and land line number for the user profile, by using this code it is storing the cell and land line numbers in database but after the sign out it is not stored in the database. please tell me whats wrong in my code in users.r