can't config profile page to update data forms and save

I am new to Rails

Have you worked right through a good Rails tutorial such as in order to understand the basics of Rails? If not
then do that first.

If you have already done that then have a look at the Rails Guide on
debugging which will show you techniques that you can use to debug
your code and work out what is going wrong. The first thing you must
do is understand why it is doing what it is doing, then you can work
out how to fix it.