Skip to content
Kevin Leong edited this page Oct 24, 2016 · 3 revisions

Rails

Database

Commmands

  • rake db:drop db:create db:structure:load RAILS_ENV=<env>
    • recreates DB and loads it from structure.sql

Asset Pipeline

Commands

  • rake assets:clobber
    • deletes asset cache
  • rake tmp:clear
    • deletes all asset caches

Rack

References

Clone this wiki locally