banner image

MySQL-5.5 Installation Guide

Published 7 months ago
How to install MySQL-5.5 on Ubuntu I had a legacy application where MySQL-5.5 was required and i struggle to install it on my machine at that time, so I decided to write down the steps hoping it can help someone else like me in the future. MySQL Download URL https://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.56-linux-glibc2.5-x86_64.tar.gzOpen the terminal and follow along: Uninstall any existing version of MySQLsudo rm /var/lib/mysql/ -RDelete the MySQL profilesudo rm /etc/mysql/ -RA...
Read full post
banner image

RSpec Cheat Sheet

Published 6 months ago
Some useful Rspec matcher. require 'rails_helper' RSpec.describe TodosController, :type => :controller do describe "GET #index" do #describe "POST #create" do #describe "GET #show" do #describe "PATCH #update" do (or PUT #update) #describe "DELETE #destroy" do #describe "GET #new" do #describe "GET #edit" do # NORMALLY, you DO NOT want render_views, or you only want to call it in # a single context. # More on render_views: # https...
Read full post