Validations

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs