From 2afb8a8cc0e3562d22a5ea31b934e076b5bfe8f6 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 20 Mar 2005 17:36:23 +0000 Subject: Added script/runner which can be used to run code inside the environment by eval'ing the first parameter git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@939 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/CHANGELOG | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'railties/CHANGELOG') diff --git a/railties/CHANGELOG b/railties/CHANGELOG index b52ea3b099..97dfd34ce2 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,12 +1,19 @@ *SVN* +* Added script/runner which can be used to run code inside the environment by eval'ing the first parameter. Examples: + + ./script/runner 'ReminderService.deliver' + ./script/runner 'Mailer.receive(STDIN.read)' + + This makes it easier to do CRON and postfix scripts without actually making a script just to trigger 1 line of code. + * Fixed webrick_server cookie handling to allow multiple cookes to be set at once #800, #813 [dave@cherryville.org] * Fixed the Rakefile's interaction with postgresql to: 1. Use PGPASSWORD and PGHOST in the environment to fix prompting for passwords when connecting to a remote db and local socket connections. - 2. Added a '-x' flag to pg_dump which stops it dumping privileges #807 [rasputnik] + 2. Add a '-x' flag to pg_dump which stops it dumping privileges #807 [rasputnik] 3. Quote the user name and use template0 when dumping so the functions doesn't get dumped too #855 [pburleson] 4. Use the port if available #875 [madrobby] -- cgit v1.2.3