Mysql Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2) You might have came across this error when you tried development of Ruby on Rails project with MySQL as your development database.
Mysql MySQL server start, stop or restart on MAC (lion) How to start, stop, restart MySQL server on your MAC machine? mysql server start, mysql server stop and mysql server restart are three basic things that you will require during development of your
How-to How to install or uninstall a gem in Ruby When you start with Ruby or Ruby on Rails development, first thing that you will start-up with is Installing Gems on your machine. In Ruby, you have to install a gem so that you
Rails Benchmark in Ruby code using bm and bmbm with examples In Ruby, you have to perform benchmarking to measure performance of your code. Ruby allows you to do Benchmarking using library called ‘benchmark’
Rails strftime – Format Date Time in Ruby In Ruby, you have to format or convert time from one format to other many a times. You can use library method strftime available to perform formatting operations.