Category Archives: Code Examples

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

Today I Learned how to Generate a ERD for Rails Application

Back in the day Rails apps didn’t add foreign keys to database tables.  Believe it or not this was a feature not a bug.  The idea was that you shouldn’t “repeat” the relationship between you models in the code and … Continue reading

Posted in Code Examples, Software Development, Today I Learned | Tagged , , , | Comments Off on Today I Learned how to Generate a ERD for Rails Application

Introduction to ORMs for DBAs: Part 6 – Create GamesPlayed Table and CRUD

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 6 – Create GamesPlayed Table and CRUD