File: state_machines-activerecord.rb

package info (click to toggle)
ruby-state-machines-activerecord 0.100.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 108 kB
  • sloc: ruby: 120; makefile: 5
file content (8 lines) | stat: -rw-r--r-- 246 bytes parent folder | download
1
2
3
4
5
6
7
8
# frozen_string_literal: true

require 'active_support'
require 'state_machines/integrations/active_record'

ActiveSupport.on_load(:i18n) do
  I18n.load_path << File.expand_path('state_machines/integrations/active_record/locale.rb', __dir__)
end