rails/activerecord/test/models/joke.rb

10 lines
176 B
Ruby

# frozen_string_literal: true
class Joke < ActiveRecord::Base
self.table_name = "funny_jokes"
end
class GoodJoke < ActiveRecord::Base
self.table_name = "funny_jokes"
end