Sha256: 727653d400fe050af4dbcca7b02d034d15b18477cf6f1dd60b331a60dbf64eaf

Contents?: true

Size: 259 Bytes

Versions: 4

Compression:

Stored size: 259 Bytes

Contents

class Blogposts
  def to_param
    id
  end 
  def id
    42
  end
end     

class Comment
  def to_param
    id
  end 
  def id
    24
  end
  def blogpost_id
    42
  end  
end


class Blog
  def id
    42
  end
  def to_param
    "hello#{id}"
  end
end    

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
merb-0.5.0 spec/fixtures/models/router_spec_models.rb
merb-0.5.1 spec/fixtures/models/router_spec_models.rb
merb-0.5.2 spec/fixtures/models/router_spec_models.rb
merb-0.5.3 spec/fixtures/models/router_spec_models.rb