We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0d050d commit 77a8f66Copy full SHA for 77a8f66
lib/active_model/serializer/adapter/json_api/pagination_links.rb
@@ -41,8 +41,10 @@ def pages_from
41
42
def raise_unless_any_gem_installed
43
return if defined?(WillPaginate) || defined?(Kaminari)
44
- raise "AMS relies on either Kaminari or WillPaginate." +
45
- "Please install either dependency by adding one of those to your Gemfile"
+ raise <<-EOF
+ AMS relies on either Kaminari or WillPaginate for pagination.
46
+ Please install either dependency by adding one of those to your Gemfile.
47
+ EOF
48
end
49
50
def url(options)
0 commit comments