Compatibility for Rails 3.1.
Bumped version to 0.0.4 for compatibility for Rails 3.1.
Fixed a bug related to instance variables in child classes in Rails 3.
Merge pull request #3 from kapitan-petko/master

Provided support for Rails 3.1