Skip to content

Commit

Permalink
Include version const (#1477)
Browse files Browse the repository at this point in the history
Include the file `version.rb` to define the `Ransack::VERSION` const.

Ransack defines a `VERSION` const, but the `version.rb` file is not included in the requires list in the gem entry code.
  • Loading branch information
ozydingo authored Feb 10, 2024
1 parent cc624b9 commit 4a6f9b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ransack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class UntraversableAssociationError < StandardError; end
require 'ransack/translate'
require 'ransack/active_record'
require 'ransack/context'
require 'ransack/version'

ActiveSupport.on_load(:action_controller) do
require 'ransack/helpers'
Expand Down

0 comments on commit 4a6f9b9

Please sign in to comment.