Fix Rails 4 deprecation warning
Changed so that it works for both Rails 3 and Rails 4
Fixed Rails 4 deprecation warnings
Don't rely on Rails for version information
In Rails 4 you have to pass a lambda to the :order option
Added syntax highlighting
Revert to original solution
Merge pull request #11 from mischa78/master

Fix Rails 4 deprecation warnings (this time with passing tests)