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

19 commits

Author SHA1 Message Date
Akira Matsuda
b7257f1442 The Rails module could be defined by some other gem than rails
kaminari depends on actionpack that in turn depends on rails-html-sanitizer the line https://github.com/amatsuda/kaminari/blob/master/lib/kaminari.rb#L36
returns true because rails-html-sanitizer defines the class Rails::Html::Sanitizer: https://github.com/rails/rails-html-sanitizer/blob/master/lib/rails-html-sanitizer.rb
see: https://github.com/amatsuda/kaminari/issues/796#issue-158648760

closes #796
2016-06-07 14:07:26 +09: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
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
Hrvoje Šimić
c9139677ae better warning message 2012-09-22 22:33:40 +03: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
Łukasz Śliwa
c5659eb03f Defects grape gem. 2012-03-13 23:29:51 +01:00
Łukasz Śliwa
be46fb7648 Now kaminari supports grape gem. 2012-03-13 22:58:55 +01:00
Akira Matsuda
56df995be8 formats 2011-12-17 16:39:10 +09:00
Sergey Parizhskiy
9d5c575d11 helper method for detect framework 2011-12-17 16:39:10 +09:00
Sergey Parizhskiy
83f8395433 there is no need to slash a single qoute in double qoutes 2011-12-17 16:39:10 +09:00
Uchio Kondo
507617cb58 fix load order when using with sinatra 2011-12-11 13:07:08 +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
Akira Matsuda
af3e172ae1 cut off full path requires
7848120470
2011-06-09 00:37:26 +09:00
Akira Matsuda
74736637c8 from jeweler to bundler
because combination of gemspec method and jeweler task caused circular dependency in the generated metadata
2011-04-21 01:23:34 +09:00
Akira Matsuda
749c04dac6 a constant for Kaminari version 2011-04-16 21:33:45 +09:00
Akira Matsuda
7e38db7542 enginize 2011-02-05 23:45:49 +09:00
Akira Matsuda
bfa1449f16 implement AR scopes 2011-02-05 23:45:49 +09:00
Akira Matsuda
4db3397b4d Initial commit to kaminari. 2011-02-05 22:32:10 +09:00