small medium large xlarge

Generic-user-small
25 Jan 2010, 02:00
Kevin Holland (1 post)

get ‘/asides’ do asides = Aside.recent.all content_type ‘application/json’ asides.to_json end

This is the code i’m using… is there a typo because i can’t find it.. yet when i hit the address i get this response.

HTTP/1.1 500 Internal Server Error Content-Type: text/html Connection: keep-alive Status: 500 X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.9 Content-Length: 30 Server: nginx/0.8.9 + Phusion Passenger 2.2.9 (mod_rails/mod_rack)

Internal Server Error

You must be logged in to comment