Sha256: b203b63a00a562fb0c895ea159545f99eca517f79da28d5ebda27841baae5719

Contents?: true

Size: 119 Bytes

Versions: 5

Compression:

Stored size: 119 Bytes

Contents

# Spec +Account+
class Account < ActiveRecord::Base
  auto_increment :code, before: :validation

  has_many :users
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
auto_increment-1.5.2 spec/models/account.rb
auto_increment-1.5.1 spec/models/account.rb
auto_increment-1.5.0 spec/models/account.rb
auto_increment-1.4.1 spec/models/account.rb
auto_increment-1.4.0 spec/models/account.rb