SOS, huge doubt about ruby on rails

Hi,
I have to do a web application where I have to use ruby on rails. I have
read some about it, but a partner told me something that I don’t know if
it is true. He told that creating a table of a data base ruby on rails,
automatically creates two files html, one which shows the contents of
you table and the other one, provides a html file to introduce data in
your data base, is this true??
Because what i have to do is from an application form, getting all the
parameters introduced by the user and then show them saying the
operation has been all correct.

Sorry for my English!
Thanks.

I have to do a web application where I have to use ruby on rails. I have
read some about it, but a partner told me something that I don’t know if
it is true. He told that creating a table of a data base ruby on rails,
automatically creates two files html, one which shows the contents of
you table and the other one, provides a html file to introduce data in
your data base, is this true??

No, that’s not true.

Your friend might have been thinking of the CRUD/scaffolding that Rails
lets you add if you want that will do the above, but by default it
doesn’t happen unless you specifically tell it to.

-philip

burbu wrote:

I have to do a web application where I have to use ruby on rails. I have
read some about it, but a partner told me something that I don’t know if
it is true. He told that creating a table of a data base ruby on rails,
automatically creates two files html, one which shows the contents of
you table and the other one, provides a html file to introduce data in
your data base, is this true??
Because what i have to do is from an application form, getting all the
parameters introduced by the user and then show them saying the
operation has been all correct.

My guess is that your partner is trying to describe Rails’ scaffolding.
My
recommendation would be to get a little hands-on experience to get a
feel
for yourself. There’s a current one at

that you can work through in a couple of hours. There are others on the
Rails wiki at http://wiki.rubyonrails.org/rails

hth,
Bill

burbu wrote:

I have to do a web application where I have to use ruby on rails. I have
read some about it, but a partner told me something that I don’t know if
it is true. He told that creating a table of a data base ruby on rails,
automatically creates two files html, one which shows the contents of
you table and the other one, provides a html file to introduce data in
your data base, is this true??

No. People just like to brag you can do that. Almost no projects use
a “scaffold” like that.

Because what i have to do is from an application form, getting all the
parameters introduced by the user and then show them saying the
operation has been all correct.

That will happen on pages 3 thru 5 of the book /Agile Web D.
with Rails/.

After learning this stuff, if you have previous experience programming
for the web, you will be amazed how much more productive you will be.


Phlip
http://c2.com/cgi/wiki?ZeekLand ← NOT a blog!!