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:
Zach Dennis 2012-08-06 09:24:34 -04:00
parent b500ebe5a1
commit a1a183e43d
4 changed files with 39 additions and 26 deletions

View file

@ -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