"DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:test) instead."
Fix a bug where :theme option for #paginate method doesn't work properly

fixes #566
Merge remote-tracking branch 'upstream/master'