lib/alba.rb in alba-2.1.0 vs lib/alba.rb in alba-2.2.0
- old
+ new
@@ -2,9 +2,11 @@
require_relative 'alba/version'
require_relative 'alba/errors'
require_relative 'alba/resource'
require_relative 'alba/deprecation'
+require_relative 'alba/railtie' if defined?(Rails::Railtie)
+
# Core module
module Alba
class << self
attr_reader :backend, :encoder