Post navigation

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 here to bring it at … Continue reading →

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 feature was implemented at the controller level, which is now known … Continue reading →

Writing Javascript code using MVC framework and rendering templates at client side is the new fancy way of writing web applications. As they say, when Rails is the backend, Emberjs at frontend is a good fit. The beauty of the … Continue reading →

Recently in one of our e-commerce projects we implemented phone verification for users to have authentic accounts at our website. The requirement was to have one account per user to avoid misuse of offers provided by our service on scenariosÂ like … Continue reading →

Sencha touch is a Javascript framework based on the most popular MVC pattern. It lets you build cross platform mobile web application using Javascript, HTML5 and CSS that amazingly look like native mobile applications. I think it can be described … Continue reading →

In location based web applications we come across a problem that requires us to fetch some information from our database that is at some certain distance from a particular location. Generally this problem can be defined as following. Give me … Continue reading →

Rails itself is not good at asynchronous event handling. And because of this it is bad at push techniques and also not a very good candidate for real time web applications. This problem exists in Rails because we can’t keep … Continue reading →

I originally wrote this article for fifth issue of Rails Magazine. In addition to print version, you can download all issues of Rails Magazine in pdf for free. Not only that, they also allow authors to self-publish their articles on … Continue reading →

TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances. Redbox is a library that pops a modal box over a web … Continue reading →