Month: May 2020

  • Nicer printing of Rails models

    Nicer printing of Rails models

    I like my models to be printed nicely, to make the class of the model as well as the id and other data available, so, when they end up in a log or console, I can now exactly what it is. I’ve been doing this since before Rails 3 and since Rails projects now have […]

  • Editing Rails 6.0 credentials on Windows

    Editing Rails 6.0 credentials on Windows

    Rails 6 shipped with a very nice feature to keep encrypted credentials on the repo but separate them by environment, so you can have the credentials for development, staging and production, encrypted with different keys, that you keep safe at different levels. For example, you might give the development key to all developers, but the […]

  • Talk to each other, you are missing out

    Talk to each other, you are missing out

    For the past few weeks I’ve been talking to entrepreneurs, trying to help with their problems. I’ve heard both of these statements repeated a few times: Marketing is easy, but coding is impossible. Marketeers and Building a thing is fun, but then I have no idea how to market it. Coders It’s frustrating to hear […]

  • The Voyager 1 museum

    The Voyager 1 museum

    Voyager 1 is, as of now, 22 billion kilometers away from home. One day, we’ll be a space-faring species and we’ll have Voyager 1 in a museum. It’ll be trivial for us to go and reach Voyager but we won’t retrieve it. What’s wonderful about Voyager 1 is not only the amazing science and engineering […]