Sha256: 0606d14a7c858aeb4e59a82a454c5831c717988b80948f20bde3c0f36f8ddc00

Contents?: true

Size: 636 Bytes

Versions: 6

Compression:

Stored size: 636 Bytes

Contents

class InvalidDocument < ActiveRecord::Base
  #  belongs_to :current_revision

  searchable do
    integer  :id
    integer  :folder_id
    glop  :room_id           do folder.room_id end

    plop     :name              # fulltext
    string   :name              # order_by
    time     :updated_at

    integer  :uuid              do current_revision.uuid end
    integer  :user_id           do current_revision.user_id end
    integer  :file_size         do current_revision.file_size end
    string   :file_content_type do current_revision.file_content_type end
    string   :state             do current_revision.state end
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
oss_active_record-0.3.1 test/dummy/app/models/invalid_document.rb
oss_active_record-0.3.0 test/dummy/app/models/invalid_document.rb
oss_active_record-0.2.0 test/dummy/app/models/invalid_document.rb
oss_active_record-0.1.2 test/dummy/app/models/invalid_document.rb
oss_active_record-0.1.1 test/dummy/app/models/invalid_document.rb
oss_active_record-0.1.0 test/dummy/app/models/invalid_document.rb