ChrisMendlaTech
Last Updated on December 5, 2020 by Christopher G Mendla
My Fitbit Charge 3 was not showing the Weather. This issues is SOLVED.
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.
rake stats
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 24, 2020 by Christopher G Mendla
I was working in Ubuntu terminals both locally and on a Digital Ocean Droplet. I wanted to find a command that I used previously but it was not saved in the terminal history. This is a design feature but can be overridden.
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
created with