Ruby on Rails

Image cropping and uploading to Amazon S3 using Ruby on Rails

The image cropping and uploading is essential part of any web application now days. Recently, I was working on a web application built on ROR platform. Initially we were using attachment_fu gem for image uploading but later there were requirements of cropping the image. I looked for the option for cropping in the attachment_fu but …

Image cropping and uploading to Amazon S3 using Ruby on Rails Read More »

Improve database performance using Amazon simpledb on Ruby on rails

We were enjoying mysql database performance until we had large data in the database. The problem started with millions of data in the tables and increasing rapidly on daily bases.It was taking much more time to retrieve data from those tables.We already had proper indexing on the columns but still it was taking some time(20-25 …

Improve database performance using Amazon simpledb on Ruby on rails Read More »

Upload files using attachment_fu and swfupload on rails

Uploading files in ruby on rails application seems trivial task using attachment_fu plugin but it become non-trivial when you need to display upload progress.Recently we had requirements from client to show the progress bar while uploading the image/video files. We could show the file upload progress only when we upload with flash. We found swfupload …

Upload files using attachment_fu and swfupload on rails Read More »

Minify, Compress and Synch your assets on Amazon S3 using Capistrano and Rails

I hope every one is aware of Amazon’s S3 service and using this service for Static contents like JS/CSS/Images. It’s a wonderful storage server with high-performance and reliability at fairly low price.I am using this service for my project and main challenge was to automate the process of uploading the static contents on the S3. …

Minify, Compress and Synch your assets on Amazon S3 using Capistrano and Rails Read More »

Scroll to Top