a1a183e43d
* updating deprecated require 'rake/rdoctask' with 'rdoc/task' * preparing to remove deprecated ActiveRecord set_table_name with self.table_name=
11 lines
273 B
Ruby
11 lines
273 B
Ruby
class SchemaInfo < ActiveRecord::Base
|
|
if respond_to?(:table_name=)
|
|
self.table_name = 'schema_info'
|
|
else
|
|
# this is becoming deprecated in ActiveRecord but not all adapters supported it
|
|
# at this time
|
|
set_table_name 'schema_info'
|
|
end
|
|
VERSION = 12
|
|
end
|