Skip to content

Instantly share code, notes, and snippets.

@joemsak
Created September 18, 2009 16:27
Show Gist options
  • Save joemsak/189153 to your computer and use it in GitHub Desktop.
Save joemsak/189153 to your computer and use it in GitHub Desktop.
require 'digest/sha1'
class User < ActiveRecord::Base
# ...
has_many :galleries
# ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment