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.

Entries from 2018-01-01 to 1 year

RabbitMQ with Ruby on Rails in 2018 for Web Application Development

An Introduction to RabbitMQ: RabbitMQ is a message broker software where applications connect to the queue and transfer a message onto it. When one application server sends the request to another application server, RabbitMQ works as a que…

Ruby on Rails Action Cable Tutorial for Developing Real Time Web Application

Action Cable is a powerful feature introduced in Rails 5. Using action cable one can develop real-time web applications. Action cable uses Web Sockets to create full duplex communication between application’s server and client. Using actio…

What is Automated Software Testing and When Choose Automation Over Manual Testing?

As software testing is moving from manual into automation at very fast speed, at times testers get into a scenario where they need to opt what needs to be automated, when to automate and why to opt for automated software testing? If you ar…

Nine Array Methods in Ruby Programming and their Differences - You Should Know About!

Nowadays, data handling is a big responsibility for every web and mobile application. Arrays make the process easier and it can handle any list of data. Once you have data in an array, you can easily sort it, remove duplicates, change its …

Token Based Authentication API in Rails with the help of JWT and Knock

If you want to create Rails Application dependent on API only and you have a requirement to provide Token based authentication in your application. So you can use JWT+ KNOCK token based Authentication solution. Knock is an authentication s…

Unit Testing Significance in Ruby on Rails Software Development

In this blog we will discuss about Unit Testing, the very first thing that we need to know is when the Unit Testing is being performed. Unit testing is the initial level of software testing, that is performed on the application source code…

A Beginner’s Guide to Angular Architecture for Front-End Development

We have gone through many web applications and mobile applications which do not reload the entire page but instead reloads only the required section. These are nothing but Single Page Applications (SPA) which are developed using Angular. A…

Introduction to FontAwesome 5: Font Awesome 5 is upgraded version of Font Awesome 4, It has a more attractive icon with big improvement icons as compare to Font Awesome 4 Some improved points are listed below: FontAwesome 5 icons are drawn…

Cron job in Ruby on Rails application – A Complete Tutorial for Beginners

A scheduled task is very important in Ruby on Rails application. Ruby on Rails does not have this type of “out-of-the-box” feature, but we can use the Cron job to achieve the purpose. Cron can be scheduled to send a reminder email, or sche…

Simplifying Admission Procedures using Ruby on Rails Technology

Every University has thousands of applications streaming in for each course. A single application has a minimum of three stages – the document submitted by the student, his/her interview and finally, uploading the financial proof. Managing…

How to deploy Ruby on Rails Code on production server with Passenger and Apache?

In this blog, you are going to learn about the deployment of rails application on the production server with its configuration setting in Apache. For this, you need to have Ruby, Rails, MySQL installed in your server system. Let’s begin wi…

Increase your Scalability using Redis in Ruby on Rails Application

Redis is an open source very fast, non-relational, in-memory data structure store. It stores data in the form of a key-value pair. Redis has a support of data structure like sets, hashes, strings, list. Redis is mostly used for the cache s…

Six rules to make Ruby On Rails code Crisp, Absolute and Clear!

In my coding lifetime, I have enhanced and improved my coding style after client feedback and guidance. I have learned over the years of time, that there aspects and points that has utmost importance in the coding of Ruby on Rails (RoR) ap…

Automated testing is extremely on the boom, across the board nowadays and obviously Ruby has its own arrangements to make it work for Ruby on Rails developers. One of these is RSpec, a madly prevalent tool for mechanized testing. The fortu…

GitHub - The Most Useful Code Committing Platform for Software Developers

When working in a team, you may have come across a situation wherein there are many copies of Code of your Ruby on Rails Application and then you really don't know if it has been updated,well-organized or well merged, for that matter, have…

Export HTML Table Data into Excel Using jQuery in a Ruby on Rails Application

Export data in HTML table is one of the most convenient features in the web application. Basically export means the user can download the data in some format like Excel, PDF or CSV. Once the data get exported it can be used offline. Nowada…

How to Automate Testing & Reading of QR Code in Your Ruby On Rails Application

QR Code: Why they are more helpful than a standard standardized identification? Is that they can store more information, including URL connections, content and so on. Here, I am automating - I mean to say scanning/reading QR code without a…

RSpec is Bound to make an impact in TDD & BDD

What is Rspec? Before implementing Rspec you should know what is the actual meaning of Rspec? R stands for ‘Ruby’ and the meaning of ‘Spec’ is Specification. RSpec is a unit test framework used in Ruby on Rails web application development.…

Boost Your Business to Success with Virtual Exhibition

Everything is shifting from a physical, tangible experience to a more personalized, yet virtual interface. The dating game has changed with Tinder and you can even experience landing on the moon from Apollo 15 by just putting on those VR g…

The Ultimate Deal for Creating a Simple 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…

Cocoon Gem in Ruby on Rails  -  Programming Tips

There are a number of gems used in Ruby on Rails Framework. Cocoon gem is one of them; this gem is basically used for Nested forms, multiple models and in multiple attributes in one form. Nested forms in Rails are the forms which are used …

All New Features Introduced in HTML 5 and CSS 3

As a web developer, everyone knows the importance of HTML & CSS for making his or her web pages to be interesting. We all know that web languages upgrade regularly, so all web developers need to stay current and updated. The latest version…

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…