Category: WebDev & Code

  • The joy of being a forum/newsgroup moderator

    I like to be helpful. It makes me feel good. When I post lots of technical questions to a community I’ll look to see if I can offer something in return for others. When the spree group asked for volunteer anti-spam moderators I was happy to volunteer. One side effect of that was being added…

  • Screen recording on a mac

    Mac OS continues to keep me happy. Sure, it has it’s faults but I just needed to capture my screen to file a software bug report. I could have explained step by step by typing but sending a video file is so much simpler. Except, I hadn’t done it on my Mac before. A quick…

  • Useful bash command for ruby programming (find a string within a file including sub directory files)

    Here’s a useful bash command, great for finding the source of any ruby “unintialized constant” errors. steve@Steve-Root-MBP$grep -r ‘Spree::Admin::Application’ . Returns the file name and the line with the matching string, like: ./app/controllers/spree/admin/satisfies_controller.rb: class Spree::Admin::SatisfiesController < Spree::Admin::ApplicationController So, my constant that caused the error is located in app/controllers/spree/admin/satisfies_controller.rb The command is made up like this:…