I started to use rails few weeks ago, and I have got basic question
1. There is a way to keep my form filled, after submit it (for example
if I get errors) ?
2. I would like to create a 'tree' with my datas like 'pages' for
example : a page has one children and belongs to a page. I added has_one
and belongs_to to the model but it doesn't work.
3. My last question is about the models test. For example :
validates_presence_of :name, :price, :description, :message =>
I would like to match this message in my controller to display it in a
Can you help me for these points please !