Mercurial > zeropaste
view script/rails @ 69:be561c3967ee
Safety net to ignore invalid post requests.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Thu, 04 Oct 2012 10:31:15 +0700 |
parents | 4aa8194a1733 |
children |
line wrap: on
line source
#!/usr/bin/env ruby # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application. APP_PATH = File.expand_path('../../config/application', __FILE__) require File.expand_path('../../config/boot', __FILE__) require 'rails/commands'