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 5a2a703fe8 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-07-25 17:13:08 +05:30

3 lines
68 B
Ruby

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