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. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 http://www.onlamp.com/pub/a/onlamp/2006/12/14/revisiting-ruby-on-rails-revisited.html?page=1 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 --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 Development 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!! --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> 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> 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. > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---