On 01/03/2014 23:49, Hassan Schroeder wrote: > On Sat, Mar 1, 2014 at 2:17 PM, Phil Dobbin <[email protected]> wrote: > >> `$ rails g scaffold Post title:string description:text` >> >> what is permissible or is there a list of words that can be used in >> place of `Post`? > > You're creating a model -- other than adhering to the Rails > conventions > (http://guides.rubyonrails.org/active_record_basics.html#naming-conventions) > (and avoiding reserved words) it's up to you. > >> I'm looking for a static page > > If you're only creating a static page, you don't need a model -- just > create a controller and a view. > > HTH, >
Hi, Hassan. Thanks, that's a great help. I'm new to Rails & am spending most of my time searching for basic stuff. I guess reading the guides at Ruby on Rails is the first place to start. Cheers, Phil... -- currently (ab)using CentOS 6.5, Debian Squeeze & Wheezy, Fedora 19 & 20, OS X Snow Leopard, RHEL 7, Ubuntu Precise & Saucy GnuGPG Key : http://phildobbin.org/publickey.asc -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/531277B2.3090307%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.

