Sha256: b725b5d0dfbfea42ca7d10b0d61eba5f70e279f098d5ac420f6448d7f1300c7d
Contents?: true
Size: 714 Bytes
Versions: 1
Compression:
Stored size: 714 Bytes
Contents
require 'active_record' require 'active_support/concern' require 'heredity' require 'protobuf' # To support Rails 4 apps that use Mass-Assignment Security, attempt to # load the protected_attributes gem. If it's not present, move along... begin require 'protected_attributes' rescue LoadError # These aren't the droids you're looking for... move along. end require 'protobuf/active_record/config' require 'protobuf/active_record/model' require 'protobuf/active_record/version' module Protobuf module ActiveRecord def self.config @config ||= Protobuf::ActiveRecord::Config.new end # Initialize the config config end end require 'protobuf/active_record/railtie' if defined?(Rails)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
protobuf-activerecord-3.0.2 | lib/protobuf-activerecord.rb |