Sha256: 9d400188e53f5ed008a904155422a272d91b434f5f799ff7a39b80c304e69576

Contents?: true

Size: 475 Bytes

Versions: 3

Compression:

Stored size: 475 Bytes

Contents

# Reset the primary key to allow us to create robots with specific internal_ids
class Robot < ActiveRecord::Base
  set_primary_key :id
end

Robot.create :name => 'Fritz',      :internal_id => 'F0001'
Robot.create :name => 'Sizzle',     :internal_id => 'S0001'
Robot.create :name => 'Sizzle Jr.', :internal_id => 'S0002'
Robot.create :name => 'Expendable', :internal_id => 'E0001'

# Annnnnnnnnnd we're back
class Robot < ActiveRecord::Base
  set_primary_key :internal_id
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
moneypools-thinking-sphinx-1.2.13 features/support/db/fixtures/robots.rb
moneypools-thinking-sphinx-1.2.12 features/support/db/fixtures/robots.rb
warp-thinking-sphinx-1.2.12 features/support/db/fixtures/robots.rb