Skip to content

Instantly share code, notes, and snippets.

View phppirate's full-sized avatar
🔥
Probably Coding

Sam Podlogar phppirate

🔥
Probably Coding
View GitHub Profile
# config/initializers/redis.rb
require 'rubygems'
require 'redis'
REDIS = Redis.new()
class User
attr_accessor :name, :id
def initialize(name, id)