Skip to content

How Tos

Dan Kerchner edited this page Dec 24, 2017 · 12 revisions

How to start up rails console in the current production configuration

This is currently resulting in a stack trace (similar to https://github.com/rails/rails/issues/16370 - need to chase this down). For now, a workaround is to temporarily edit config/environments/production.rb and set config.eager_load = false. Remember to set it back afterwards. Then type: rvmsudo RAILS_ENV=production rails c

How to delete all items

How to delete an item via the rails console

How to...