Skip to content

Commit 09828c0

Browse files
committed
[Misc] Require engine file instead of autoload, Fixes #546
1 parent d9d6025 commit 09828c0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/acts-as-taggable-on.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,21 @@
33
require 'active_support/core_ext/module'
44
require 'action_view'
55

6+
require_relative 'acts_as_taggable_on/engine'
7+
68
require 'digest/sha1'
79

810
module ActsAsTaggableOn
911
extend ActiveSupport::Autoload
1012

11-
autoload :Engine
1213
autoload :Tag
1314
autoload :TagList
1415
autoload :TagListParser
1516
autoload :Taggable
1617
autoload :Tagger
1718
autoload :Tagging
1819
autoload :TagsHelper
20+
autoload :VERSION
1921

2022
autoload_under 'taggable' do
2123
autoload :Cache

lib/acts_as_taggable_on/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module ActsAsTaggableOn
2-
VERSION = '3.2.4'
2+
VERSION = '3.2.5'
33
end
44

0 commit comments

Comments
 (0)