Mercurial > zeropaste
view script/rails @ 241:e413246bb589
Use `.to_param` instead of `.id`.
| author | edogawaconan <me@myconan.net> |
|---|---|
| date | Mon, 07 Oct 2013 13:15:37 +0900 |
| 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'
