aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG
diff options
context:
space:
mode:
Diffstat (limited to 'railties/CHANGELOG')
-rw-r--r--railties/CHANGELOG5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG
index 5f2b332430..15f51bb6bb 100644
--- a/railties/CHANGELOG
+++ b/railties/CHANGELOG
@@ -1,5 +1,10 @@
*SVN*
+* script/runner can run files, pass on arguments, and be used as a shebang. #6286 [Tuxie]
+ #!/usr/bin/env /path/to/my/app/script/runner
+ # Example: just start using your models as if you are in script/console
+ Product.find(:all).each { |product| product.check_inventory }
+
* Look for rake tasks in plugin subdirs. #6259 [obrie]
* Added map.connect ':controller/:action/:id.:format' as a default route to config/routes.rb [DHH]