Track Changes To Your Model’s Data with Paper Trail Gem

rubyonrailsdevelopment Nov 28, 2016

Paper trail lets us track all the changes in the models data for the purpose of its editing and versioning. By using this gem, we can see how a model looks, at every stage of its life-cycle and we can take it back to any version of the model data and we can even undo all the changes after a record h...

Ruby Developers

rubyonrailsdevelopment Nov 16, 2016

How to create a Ruby Gem Ruby Gems or “gem” is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries. It is easy to manage and install to your system and it can be used by various rails applications development.

Every RoR de...

Ways of Handling PayPal Refunds in Rails

rubyonrailsdevelopment Nov 8, 2016

PayPal Checkout includes payment solutions ranging from simple to robust that let the merchants as well as developers choose an integration option that can be the best-suited for their website and customers. In order to integrate Paypal Payment Gateway, we need to do the following:

  1. Have a PayPal...

How To Generate a Swagger Docs For Rails API

rubyonrailsdevelopment Oct 3, 2016

Making API for a Rails application is simple for a Ruby on Rails developer. In any case, how different clients/customers will know whether the API is working fine or not without a customer side application. Is there any answer for this which I can report for API inside the Rails application, The ans...

How to use Acts_As_Votable Gem

rubyonrailsdevelopment Sep 8, 2016

Acts_As_Votable is ruby gem specifically written for Rails/ActiveRecord models and This gem allows any model to be voted on upvote/downvote like/dislike, etc. It allows any model to be voted under arbitrary scopes using this gem we can vote any model. votes do not have to come from a user, they can...

Scheduling Recurring Events with Ice Cube Gem

rubyonrailsdevelopment Aug 24, 2016

Ice_cube is a ruby library for effectively taking care of repeated events (schedules). The force lies in the ability to indicate multiple rules, and have ice_cube rapidly make sense of whether the schedule falls on a specific date (.occurs_on?), or what times it happens at (.occurrences, .first, .al...

Volt Framework for Ruby

rubyonrailsdevelopment Aug 18, 2016

Volt – a new Framework for Ruby where both the server and client sides are written in Ruby via OPAL (a ruby to JavaScript compiler) so developer can write dynamic applications without writing a single JavaScript code. Volt is similar to Meteor but it doesn’t have all the portions of Meteor.

The Bas...

How to Add Functionality to Ruby Classes with Decorators

rubyonrailsdevelopment Jul 16, 2016

Decorators allow us to add behavior to objects in runtime and don’t affect other objects of the class. Decorators can be applied when you need to dynamically add and remove responsibility to a class. The decorator pattern is a helpful alternative to creating sub-classes. They give additional functio...

Ruby on Rails vs PHP

rubyonrailsdevelopment Jul 12, 2016

With more and more applications being built every day, programming languages too are becoming generic and all-purpose. Every programming language comes with its own set of specialization, and comparison between one programming languages to others may seem like a comparison between apples and oranges...