Sha256: 62dbd4091d0c888f9cab4feabdf11bd65b1d8c12d8d2408cf9a1b477adbca478

Contents?: true

Size: 144 Bytes

Versions: 2

Compression:

Stored size: 144 Bytes

Contents

class User < ActiveRecord::Base
  auto_increment column: :letter_code, scope: :account_id, initial: 'A', force: true

  belongs_to :account
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auto_increment-1.1.1 spec/models/user.rb
auto_increment-1.1.0 spec/models/user.rb