Sha256: f027ec91ca0c079c53e200948b221ca5f75fcf13898337eb5bac2293fb4a1bed

Contents?: true

Size: 195 Bytes

Versions: 6

Compression:

Stored size: 195 Bytes

Contents

class IdMap < Application
  def index
    return 'false' unless Post.get(1)
    if (Post.get(1).object_id == Post.first(:id => 1).object_id)
      "true"
    else
      "false"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
merb_datamapper-1.1.3 spec/datamapper_id_map_controller.rb
merb_datamapper-1.1.2 spec/datamapper_id_map_controller.rb
merb_datamapper-1.1.1 spec/datamapper_id_map_controller.rb
merb_datamapper-1.1.0 spec/datamapper_id_map_controller.rb
merb_datamapper-1.1.0.rc1 spec/datamapper_id_map_controller.rb
merb_datamapper-1.1.0.pre spec/datamapper_id_map_controller.rb