views:

18

answers:

1

Some datatypes which I commonly use are string ,integer while creating models *text_field, text_area and password_field* while creating forms inside views.

Data types to use with models are my first priority .

+2  A: 

There's a few good sites for this. I recommend this as a reference :

http://www.orthogonalthought.com/blog/index.php/2007/06/mysql-and-ruby-on-rails-datatypes/

The only major pitfall I ever landed in with datatypes with the different between bignum and int . Other than it's all very straightforward.

Trip
Nice collection,is there a similar link to list the form types which I can use in ruby *.html.erb files ?? Thanks in advance
Saran
http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html
rspeicher