Rails 4 finder conversion

MSP-12012

* covert find(:first) to first
bug/bundler_fix
Sonny Gonzalez 2015-02-06 10:13:14 -06:00
parent 036cb77dd0
commit 9a53859a77
No known key found for this signature in database
GPG Key ID: 578097F7CA93BCE5
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class Msf::DBManager
#
def check
::ActiveRecord::Base.connection_pool.with_connection {
res = ::Mdm::Host.find(:first)
res = ::Mdm::Host.first
}
end