Leveraging the power of RxJava in Android Apps

Travel Triangle is committed to providing a delightful experience to travellers, starting from choosing the right destination, customising their holiday experience and providing on-trip assistance. To this end, we launched our Android app in early 2015, given the increase in number of users accessing our website through mobile devices. Since launch, our Android app has […]

Continue reading


Rails PaperClip integration with Cloudinary Fetch API in a smarter way

In our application, we have been  using Paperclip with Amazon s3 for image management.  We chose Paperclip as it can integrate with ActiveRecord seamlessly  As it treats files like simple record attributes. It is used extensively across our products for various use cases. From a volume perspective we serve over 4M image requests per day. […]

Continue reading


Rails Tips – Counter Cache (.size vs .count)

* Size (rails function) is more intelligent than count (ruby function) * Notice that when you counter cache, size makes only one call to db as opposed to count which does 2 queries. 1.9.2-p320 :057 > ParentModel.find(5765).childmodel.count RequestedTrip Load (0.3ms) SELECT `parent_models`.* FROM `parent_models` WHERE (`parent_models`.`id` = 5765) ORDER BY parent_models.created_at desc LIMIT 1 SQL […]

Continue reading