Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (8 sloc) 0.195 kb
require 'rubygems'
require 'active_resource'
class Todo < ActiveResource::Base
self.site = "http://localhost:3000"
def self.all_todos
Todo.find(:all, :order => 'created_at')
end
end
Jump to Line
Something went wrong with that request. Please try again.