Category Archives: Code Examples

Saturday MP Show #7: Trying to Add a System Test for the Standard Ruby Linter ToDo Bug Fix

I, Chris, try to add a system test for the todo bug fix in episode 5 but run into some issues. I find out I stupidly hard coded the todo file name when he first added the ability to generate … Continue reading

Posted in Code Examples, Saturday MP Show, Software Development | Tagged , , | Comments Off on Saturday MP Show #7: Trying to Add a System Test for the Standard Ruby Linter ToDo Bug Fix

Saturday MP Show #6: Adding Unit Tests for the Standard Ruby Linter ToDo Bug Fix

I add a unit test for the Standard Ruby linter bug fix done in the last episode. When adding the unit test I find out someone has improved the todo generation logic. Thank you. I also find a remove a … Continue reading

Posted in Code Examples, Saturday MP Show | Tagged , , , | Comments Off on Saturday MP Show #6: Adding Unit Tests for the Standard Ruby Linter ToDo Bug Fix

Saturday MP Show 2: Struggling to get the RubyMine Debugger Working

Chris fights to get the debugger working in RubyMine and does not make any progress on Standard. It was frustrating but overall Chris enjoys working with RubyMine so thank you JetBrains for creating it. If you have any questions you … Continue reading

Posted in Code Examples, Saturday MP Show, Software Development | Tagged , , , | Comments Off on Saturday MP Show 2: Struggling to get the RubyMine Debugger Working

Saturday MP Show #1: Creating a Docker Development Environment for Standard (Ruby Linter)

Chris creates a Docker environment for Standard which is a Ruby linter. Thank you to Test Double for creating Standard. If you have any questions you would like answered or constructive feedback please send an email to ask@saturdaymp.com. You can … Continue reading

Posted in Code Examples, Saturday MP Show | Tagged , , , | Comments Off on Saturday MP Show #1: Creating a Docker Development Environment for Standard (Ruby Linter)

Rate Limiting Using Nginx and Fail2Ban – BSides Edmonton 2022

I’m honored to be presenting at BSides Edmonton on November 25, 2022. I’ll be demoing rate limiting using nginx and Fail2Ban. You can find the demo here in-case you want to follow along during the demo or you want a preview/spoiler. While I’m … Continue reading

Posted in Code Examples, Presentations, Security | Tagged , , , , | Comments Off on Rate Limiting Using Nginx and Fail2Ban – BSides Edmonton 2022

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

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

Introduction to ORMs for DBAs: Part 7 – Create GamePlayers Table

I gave the Introduction to ORMs for DBAs presentation at SQL Saturday 710 but it didn’t go as well as I would have liked (i.e. I had trouble getting my demo working).  Since the demo didn’t work live I thought I would show you … Continue reading

Posted in Code Examples, Introduction to ORMs for DBAs, Software Development | Tagged , , , , , , | Comments Off on Introduction to ORMs for DBAs: Part 7 – Create GamePlayers Table

Today I Learned How to Create a React-Rails App

A working example can be found here in the Saturday MP Examples GitHub. First thing you need to do is create a basic Rails app as outlined in my previous post.  My setup is the same as creating Rails app: Ubuntu 18.04 LTS host … Continue reading

Posted in Code Examples, Software Development, Today I Learned | Tagged , | Comments Off on Today I Learned How to Create a React-Rails App