What is new in Rails 5 (Features + Changes)

This article will discuss what is new in Rails 5. The changes like rails instead of rake, ruby 2.2.1+ support, performance improvements, action cable, rails api application will be discussed.

»
Author's profile picture Akshay Mohite on Rails |

Rescue nil in Ruby on Rails

Ruby on Rails developers use rescue nil to get default value if particular expression evaluation fails. rescue nil is bad, very bad in terms of performance. We will learn why it’s bad and what should be used in order to achieve the same result

»
Author's profile picture Akshay Mohite on Rails |

Github Pages Custom Domain Godaddy Setup

Developers try Setting up the Blog with Github Pages and Custom Domain with Godaddy. This tutorial will help you to set up / point your Github Pages to your Custom Domain if your custom domain is registered with Godady!

»
Author's profile picture Akshay Mohite on Rails |

Send Push notifications to Android/iOS devices using Parse

This tutorial will help you to send Push notifications to Android and iOS devices from Ruby on Rails application using Parse

»
Author's profile picture Akshay Mohite on Rails |

Ruby Screenshot Website Capture – Screencap, Phantomjs

This tutorial will discuss various tools for Ruby Screenshot capture such as

»
Author's profile picture Akshay Mohite on Rails |

Ruby Flay Gem – DRY code base

Tutorial will discuss Ruby Flay gem used to DRY up Ruby/Rails application. Flay gem enforces Best practices to be followed while coding with Ruby and Rails

»
Author's profile picture Akshay Mohite on Rails |

Resque Setup Development Mode

This tutorial will guide you setting up Resque locally in development mode with Multiple workers and how to use with Rails application to process background jobs.

»
Author's profile picture Akshay Mohite on Rails |

Memoization in Ruby

This tutorial will help you understanding Memoization pattern in Ruby. Memoization is different from Lazy Initialization. Rails had Memoize to support memoization pattern which will be discussed as well.

»
Author's profile picture Akshay Mohite on Ruby |

Integrate ActiveAdmin with Rails

This tutorial will help you integrating ActiveAdmin with Rails 4+ project. ActiveAdmin is open source administrative framework for Ruby on Rails.

»
Author's profile picture Akshay Mohite on Rails |

Difference between to_s and inspect in Ruby

While running a script in Ruby, we usually want to log data from objects for debugging purpose  puts, p, logger methods are used to log along with to_s, inspect methods to log object. This tutorial will give brief about each method and when to use which one.

»
Author's profile picture Akshay Mohite on Rails |

Access specifiers in Ruby

This tutorial will discuss how to define Access specifiers in Ruby and what do they mean for classes and modules where they are being used.

»
Author's profile picture Akshay Mohite on Rails |

Profiling Rails Apps with Rack-Mini-Profiler

This tutorial will discuss profiling Ruby on Rails Applications using rack-mini-profiler gem. rack-mini-profiler gem helps finding performance bottlenecks by showing speed badge on every page which can be configured to be displayed in particular environments. E.g. development/staging/production environment.

»
Author's profile picture Akshay Mohite on Rails |

Rails Pluck vs Select and Map/Collect

In Rails, Pluck vs Select can be understood while active record querying. Pluck is used to get an array of particular attribute based on particular condition. Same can be obtained using select and then collect on a model. This tutorial will help you understand the difference between these ways of collecting specific attribute values.

»
Author's profile picture Akshay Mohite on Rails |

Ruby Pass by Value or Reference

Ruby pass by value or reference, which one of them is used when object/variables are passed to the functions. This tutorial will help you understand how passing value/objects in Ruby work.

»
Author's profile picture Akshay Mohite on Rails |

Rails meta_request gem and Rails Panel

meta_request gem is used with Rails application for profiling and performance improvement. This gem is used with Rails Panel chrome extension. This tutorial will help you understand how to use both for profiling and performance improvement of your Rails Applications.

»
Author's profile picture Akshay Mohite on Rails |