Tag Archive: tips

Mar 22

Docker Cleanup

After a time, Docker containers and images build up and can eat disk space. Failed docker build invocations can leave a lot of artifacts behind. The following commands can help. Many of them say ‘not all containers could be removed’; this has to do with the header from docker ps. Usually this can be ignored. …

Continue reading »

Aug 19

rspec, restful_authentication, and login_required

This is partly for myself, and partly for anyone after me….. I have a controller generated via rspec_scaffold — yes, I know, it might not be what all the cool kids are doing, but it works.  I also have restful_authentication set up to use rspec.  So, when I go to add before_filter :login_required, autotest frowns …

Continue reading »

Aug 19

autotest reminder (or why did it go boom?)

autotest / zentest are really useful tools.  However, it’s important to remember to run migrations for the test database — otherwise your tests will fail (miserably!) I’ve found the following to be helpful for using autotest: Getting started with Autotest – Continuous Testing Autotest RSpec Notifications for Ubuntu « My Pragmatig life