Restaurantly Connecting Data to Client
John Davison photo
Get notifications about new tutorials, code and events.

click: follow along with the source code

modify config/application.rb

    config.generators do |generate|
      generate.helper false
      generate.assets false
      generate.view_specs false
    end

rails g contoller restaurants show index new create edit update destroy

modify config/routes.rb

  resources :restaurants

bundle exec rake routes

git status

git add . -A

pro tip add gs alias to ~/.bash_rc or ~/.bash_profile

  alias gs='git status'

gs

git commit -m “UI framework in place”

git status

git checkout master

git merge restaurant_ui

Get notifications about new tutorials, code and events.