Sha256: 19a2baf483e01889b8cee16225ccca9073e05135ca546361bf94058964839632
Contents?: true
Size: 378 Bytes
Versions: 1
Compression:
Stored size: 378 Bytes
Contents
# frozen_string_literal: true require 'active_record' require 'belongs_to_polymorphic/version' require 'belongs_to_polymorphic/associations' I18n.load_path << Dir["#{File.expand_path('config/locales')}/*.yml"] module BelongsToPolymorphic; end # Extend ActiveRecord::Base with belongs to polymorphic associations ActiveRecord::Base.include BelongsToPolymorphic::Associations
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
belongs_to_polymorphic-0.1.2 | lib/belongs_to_polymorphic.rb |