Software, Operating Systems, Programming Languages, Web Platforms.
Using outdated gems introduces vulnerabilities to your Rails Applications. There is an easy way to find outdated gems.Continue reading
THIS was driving me batty. I have Putty running on Ubuntu which runs on an Oracle Virtualbox on a Win 10 machine. I was trying to copy and paste and getting nowhere. The solution turned out to be pretty simpleContinue reading
Determining the exact version of Linux you are running is fairly simple.Continue reading
When I first began Ruby on Rails development, I was not able to use a LAMP stack. I was limited to working with the existing Microsoft IIS server.
I ran into a situation where I needed to manage and work with multiple Ruby installations on Rails on a Windows System. Unfortunately RBENV and RVM do not run under windows.
I found a tool called PIK but unfortunately it is no longer maintained. However, the page at Pik led me to URU. Continue reading
I couldn’t even get an alert box to work. After a good bit of trial and error, I found the reason. I put in a line of radio button code from the www3 school’s try it and it worked. After closer inspection, I found that the original radio button had parenthesis. Continue reading
This one drove me nuts for a couple of hours. I needed to modify the contents of the user table in a rails app using rails console.
After a bit of trying it seemed that I was running the rails console in development mode. So, I tried the obvious rails console production. After checking the tables, I found I was still in the development mode. Continue reading
I needed to validate CSV files that were being imported into a Rails app. The validation was simple: Look for blank entries, ensure columns used for associations (IDs) were integers and check that certain other entries were numeric.
The first thing I checked was to make sure that the header of the CSV file matched what we expected. The simplest way to do this was to set an ‘expected header’ and then check the header on the CSV. Continue reading
I wanted to visualize the associations in a rails project. There are a number of gems that will do this.
I found the following guide
https://ryanboland.com/blog/creating-a-database-diagram-with-rails-erd/ Continue reading