class Snippet < ActiveRecord::Base belongs_to :user end