app/models/user_event.rb
# == Schema Information
#
# Table name: user_events
#
# id :integer not null, primary key
# user_id :integer
# name :string(255)
# data :text
# created_at :datetime default(2012-03-12 21:01:10 UTC)
#
class UserEvent < ActiveRecord::Base
belongs_to :user
serialize :data, Hash
end