Bodacious / blogit-admin

Admin actions for the blogit rails engine
MIT License
0 stars 7 forks source link

Rails version check fails with Rails 4.2 #1

Closed natchiketa closed 9 years ago

natchiketa commented 9 years ago

I'm using the latest stable version of Ruby and Rails, the comparison of the integer and Rails.version (a string representation of a float) fails. Rather than casting that, use Rails::VERSION::MAJOR which is already an integer.

Bodacious commented 9 years ago

Thank you so much for this @natchiketa

blogit-admin is still a little premature but we appreciate any help we can get in tightening it up faster.