Displaying 1 result from an estimated 1 matches for "buildscontrol".
2012 Jun 15
1
Problem with active resource(500 internal server error)
...ent < ActiveResource::Base
self.site = "http://localhost:3000/builds"
end
builds = Buildclient.find(:all)
puts builds (## printed nil)
On the rails server terminal i see
Started GET "/builds/buildclients.json" for 127.0.0.1 at Fri Jun 15
10:34:05 -0700 2012
Processing by BuildsController#show as JSON
Parameters: {"id"=>"buildclients"}
build Load (0.2ms) SELECT `builds`.* FROM `builds` WHERE
`builds`.`id` = 0 LIMIT 1
Completed 500 Internal Server Error in 1ms
ActiveRecord::RecordNotFound (Couldn''t find Build with id=buildclients):
app/contr...