Sha256: 7048aa90fbbc9db31a8221e8a16849972eba55d41ab4b211ac8ddd179cf292cd

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 Bytes

Contents

module DCA
  module Mock
    class Page < DCA::Models::BaseModel
      has_many :positions, ExtPosition, :selector => 'li'
    end


    class PageExt < DCA::Models::BaseModel
      attr_accessor :category
      has_many :positions, :selector => 'li', :polymorphic => :category, :append => true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dca-0.1.0 spec/mock/page.rb