lib/paginate.rb in paginate-0.1.3 vs lib/paginate.rb in paginate-1.0.0
- old
+ new
@@ -1,13 +1,12 @@
require "i18n"
+require "active_record"
require "paginate/base"
require "paginate/config"
require "paginate/helper"
require "paginate/renderer"
require "paginate/active_record"
require "paginate/action_controller"
-
-I18n.load_path += Dir[File.dirname(__FILE__) + "/paginate/locales/**/*.yml"]
module Paginate
def self.setup(&block)
yield Config
end