Dave DashRuby on Rails the default names we give modelsHow to get rid of that Company:0x000decafbad00 in favor of something more sensibleNov 20, 2019Nov 20, 2019
Dave DashRails Administrate Drop DownsFor WhichOffice I’m building a little dashboard to keep track of locations of all the companies we track.Nov 19, 2019Nov 19, 2019
Dave DashWhat is 0.0.0.0 versus localhosttl;dr 0.0.0.0 tells a server to listen on any available IP address (localhost, 192.168.0.2, or whatever). You can’t connect to…Nov 6, 2019Nov 6, 2019
Dave DashWhy I didn’t skimp on Rails Password ProtectionI started to add Rails Admin to WhichOffice which currently doesn’t have users (and to be honest, doesn’t have a lot of pages yet). I…Oct 30, 2019Oct 30, 2019
Dave DashThe Danger of APEX CNAMEI’ve always liked using “naked” domains or apex domains. I worked on del.icio.us which wasn’t quite naked, but it didn’t contain the “www”…Oct 24, 2019Oct 24, 2019
Dave DashBashing yourself with PipesI have a special purpose Amazon EC2 instance that does a long running task and shuts down. Occasionally I’d see it start to repeat itself…Sep 17, 2019Sep 17, 2019
Dave DashLoan to value, less can be moreWe talked about loans/notes briefly during a foray into real estate investing. When investing in notes an important ratio is Loan-to-Value…Mar 22, 2019Mar 22, 2019
Dave DashBe the bank: Debt over equityI’ve started casually looking at alternative investments. I can balance a traditional portfolio of stocks and bonds, but alternative…Mar 15, 2019Mar 15, 2019
Dave DashThe dangers of mockingtl;dr avoid until necessary mocking in your test suite. Refactor your code.Aug 27, 2018Aug 27, 2018
Dave DashPushing to an ActiveJob/Sidekiq queue in Python (or any other language)I use Sidekiq to do a lot of rails-related offline tasks. Because the Sidekiq jobs are tied to a large rails codebase my team often…Aug 23, 20181Aug 23, 20181