Sha256: c10b2d352366b57c7fe404107cc1cb6d4bf0cd603abfe4cd12e58678f51807d1

Contents?: true

Size: 101 Bytes

Versions: 5

Compression:

Stored size: 101 Bytes

Contents

class BookWithCustomPrimaryKey < ActiveRecord::Base
  set_primary_key 'uid'
  belongs_to :author
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
netzke-basepack-0.7.4 test/basepack_test_app/app/models/book_with_custom_primary_key.rb
netzke-basepack-0.7.3 test/basepack_test_app/app/models/book_with_custom_primary_key.rb
netzke-basepack-0.7.2 test/basepack_test_app/app/models/book_with_custom_primary_key.rb
netzke-basepack-0.7.1 test/basepack_test_app/app/models/book_with_custom_primary_key.rb
netzke-basepack-0.7.0 test/rails_app/app/models/book_with_custom_primary_key.rb