Custom model callbacks in RubyOnRails
RubyOnRails provides us with many model callbacks around the object’s lifecycle when object is being created, updated or destroyed. For example: before_create, after_create, before_update,...
View ArticleBubble Validations
We were developing a Content Management System which is composed of different components, with each component having dependency on other components in the hierarchy. Our CMS has the following structure...
View ArticleMigrating from Protected Attributes to Strong Parameters
In Rails3, we use attr_accessible or attr_protected(Protected Attributes) to white-list attributes of a model for mass assignment. In Rails4, Protected Attributes was moved out as a Gem and similar...
View ArticleIntegrating Interswitch WebPay Payment Gateway With Rails
Interswitch WebPay is a leading Nigerian payment gateway and integrating WebPAY with any website is fairly simple. At a high level this integration can be achieved with following steps: Calculate a...
View ArticleMultiple-Databases In Single Rails Application
This is a simple post to list some of the challenges faced during multiple database setup in a single rails application. The content in the post is available over the internet, we have consolidated it...
View ArticleSpreeCommerce Marketing Extension – All you need to target the right audience.
When it comes to marketing it’s important to target the right people. Say, you have the perfect marketing strategy for increasing retention or just the right content for promoting a product. What else...
View ArticleActionCable and WebSockets – Part 2(The Implementation)
You can visit the Part 1 here. THE RAILS WAY… When you create a new rails 5 application, rails generates some files for you: For any implementation of a websocket connection, we need both the client...
View ArticleActionCable and WebSockets – Part 1(The Basics)
One of the best thing about Rails is the ease with which it allows you to develop web apps quickly by providing some sensible conventions. And with Rails 5, it allows you to make real-time web apps in...
View ArticleSpreeCommerce Product Customization
As an eCommerce business you can do better than your competition by allowing your customers to customize product that they want to order. Of course not all products can be customized but if you deal in...
View ArticleClutch ranks Vinsol among the top Ruby on Rails developers
27 May 2019, San Francisco, CA – Vinsol has been selected as one of the best Ruby on Rails developers on Clutch.co – an esteemed independent platform to find in-depth and unbiased client feedback for...
View Article
More Pages to Explore .....