Validations


#1

Hi to ALL!

I am developing the small shopping cart application.

Inn the I created the models with out crud (not with scaffold)

I wrote my own htmls as for requirement.

How can i wrote the validations for my own rhtml files

Urbain


#2

Hi urbain!

These links can help:

http://wiki.rubyonrails.com/rails/pages/UnderstandingValidation
http://api.rubyonrails.com/classes/ActiveRecord/Validations.html

Have a nice day!

JK

urbain wrote:

Hi to ALL!

I am developing the small shopping cart application.

Inn the I created the models with out crud (not with scaffold)

I wrote my own htmls as for requirement.

How can i wrote the validations for my own rhtml files

Urbain