Ruby Integrate awesome_print with Rails Console awesome_print is code beautifying library available for beautifying Rails & Ruby code. This can be integrated with interactive Ruby and Rails console if you follow the instructions given below.
Rails Rails Migration Change vs Up Down Methods Rails Migrations have different ways of writing with change or up down methods. This tutorial will discuss exact difference between the both and what you should use for your migration. Rails Migration Change
Mysql Rails Connect to Remote Database in Development In Rails Connect to Remote Database on localhost, task can be achieved by editing database.yml file in your Rails application. Make changes to host, username, password and database in your database yaml file
Rails Ruby read json file to hash In Ruby read json file to hash can be achieved using File Handling. Example to parse json file to hash is illustrated with this tutorial.
Rails Ruby draw line on image using RMagick In Ruby draw line on image, draw circle on image/ various shapes can be drawn using RMagick gem. To install RMagick gem you need to add RMagick in Gemfile
Rails Pagination in Rails with will_paginate gem Pagination in Rails can be implemented easily with will_paginate gem. will_paginate modifies Collection of ActiveRecord in a way to implement pagination.