Good afternoon.

I have two questions:

First question:
Can be defined at the time that I'm generating the scaffold the size
of
a string?
For example name:string (50)?

Second question:
I wonder how to proceed correctly to include new
fields starting at a CRUD generated by scaffold.

Example:

First step (I use):
script/generate scaffold User name:string login:string

Second step (I add the field "password: string" in the User CRUD,
This field is a password varchar of 50 characters):
Problem --->>> I do not do this modification to add a new
field.

If you have any tutorial to make available, or, please specify
step-by-step how to proceed.

Best Regards ...
Adriano Dias da Silva

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to