ROR - intro

Ruby on Rails

How to build a rails app on top of an existing database

https://codeburst.io/how-to-build-a-rails-app-on-top-of-an-existing-database-baa3fe6384a0

imagemagick

brew install ghostscript imagemagick

DB



# migrate status check
# up - success
# down - error
$ rake db:create
$ rails db:migrate
$ rake db:migrate
$ rake db:rollback
$ rake db:migrate:redo
$ rake db:migrate:status

schema vesion확인

rails db select version from schema_migrations;

routes

$ rails routes

results for ""

    No results matching ""