Skip to content

Commit 4a6f9b9

Browse files
authored
Include version const (#1477)
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.
1 parent cc624b9 commit 4a6f9b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ransack.rb

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class UntraversableAssociationError < StandardError; end
2121
require 'ransack/translate'
2222
require 'ransack/active_record'
2323
require 'ransack/context'
24+
require 'ransack/version'
2425

2526
ActiveSupport.on_load(:action_controller) do
2627
require 'ransack/helpers'

0 commit comments

Comments
 (0)