Sha256: 68e7a5df57a380914a84532ee312cff24070901fb94b0df70530506e81ab6121
Contents?: true
Size: 291 Bytes
Versions: 24
Compression:
Stored size: 291 Bytes
Contents
module Forge module CanBeForeign def self.included(mod) mod.extend(ClassMethods) end module ClassMethods def foreign_fields Forge::I18nFields[self.to_s.downcase.to_sym] end end end end ActiveRecord::Base.send(:include, Forge::CanBeForeign)
Version data entries
24 entries across 24 versions & 1 rubygems