Gem for Ruby on Rails, extends ActiveRecord::Base