Compatibility for Rails 3.1.
Bumped version to 0.0.4 for compatibility for Rails 3.1.