How to integrate Semantic UI Rails with Rails App

Semantic UI is the new popular CSS, JS framework for beautifying your Website. Tutorial will help understand how to integrate Semantic UI with Rails application and how to test the sample Semantic UI components with your Rails application.

»
Author's profile picture Akshay Mohite on Rails

How to integrate Twitter Bootstrap Rails with Rails

How to Integrate Twitter Bootstrap Rails with Rails project is the First question that developers have to face before starting a new project. It can be done using Gem twitter-bootstrap-rails or manually.

»
Author's profile picture Akshay Mohite on Rails

ActiveRecord Attributes – access using Strings, Symbols and Direct Access

Attributes can be accessed from ActiveRecord in various ways including symbolised, stringified or direct access. Each type of access has it’s own advantages and disadvantages as we will see in this tutorial.

»
Author's profile picture Akshay Mohite on Rails

Rails NameError uninitialized constant class solution

rails nameerror uninitialized constant class will occur if your rails console is not loaded with configuration of the class file containing method being called.

»
Author's profile picture Akshay Mohite on 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 name.

»
Author's profile picture Akshay Mohite on 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.

»
Author's profile picture Akshay Mohite on 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.

»
Author's profile picture Akshay Mohite on Rails

RVM basic commands

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

»
Author's profile picture Akshay Mohite on 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.

»
Author's profile picture Akshay Mohite on 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.

»
Author's profile picture Akshay Mohite on Rails

Rails RecordNotFound Exception Handling

Rails RecordNotFound exception occurs when there is error while fetching records from database. RecordNotFound is one of the Exception Handling class provided by Rails.

»
Author's profile picture Akshay Mohite on Rails

SVN command to check modified files

While using SVN command line, you may need to see status codes of modified/changes files. In this tutorial we will learn SVN command to check modified files.

»
Author's profile picture Akshay Mohite on Subversion

database.yml rails

Database.yml is one of the most important files in rails project, database.yml rails is actualy a configuration file.

»
Author's profile picture Akshay Mohite on Rails

Lazy loading in rails – Rails Feature

Lazy loading in rails is the amazing feature provided with rails. In console you might have tried to examine how lazy loading in rails actually works. In this tutorial, we will learn about this Rails - Lazy loading feature with examples.

»
Author's profile picture Akshay Mohite on Rails

Basic svn commands with examples

In this tutorial, we will learn basic svn commands like svn commit, svn checkout, svn copy, svn merge, svn status, svn delete, svn merge, svn log etc that are extremely useful. And how these commands are used with proper example.

»
Author's profile picture Akshay Mohite on Subversion