Skip to content

@Poincare /gist:3703793
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
#makes life much easier
Person = People::Models::Person
#gives all current Persons
Person.all
#add me, then search for me
dhaivat = Person.new(:first_name => "Dhaivat", :last_name => "Pandya", :description => "Best person ever")
dhaivat.save
Person.all
Person.find(1)
Person.where(:first_name => "Dhaivat")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.