1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
Commit graph

11 commits

Author SHA1 Message Date
Yuki Nishijima
2769f32ec1 Do not override Mongoid::Criteria#page defined by scope
so we don't have to worry about runtime persistence. closes #326
2014-03-08 21:34:51 -08:00
Akira Matsuda
6cbd2d5645 Revert "An Engine can include app/helpers, so let's move the helpers there"
This reverts commit 2ed8adfe37.

reason: Because mounted engines on the app doesn't search the main_app's helpers, then throws "undefined method `paginate'" in the views
2013-11-10 02:58:22 +09:00
Akira Matsuda
3e1171ed0a Revert "Rails 3.0.x fails to load helpers in Engines (?)"
This reverts commit 00c912d12b.

reason: reverting back from app/helpers to ActionView::Base freedom-patch.
Because mounted engines on the app doesn't search the main_app's helpers, then throws "undefined method `paginate'" in the views
2013-11-10 02:58:22 +09:00
Akira Matsuda
00c912d12b Rails 3.0.x fails to load helpers in Engines (?)
2ed8adfe37 (commitcomment-3882694)
2013-08-21 17:02:27 +09:00
Akira Matsuda
2ed8adfe37 An Engine can include app/helpers, so let's move the helpers there
however, leaving the original module as is for now, for Sinatra compatibility...
2013-07-19 11:55:33 +09:00
Akira Matsuda
7f9be1a935 include PageScopeMethods in PluckyCriteriaMethods 2012-09-03 01:59:13 +09:00
Cyril Mougel
ed77a2215b require 'dm-aggregates' in DataMapper hook
To work fine Kaminari need dm-aggregates so it's better to require it
if the DataMapper extension is active to be sure this gem is install in
runtime and can avoid some issue see #220
2012-07-17 16:25:26 +02:00
Akira Matsuda
3d9ecb4dd1 stop abusing bang method 2012-05-23 12:54:54 +09:00
Akira Matsuda
c3223aaacd simplify load process 2012-05-23 12:54:54 +09:00
Akira Matsuda
6d7f03c5f1 duplicated require 2011-12-11 01:18:51 +09:00
Uchio Kondo
1da155b15b make it to work well with Sinatra/Padrino, thanks to #161 & #174 2011-11-21 20:15:06 +09:00