Archive for Ruby on Rails

Interesting Rails Questions on StackOverflow Pt 6

Comments Bookmark to delicious Digg this Technorati reddit 

What is the difference between the Rails delete and destroy class methods?

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.

Comments Bookmark to delicious Digg this Technorati reddit 

Interesting Rails Questions on StackOverflow Pt 5

Comments Bookmark to delicious Digg this Technorati reddit 

Interesting Rails Questions on StackOverflow Pt 4

Comments Bookmark to delicious Digg this Technorati reddit 

Interesting Rails Questions on StackOverflow Pt 3

Comments Bookmark to delicious Digg this Technorati reddit 

How to read an Excel Spreadsheet stored on Amazon S3 using the Spreadsheet gem?

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:

Related:
How can I upload and parse an Excel file in Rails?

Comments Bookmark to delicious Digg this Technorati reddit 

« Previous entries Next Page » Next Page »