fix LengthHiding middleware for Rails 3.0
Merge pull request #11 from ehlertij/master

Fix LengthHiding middleware for Rails 3.0