Skip to content

Instantly share code, notes, and snippets.

Fetching source index from https://rubygems.org/
Installing rake 10.0.4
Installing i18n 0.6.9
Using multi_json 1.10.1
Installing activesupport 3.2.17
Installing builder 3.0.4
Installing activemodel 3.2.17
Using erubis 2.7.0
Installing journey 1.0.4
Installing rack 1.4.5
Zombie.find(1)
Zombie.create
Zombie.last
Zombie.order(:name)
Zombie.find(3).destroy
class Zombie <ActiveRecord::Base
validates :name, presence: true, uniqueness: true