Sha256: 40069c6861fe7d32b7d8f769f70a78e150b46eb6eac84277cfc1bab89d36054c

Contents?: true

Size: 483 Bytes

Versions: 4

Compression:

Stored size: 483 Bytes

Contents

require 'netzke/active_record/attributes'
require 'netzke/active_record/combobox_options'
require 'netzke/active_record/relation_extensions'

module Netzke
  module ActiveRecord
  end
end

if defined? ActiveRecord
  # Extend ActiveRecord
  ActiveRecord::Base.class_eval do
    include ::Netzke::ActiveRecord::Attributes
    include ::Netzke::ActiveRecord::ComboboxOptions
  end

  ActiveRecord::Relation.class_eval do
    include ::Netzke::ActiveRecord::RelationExtensions
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
netzke-basepack-0.7.7 lib/netzke/active_record.rb
netzke-basepack-zh-0.7.6 lib/netzke/active_record.rb
netzke-basepack-0.7.6 lib/netzke/active_record.rb
netzke-basepack-0.7.5 lib/netzke/active_record.rb