Most of us are aware that enabling API access for rails application is easy as Rails provides RESTful APIs by default. However, a little complexity arises when some responses are expected in xml format (maybe for some legacy system) and JSON format. Complexity increases when these API calls need authentication. The initial obvious thought that … Continue reading How To Design Rails API Using Rabl & Devise
How Well Sencha Touch MVC Application Works With Rails
For sometime, we have been toying around with different frameworks to build cross-platform mobile applications. Our latest research was with Sencha Touch. This post is a tutorial to get kick-started. Installation To run Sencha Touch application you need: A running web server. I used a Rails server running on localhost:3000 A WebKit based browser like … Continue reading How Well Sencha Touch MVC Application Works With Rails
Case Study: Improving Performance of MySQL, Thinking Sphinx in a Rails app
Recently, we faced a huge performance problem with one of our installed apps. The application is a Call Center ERP solution. The Call model is updated very frequently as there are about approximately 8,000 - 10,000 calls being made everyday. For every action there is an audit trail, so updates and inserts into database are … Continue reading Case Study: Improving Performance of MySQL, Thinking Sphinx in a Rails app
