impressionist/tests/test_app/app/models/profile.rb

7 lines
119 B
Ruby

class Profile < ActiveRecord::Base
extend FriendlyId
friendly_id :username, use: :slugged
is_impressionable
end