Skip to content

Instantly share code, notes, and snippets.

Zhe Wang zhew117

  • Vancouver
Block or report user

Report or block zhew117

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Rails for Zombies
Zombie.find(1)
Zombie.create
Zombie.last
Zombie.order(:name)
Zombie.find(3).destroy
class Zombie <ActiveRecord::Base
validates :name, presence: true, uniqueness: true
View gist:fdeedf8a31a0c329497e
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
You can’t perform that action at this time.