Skip to content

Commit

Permalink
Allow the gem to be used by Rails projects without active record (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
marclerodrigues authored Jun 23, 2024
1 parent 6ceac38 commit 5edc34f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/jsonapi/filtering.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
begin
require 'active_record'
require 'ransack'
require 'ransack/predicate'
require_relative 'patches'
rescue LoadError
end
Expand Down

0 comments on commit 5edc34f

Please sign in to comment.