- nginx
- nginx-x-rid-header module (https://github.com/newobj/nginx-x-rid-header)
We want to track image downloads from client side and in javascript we cannot get the header values:(.
We want to track image downloads from client side and in javascript we cannot get the header values:(.
# this monkey-patches code defined in railties-3.1.0.rc1/lib/rails/generators/migration.rb | |
# (obviously, this might differ very slightly in the latest release candidate) | |
module Rails | |
module Generators | |
module Migration | |
module ClassMethods | |
# differs from the "real" version by only one line | |
def migration_template(source, destination=nil, config={}) | |
destination = File.expand_path(destination || source, self.destination_root) |