Last Updated on November 23, 2020 by Christopher G Mendla
GitHub will provide an alert if it finds vulnerabilities in your repository.
Last Updated on November 20, 2020 by Christopher G Mendla
During my interviews in my recent job search, I’ve seen an alarming number of companies running on Rails 3.x and 4.x. Unless serious work arounds have been applied, these versions have multiple vulnerabilities.
Last Updated on November 18, 2020 by Christopher G Mendla
Updating to Rails 5.2 has a couple of ‘gotchas’.
Last Updated on November 12, 2020 by Christopher G Mendla
I have a Ruby on Rails site that I use as an online portfolio. GitHub released a warning that there were vulnerabilities in Rails and associated gems. I started incrementally upgrading Rails. However, when I tried to push the Rails 5.2 update to production, the site crashed. Here is how I recovered
Last Updated on November 3, 2020 by Christopher G Mendla
The simple command, rake stats will show you how the lines of code are distributed in your Ruby on Rails application. ‘rake about’ will show you the ruby and rails versions, the database engine and some other helpful information.
Last Updated on October 21, 2020 by Christopher G Mendla
Rubocop is a code linter for Ruby on Rails. When installed, configured and used properly it ensures that code is formatted properly and will identify some security issues. This post will cover installation and fixing basic auto-correctable errors.
Last Updated on September 16, 2020 by Christopher G Mendla
I wanted to change the background color of a cell in Ruby on Rails depending on if the contents of and expires field was past or not. This could be useful for dashboard type apps or pages. i.e. red/yellow/green
Last Updated on September 15, 2020 by Christopher G Mendla
I needed a way to show the status (Up/down) of internal Ruby applications. I found an answer on StackOverflow that pointed me in the right direction (Apologies that I can’t locate that post). . I modified that somewhat by putting it into a method and passing the site name to it.