January 25, 2012 at 1:57 am · Filed under Ruby on Rails
The delete methods bypass the various Active Record callback and validation functions, while the destroy methods ensure that they are all invoked. In general, it is better to use the destroy methods if you want to ensure that your database is consistent according to the business rules defined in your model classes.
Permalink
February 22, 2011 at 5:28 pm · Filed under Ruby on Rails
I wanted to parse an Excel spreadsheet stored on Amazon S3 (AWS::S3) using the Spreadsheet gem.
I spent a lot of time trying to get this to work and was not able to find a good example anywhere on the internet so here is the code snippet:

Permalink