Revert "revert changes for ruby 1.9.3 and rails 2.3.18"

This reverts commit 315b5252bf9269f4ea80b5c969b47510ca45e97b.