Sha256: 5ab11944fee7b3b826358e0d29bd575169d9f97622703bdd8447eb9bc91ffbc8

Contents?: true

Size: 171 Bytes

Versions: 2

Compression:

Stored size: 171 Bytes

Contents

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

  attr_accessor :nickname

  def normalize_username(username)
    username.downcase
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
normalize_attributes-0.3.0 test/support/user.rb
normalize_attributes-0.2.0 spec/support/user.rb