Sha256: dbde1d088ae90af22def037596acbb8b3bbf28590f308596c985325569bc505c

Contents?: true

Size: 202 Bytes

Versions: 1

Compression:

Stored size: 202 Bytes

Contents

# frozen_string_literal: true

class User < ActiveRecord::Base
  has_many :tokens
  serialize :preferences

  attr_accessor :nickname

  def normalize_username(username)
    username.downcase
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
normalize_attributes-0.3.1 test/support/user.rb