|
[Rails] Re: Form not working...: msg#03279RubyonRailsTalk
Thanks for the instructions.... I'll try to buy that book... On 31 jul, 14:08, Ar Chron <rails-mailing-l...@xxxxxxxxxxxxx> wrote: > Gabriel Bianconi wrote: > > It's working! Thank you very much... > > > I used :product because I saw that in a tutorial. > > That response tells me that you have to slow down and think about what > you're doing, not just type in code because you saw it somewhere else... > > You're talking about "sfiles" and the tutorial you saw is talking about > "products"... why would you expect their code to work in your app? > > Find a good tutorial, or a good book (Agile Web Development with Rails > springs to mind), and read it for understanding... you know, concepts. > > Don't just type in what you see, because all that proves when it works > is that you'd make a good code-monkey, typing what you're told. > > Perhaps a good place to start would be a new Rails application... > In that application directory scaffold up a very basic model.. > > ruby script/generate scaffold person first_name:string last_name:string > > Now go look through model, the controller, and the views created for you > to see how it all fits together. I wouldn't use scaffold to build a > production application, but as an instructional tool for beginners, its > great. > > -- > Posted viahttp://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@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |