Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Removed deprecation warnings surrounding 'named_scope' #1
I changed the calls to the Rails 3 deprecated method
Since this is just a simple method name change for a method that is already tested in the Rails source, I don't think there should be any failures from my changes. If you would like to help me get the tests running that would be great too!
Also, I am now requiring app/models/preference.rb. I'm not sure how this ever worked before, as I didn't see anyplace that this file was being required. Maybe the intention was to copy this file over to the projects app/models directory, but the README didn't state that. Anyway, it is now being required and works.