Skip to content

How Tos

Dan Kerchner edited this page Feb 5, 2018 · 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

Recommend doing this via the UI, but rails console method TBD.

How to delete an item via the rails console

How to...