Author Archives: Chris C

A Ruby-Type Talk featuring Sorbet

Last Saturday at the Edmonton Ruby Meetup (YEGRB) I discussed type checking, Sorbet, and integrating Sorbet into an existing Rails application. Feedback and questions are most welcome. Thanks you to YEGRB for hosting and for everyone that participated in the … Continue reading

Posted in Code Examples, Presentations | Tagged , , , | Comments Off on A Ruby-Type Talk featuring Sorbet

Today I Learned how to Secure the Delayed Job Page with Spree Users

A client has an online store that is powered by an older version of Spree. I’m in the process of upgrading it and adding features to it at the same time. It’s a slow process as upgrading to newer versions … Continue reading

Posted in Today I Learned | Tagged , , , , , | Comments Off on Today I Learned how to Secure the Delayed Job Page with Spree Users

My Takeaway from Reading David and Goliath

Book: David and GoliathAuthor: Malcolm Gladwell The subtitle for the book is “Underdogs, Misfits, and the Art of Battling Giants” and as you would expect it has many examples of an underdog beating a giant. Often the underdogs have to … Continue reading

Posted in Takeaways | Tagged , , | Comments Off on My Takeaway from Reading David and Goliath

Generate a Todo List in Standard (Rubocop)

The older I get the more I appreciate code linters. Something that can detect and often correct my formatting errors? Great! One less thing I have to worry about. Then I can spend my time on more important tasks such … Continue reading

Posted in Code Examples, Software Development | Tagged , , | Comments Off on Generate a Todo List in Standard (Rubocop)

A Pleasant Development Environment featuring Docker and Rails

With the current virus issues I forgot to publicize that my presentation about creating pleasant development environments was posted along with an example of Dockerizing an existing Rails application. You can find the slides for the talk here. Finally you … Continue reading

Posted in Code Examples, Presentations | Tagged , , , , , | Comments Off on A Pleasant Development Environment featuring Docker and Rails

A Rails 6 Template and Then Some

I appreciate people posting getting started examples and templates online. They are good for getting started and playing with a new technology. The problem is the templates are usually not production ready. They are also missing a bunch of the … Continue reading

Posted in Software Development | Tagged , | Comments Off on A Rails 6 Template and Then Some

Today I Learned Altering a SQL Column Removes it’s Default Value

This one I actually already knew but temporarily forgot about it so got to relearn it. In MySQL, and many other databases, updating the column with an ALTER statement will remove any properties not explicitly listed. For example, say you … Continue reading

Posted in Today I Learned | Tagged , , | Comments Off on Today I Learned Altering a SQL Column Removes it’s Default Value

My Takeaway from Reading Sometimes you Win, Sometimes you Learn

Book: Sometimes you Win, Sometimes you LeanAuthor: John C. Maxwell My takeaway from this book had nothing to do with it’s premise: learning from your mistakes. Instead my takeaway had to do with writing. Specifically make sure your audience can … Continue reading

Posted in Takeaways | Tagged | Comments Off on My Takeaway from Reading Sometimes you Win, Sometimes you Learn

Today I Learned About GitHub’s Dependabot

Recently I created a CI build for the Introduction to ORM for DBAs presentation example code. One of the reasons I picked this code base was so I could try out Dependabot for the security alerts I’m getting. The security … Continue reading

Posted in Today I Learned | Tagged , , , | Comments Off on Today I Learned About GitHub’s Dependabot

Notes on Fixing Ubuntu 18.04 VM not Booting

Some notes so I remember how to fix this problem if it happens again and I don’t waste a bunch of time figuring it out right before a customer production release. Not a great start to my day. This issue … Continue reading

Posted in Notes, Support | Tagged , , | Comments Off on Notes on Fixing Ubuntu 18.04 VM not Booting