Skip to content

Commit

Permalink
Include version const
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 committed Jan 24, 2024
1 parent cc624b9 commit ef6bff1
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 ef6bff1

Please sign in to comment.