Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 515 Bytes

railsCommandInputs.md

File metadata and controls

11 lines (10 loc) · 515 Bytes

Rails Commands

This is the summary of the Rails Command used to generate the web page.

    $ rails g scaffold Link title:string url:string
    $ rails g devise:install
    $ rails g devise:views
    $ rails g devise User
    $ rails g migration add_user_id_to_links user_id:integer:index
    $ rails g acts_as_votable:migration
    $ rails g scaffold Comment link_id:integer:index body:text user:references --skip-stylesheets
    $ rails g migration add_name_to_users name:string