Where did you get this "install" file from? The recomended way to obtain active_scaffold source is from github Sent from my Verizon Wireless BlackBerry
-----Original Message----- From: James Moore <[email protected]> Date: Thu, 23 Jul 2009 14:45:33 To: ActiveScaffold : Ruby on Rails plugin<[email protected]> Subject: active_scaffold phones home on install - that's a problem I was looking through active_scaffold and noticed that, when the plugin is installed, active_scaffold contacts an external URL. Doing this, without asking permission and without notifying the person installing the code, isn't a good idea. install.rb -------- ## ## Install ActiveScaffold assets into /public ## require File.dirname(__FILE__) + '/install_assets' ## ## Install Counter ## # # What's going on here? # We're incrementing a web counter so we can track SVN installs of ActiveScaffold # # How? # We're making a GET request to errcount.com to update a simple counter. No data is transmitted. # # Why? # So we can know how many people are using ActiveScaffold and modulate our level of effort accordingly. # Despite numerous pleas our Googly overlords still only provide us with download stats for the zip distro. # # *Thanks for your understanding* # class ErrCounter # using errcount.com require "net/http" @@ACCOUNT_ID = 341 @@SITE_DOMAIN = 'installs.activescaffold.com' def self.increment @http = Net::HTTP.new("errcount.com") resp, data = @http.get2("/ctr/#{@@ACCOUNT_ID}.js", {'Referer' => @@SITE_DOMAIN}) end end begin ErrCounter.increment rescue end --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
