Sha256: 76791cc06075b6d4dc37a6be4671f8aa204e3b9636a10585c4b2277d16e99c7d

Contents?: true

Size: 369 Bytes

Versions: 4

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

require 'active_record'
require 'belongs_to_polymorphic/version'
require 'belongs_to_polymorphic/associations'

I18n.load_path << File.expand_path('config/locales/en.yml')

module BelongsToPolymorphic; end

# Extend ActiveRecord::Base with belongs to polymorphic associations
ActiveRecord::Base.include BelongsToPolymorphic::Associations

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
belongs_to_polymorphic-0.2.99 lib/belongs_to_polymorphic.rb
belongs_to_polymorphic-0.2.1 lib/belongs_to_polymorphic.rb
belongs_to_polymorphic-0.2.0 lib/belongs_to_polymorphic.rb
belongs_to_polymorphic-0.1.3 lib/belongs_to_polymorphic.rb