Authorize Net (AIM) method enables internet merchants to accept online payments via credit card. We shall see how to integrate authorize net payment gateway inside a rails app to accept online payments using activemerchant library. Register for authorize net sandbox account click here Payment gateway credentials Payment & creditcard form Payments Controller Generate & Migrate Payment … Continue reading How To Integrate Authorize Net (AIM) Payment In Rails
Category: Ruby on Rails
How To Design Rails API Using Rabl & Devise
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
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
