Sha256: 23b1b955463828f30df4053a9f668f1e3d83c0235cffa4d14c1486cf5e80b58f

Contents?: true

Size: 263 Bytes

Versions: 4

Compression:

Stored size: 263 Bytes

Contents

module LazyModelSupport
	extend ActiveSupport::Concern
	
	included do
		attr_accessor :lazy_model
		delegate :model, :attribute, :enumerables, :custom_finders, :column, :to => :lazy_model	
	end

	def initialize(lazy_model)
		self.lazy_model = lazy_model
	end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lazy_model-0.0.4 lib/lazy_model/lazy_model_support.rb
lazy_model-0.0.3 lib/lazy_model/lazy_model_support.rb
lazy_model-0.0.2 lib/lazy_model/lazy_model_support.rb
lazy_model-0.0.1 lib/lazy_model/lazy_model_support.rb