lib/will_paginate/railtie.rb in will_paginate-3.0.pre vs lib/will_paginate/railtie.rb in will_paginate-3.0.pre2
- old
+ new
@@ -1,11 +1,9 @@
require 'will_paginate'
require 'will_paginate/collection'
module WillPaginate
class Railtie < Rails::Railtie
- railtie_name :will_paginate
-
initializer "will_paginate.active_record" do |app|
if defined? ::ActiveRecord
require 'will_paginate/finders/active_record'
WillPaginate::Finders::ActiveRecord.enable!
end