Ruby on Rails Saturday, March 1, 2014

On Sat, Mar 1, 2014 at 2:17 PM, Phil Dobbin <phildobbin@gmail.com> 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,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hass

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBCcnAEbEhTkGL_ebEb6U3W_2wvOhG5vPrRWOZyf%3DdFeg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment