2009/8/23 djolley <ddjol...@gmail.com>: > > Perfect! I get it. I guess it's just a case of getting one's head > screwed on correctly. > > Thanks a batch. >
If you use the scaffold generator for generating things in the first place then skeleton methods will be provided for you to do the basic CRUD stuff that you can then adjust to your requirements. For example script/generate scaffold MyModel name:string title:string content:text See the RoR getting started guide for more info. Colin --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---