1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/models/movie.rb
Rajarshi Das 48ee1e793e change function def self.table_name to self.table_name
change def self.primary_key to self.primary_key

change def self.primary_key to self.primary_key
2013-09-10 19:49:32 +02:00

3 lines
68 B
Ruby

class Movie < ActiveRecord::Base
self.primary_key = "movieid"
end