Check for parameters method so we don't blow up on Ruby 1.8.7
Merge pull request #22 from iamirix/master

Fix for Ruby 1.8.7