Updating Gemfile to latest versions of libraries:
* updating deprecated require 'rake/rdoctask' with 'rdoc/task' * preparing to remove deprecated ActiveRecord set_table_name with self.table_name=
This commit is contained in:
parent
b500ebe5a1
commit
a1a183e43d
4 changed files with 39 additions and 26 deletions
|
@ -1,4 +1,10 @@
|
|||
class SchemaInfo < ActiveRecord::Base
|
||||
set_table_name 'schema_info'
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue