Sha256: 9cce9fcfd438aac4e882b18ac43faf4c836a18a81b90cc34180e0516abe55ac9

Contents?: true

Size: 319 Bytes

Versions: 9

Compression:

Stored size: 319 Bytes

Contents

module Tableling

  module ActiveRecord

    module Extensions
      extend ActiveSupport::Concern

      module ClassMethods
        def tableling options = {}, &block
          @model ||= Tableling::Model.new(:modules => Tableling::ActiveRecord::Model, :model => self, &block)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tableling-rails-0.0.11 lib/tableling-rails/activerecord/ext.rb
tableling-rails-0.0.10 lib/tableling-rails/activerecord/ext.rb
tableling-rails-0.0.9 lib/tableling-rails/activerecord/ext.rb
tableling-rails-0.0.8 lib/tableling-rails/activerecord/ext.rb
tableling-rails-0.0.7 lib/tableling-rails/activerecord/ext.rb
tableling-rails-0.0.6 lib/tableling-rails/activerecord/ext.rb
tableling-rails-0.0.5 lib/tableling-rails/activerecord/ext.rb
tableling-rails-0.0.3 lib/tableling-rails/activerecord/ext.rb
tableling-rails-0.0.4 lib/tableling-rails/activerecord/ext.rb