ROR Application Development Tips

I'm Ruby on Rails developer. I love to share my experience, technical knowledge. I work at Crypex Technologies which is developing applications in ROR for more than a decade.

Virtual Studio Code for Ruby on Rails Development

Introduction to Vscode (Visual Studio Code) Visual Studio Code i.e. Vscode is modern and robust code editor developed by Microsoft. We can use it for setting up Ruby on Rails development environment. It combines the simplicity of code edit…

A better way to write SQL queries in Rails using Arel Library

Being a Rails developer we are familiar with ActiveRecord queries, but not so much with Arel. Arel is a library which allows us to customize our queries in object-oriented manner without having to use manual SQL and string interpolation. W…

How to Track Page Impressions in Ruby on Rails?

Many times, we need to track the page views of any page such as profile page, shopping sites page in a Ruby on Rails applications, for which we can make use of Impressionist gem to track those page details easily. It is a lightweight plugi…

AngularJS Web Application Automation with Protractor Tool

The dynamics of web development have changed over the years. The HTML single page coding with CSS styling is an obsolete method now. One of the open source front end web application framework is the JavaScript based AngularJS, which has be…

GraphQL with Ruby

Now a day’s most of the web or mobile applications fetch data from server which is stored in a database. REST API provides an interface to stored data that require by the applications. GraphQL is a query language for REST API's not for ser…

How to send email without using any server side language with the help of node.js?

What is node.js ? Node.js is a server-side platform built-in JavaScript framework The steps to be followed : Step 1: Install node.js Step 2: Install npm (node package manager) Step 3: Install node mailer by running : “ npm install nodemail…

Data Searching in Ruby on Rails using SearchKick Gem

What is SearchKick Gem? Searchkick Gem is a Ruby on Rails gem that runs on top of Elasticsearch and makes it easy searches in a Rails-friendly fashion. Searchkick supports the complete Elasticsearch Search API, as by using it our search be…

How to manage postgres through command line in Ubuntu?

Step 1: First install postgres in Ubuntu system using following commands. $ sudo apt-get update $ sudo apt-get install postgresql postgresql-contrib libpq-dev To check psql (postgres) version. $ psql –version Step 2: Now to create root use…

Best In Place Gem In Ruby On Rails Tutorial

The best_in_place gem is the easiest solution for in place editing in Ruby on Rails. This gem provides functionality of “in place editing” in ruby on rails without writing any extra ajax code. It supports text inputs, textarea, select drop…

Django

What is Django: Django not only used for making websites, rather than it is used for creating web applications. Django can be used to create dynamic high-security web applications. Django is an open source web application framework, writte…

Sending Emails in Rails Applications

Action Mailer is the Rails component that enables applications to send and receive emails. In Rails, emails are used by creating mailers that inherit from “ActionMailer::Base” in app/mailers. Those mailers have associated views that appear…

Using JWT in Rails

JWT is a Json Web Token,It is a standard and has been implemented in almost all popular programming languages. Hence, they can be easily used or exchanged in systems implemented in diverse platforms. JWT has libraries for almost all platfo…

Bulk Mailing Using Sidekiq

Introduction: Sometimes the rails application requires sending the bulk mails using action mailers on the single attempt. The user can be able to send them seamlessly. But, this task is not possible in synchronous way. This will affect who…

Data Scraping in Ruby on Rails using Nokogiri and Mechanize Gem

What is Data scraping? Website/Data Scraping is a technique to operating large amounts of data from websites whereby the data is extracted and displayed in own sites or it can be stored to a File/Database. Data scraping is basically used w…

Ruby on Rails application using Devise

Devise is a flexible authentication solution for Rails. It is a complete MVC solution based on Rails engines. It allows you to have multiple models signed in at the same time. It hashes and stores a password in the database to validate the…

DevOps Tutorials for Beginners by Soma Paul

Introduction to DevOps… DevOps is a combination of Development (Software Development) and Operations (Software Productions/IT Operations…) What is DevOps? DevOps is not a technology or tool, it is a concept of behavior, and it is an extens…

Seeking the Next Greatest Generation

Consider this your invitation to become part of an extraordinary movement transcending the bitter political divide and united in shared purpose blind to color, party and religion. We reach out not just to the young, but young of heart and …

How to combine data from two different tables into new rows to be displayed as one table in Rails application?

Let’s start with an example that you have two different tables called InternalEmail and ExternalEmail. internal_emails Id (integer) sender_id (integer) content (text) Subject (character varying) recipient_email (character varying) Status (…

Still don’t know anything about Blockchain? Read this to know everything!

Blockchain was the idea originally developed by a group of people known by the pseudonym, Satoshi Nakamoto. But since then, it has evolved into something greater, and the main question every single person is asking is: What is Blockchain? …

Instagram API Integration to get Instagram feed to your website

To integrate the Instagram API in your website, you need you have to follow following process Log in to Instagram and open this page https://instagram.com/developer/clients/manage Click on the button «Register a New Client». Then Fill all …

Pagination in Rails With the will_paginate-bootstrap Gem

To divide large number of records into multiple parts, we use pagination. It allows user to display a part of records only. Loading all records in a single page may take time, so it is always recommended to created pagination. In will_pagi…

How to make Search Engine Friendly url in Ruby On Rails?

FreindlyId gem is used to make friendly looking URLs i.e it lets us replace id’s in the URL with the string. It also prevents hacking of the web-page since the id gets hidden by the slug. Before friendly_id: After friendly_id : Here are th…

Digital Music Distribution Services Overview by Cryptex Technologies

Artists or Bands create songs. These songs are recorded in the digital format like mp3, wav, aac etc. Every artist would like to promote their songs and make money out of it. This is possible by uploading the songs to different digital pla…

Enabling Cross Origin Resource (CORS) Sharing In Rails

How can my application share it's resources with another client? This is where the CORS, or Cross Origin Resource protocol comes in. CORS introduces a standard mechanism that can be used by all browsers for implementing cross-domain reques…

How to use FFmpeg tool in Rails Application

FFmpeg is an extremely powerful and versatile command line tool for converting any multimedia files. It is free and available for Windows, Mac and Linux machines. Whether you want to join two video files, extract the audio component from a…

Implement Voting functionality in Ruby

In many applications we need to provide the ability to like/dislike, upvote/downvote kind of functionalities and in order to implement this there is an awesome gem available in Ruby on Rails called “Acts as Votable” gem.These are the simpl…

Blockchain API Integration for Payments

How blockchain works Blockchain is a distributed database, which consists of two records: Individual transactions Blocks Individual transactions consist of “Header” and “Data” which is related to transactions. Transactions take place for a…

Rails Plugin for search, sort & filter data - Filterrific

What is filterrific? ‘filterrific’ gem is used for filtering the data only. It is a Rails Engine plugin that makes it easy to filter, search, and sort your ActiveRecord lists. Ruby On Rails Gem Filterrific Features of filterrific gem: It I…

Introduction of Docker Tools For Beginners

What is Docker? Docker is the world's leading software container platform. Docker is a tool designed to make it easier to deploy and run applications by using containers. Containers allow a developer to package up an application with all o…

Simple way to document API in Ruby on Rails using swagger document

After creating REST API, it’s important that API should be documented, so the others can use the documentation and understand the requirement and implementation of API. Swagger documentation provides the interface to REST APIs which allows…