Archive for Ruby on Rails

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 

Interesting Rails Questions on StackOverflow Pt 2

Comments Bookmark to delicious Digg this Technorati reddit 

Interesting Rails Questions on StackOverflow Pt 1

Really wish there was a way to save or favorite questions on StackOverflow

Here is a list (in no particular order) of Rails questions I found interesting on StackOverflow and use for reference:

  1. Backend Administration in Rails
  2. Ruby on Rails State Machines (Related: Crossing borders: Extensions in Rails – The anatomy of an acts_as plug-in)
  3. What is the best Rails example app?
  4. How to integrate Facebook in Rails?
  5. How to transfer a database using Rails?

Comments Bookmark to delicious Digg this Technorati reddit 

Creating Search Engine Friendly URLs for a Rails 3 app

I was working on converting a simple content site to Rails and I needed to maintain the existing search engine friendly URLs so the site does not loose its ranking.

The URL format I needed was /section-name/page-name

I looked into Route Globbing (a way to specify that a particular parameter should be matched to all the remaining parts of a route) but I went with the ‘No controller names’ technique suggested in this excellent post by August Lilleaas. This was the simplest and the easiest solution to implement for my app.

Comments Bookmark to delicious Digg this Technorati reddit 

« Previous Page« Previous entries « Previous Page · Next Page » Next entries »Next Page »