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

15 commits

Author SHA1 Message Date
Akira Matsuda
05ff5615fa Use AS::Concern to extend class methods 2015-02-11 15:34:35 +09:00
Tomohito Ozaki
4cbeddb95a Refer ActiveRecord::Base from top level namespace 2014-03-03 14:33:30 +09:00
Akira Matsuda
5894d6805e fixes #165 avoid overwriting AR::Base inherited method
Kaminari can now coexist with other gems that defines `inherited`
2011-12-12 07:24:26 +09:00
Akira Matsuda
689642275c Merge branch 'master' of https://github.com/Casecommons/kaminari
Conflicts:
	lib/kaminari/models/active_record_extension.rb
	spec/models/scopes_spec.rb
2011-08-21 15:58:57 +09:00
Akira Matsuda
edcdbeee44 Merge pull request #108 from seejohnrun/master
Inheritance
2011-08-20 17:14:42 -07:00
Akira Matsuda
af3e172ae1 cut off full path requires
https://twitter.com/#!/joshkalderimis/status/78481204705361920
2011-06-09 00:37:26 +09:00
Grant Hutchins & Sam Obukwelu
6998b5f0f5 Active Record models that were subclassed before Kaminari::ActiveRecordExtension is included pick up the extensions. 2011-05-20 18:17:28 -04:00
John Crepezzi
f634362eb1 Only add extensions to direct descendents of ActiveRecord::Base 2011-05-10 11:35:17 -04:00
Akira Matsuda
69a59356bf fixes #65 avoid duplicating order_values 2011-05-04 00:16:40 +09:00
Akira Matsuda
e4ec3ad450 goodbye TERRIBLE HORRIBLE NO GOOD VERY BAD HACK!
calling `super` at the bottom does the healthy initialization. Thanks to this commit again! https://github.com/amatsuda/kaminari/commit/cb65a17
2011-04-19 19:01:23 +09:00
Akira Matsuda
f2407f9e8b format 2011-04-19 19:01:23 +09:00
Jan Xie
ebdec4b1d5 default_scoping changed to default_scopes in rails 3.1.0 2011-04-19 19:01:23 +09:00
Akira Matsuda
0b1467d405 whitespace 2011-02-24 22:05:19 +09:00
Rolf Timmermans
cb65a17c45 Do not break ActiveRecord::Base.descendants, by making sure to call super from ActiveRecord::Base.inherited. 2011-02-24 09:19:51 +01:00
Akira Matsuda
60a91a9667 digging a directory and moving files into it makes me feel like being Lode Runner... 2011-02-21 03:23:14 +09:00
Renamed from lib/kaminari/active_record_extension.rb (Browse further)