Do you still need activesupport as a gem dependency? It breaks stuff...
-
Mislav
- State changed from new to resolved
Your last point is valid. The gem dependency only caused problems. Although you shouldn't load will_paginate before Rails! Then you need an extra WillPaginate::enable after the framework loads.
See e548631. Github should rebuild the gem shortly.
-
Chad Woolley
Thanks for the prompt response.
Not sure about the "enable" comment, though.
We only activate the gems in preinitializer, which means calling the rubygems 'gem' method to put the gems' specified entries on the load path.
They don't get required until the normal will_paginate require call in the initializer/environment.rb.
So, it shouldn't matter what order they are activated in, or put on the load path, as long as they are required in the correct order. At least, I think this should be the case unless some very bad un-namespaced promiscuous monkey-patching is going on. Right?
-
Mislav
Oh, I missed that you said "activate your gems" instead of "require". All is well ;)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.