Mercurial > zeropaste
annotate 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 |
| rev | line source |
|---|---|
| 0 | 1 #!/usr/bin/env ruby |
| 2 # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application. | |
| 3 | |
| 4 APP_PATH = File.expand_path('../../config/application', __FILE__) | |
| 5 require File.expand_path('../../config/boot', __FILE__) | |
| 6 require 'rails/commands' |
