#341 invalid
fsalgo

.each working through IRB but not through ruby script/framework(Sinatra)

Reported by fsalgo | June 4th, 2008 @ 10:11 AM

I am using Sinatra framework v.0.2.3 and my code goes like this

require 'rubygems'

gem 'dm-core'

require 'data_mapper'

get '/users' do

guests = Guest.all

guests.each { |g| puts g.inspect }

end

When executed I get stack trace that looks like http://pastie.caboo.se/208431

DM synced with edge

Ruby 1.8.6

Comments and changes to this ticket

  • Dan Kubb (dkubb)

    Dan Kubb (dkubb) June 9th, 2008 @ 08:19 PM

    • Milestone cleared.
    • State changed from “new” to “open”

    fsalgo, can you retest this and let me know if it's still an issue? I made some changes to Collection that may have resolved this but I don't have Sinatra installed to test it with.

  • Dan Kubb (dkubb)

    Dan Kubb (dkubb) June 23rd, 2008 @ 07:24 PM

    • State changed from “open” to “invalid”

    Marking this ticket as invalid due to no response from reporter in almost 2 weeks.

    fsalgo, if this is still a problem please reply and I'll reopen this ticket.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Tags

Pages