Fix for rails4 syntax - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit a86e1bf9542e976afd0d2162ab4d39413826d214
(DIR) parent 7e9938678d13fc9aff1971021f2b60fdfa7abf49
(HTM) Author: HD Moore <hd_moore@rapid7.com>
Date: Tue, 10 Feb 2015 16:09:25 -0600
Fix for rails4 syntax
Diffstat:
M bin/export_list.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/bin/export_list.rb b/bin/export_list.rb
@@ -38,7 +38,7 @@ require 'config/environment'
if(not project_id)
$stderr.puts "Listing all projects"
$stderr.puts "===================="
- Project.find(:all).each do |j|
+ Project.all.each do |j|
puts "#{j.id}\t#{j.name}\t#{j.created_at}"
end
exit