Sha256: a9a409c16f3be5fe8aa1c142f9be715ce5676eeec125aec89c60b4fb265a8c58

Contents?: true

Size: 144 Bytes

Versions: 3

Compression:

Stored size: 144 Bytes

Contents

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

  def normalize_username(username)
    username.downcase
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
normalize_attributes-0.1.7 spec/support/user.rb
normalize_attributes-0.1.6 spec/support/user.rb
normalize_attributes-0.1.5 spec/support/user.rb