Ruby in Rails
  • Home
  • Rails
  • Ruby
  • About
GitHub icon LinkedIn icon
Subscribe
akshay

Akshay Mohite

Hi there! I am a Ruby on Rails & ReactJS Enthusiast, building some cool products at DTree Labs.

133 posts •
Rails

Ruby get file extension from string

Sometimes developer requires to extract only file extension from the string object. File class can be used to perform this operation. We will see how to use File class to get the extension

Akshay Mohite Akshay Mohite 2 min read
Rails

Difference between && and and in Ruby

   Difference between && and and in ruby is mainly the Precedence of these operators. ‘and’ and ‘&&’ both have different precedence. This tutorial will help understanding with the help of examples.

Akshay Mohite Akshay Mohite 1 min read
Rails

Ruby difference between collect and map

This is common question for Ruby on Rails developer(Beginner). Map and Collect both are looping methods used on Array, Hash etc. This tutorial will help understanding the exact difference between these two methods.

Akshay Mohite Akshay Mohite 2 min read
Rails

RVM basic commands

rvm install, rvm uninstall, rvm use, rvm list, rvm upgrade, rvm get stable, rvm gemset like commands will be illustrated.

Akshay Mohite Akshay Mohite 4 min read
Rails

can’t find the ‘libpq-fe.h header *** extconf.rb failed ***

can’t find the ‘libpq-fe.h header *\* extconf.rb failed **, you may find this when you get error installing pg gem in your ruby environment.

Akshay Mohite Akshay Mohite 2 min read
Rails

Ruby Count vs Length vs Size

These methods are used on Arrays, Hashes or Objects. This tutorial will illustrate difference between count length and size.

Akshay Mohite Akshay Mohite 2 min read
« Newer Posts Page 18 of 23 Older Posts »
Ruby in Rails © 2025
Latest Posts Github Twitter LinkedIn

Subscribe to Ruby in Rails

Stay up to date! Get all the latest posts delivered straight to your inbox

Cookiebot session tracker icon loaded