Marcel Molina
5cb2aa722d
Rename Version constant to VERSION. Closes #2802 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-17 00:32:16 +00:00
Sam Stephenson
b661c9603a
Added an omnipresent RailsInfoController with a properties action that delivers an HTML rendering of Rails::Info (but only when local_request? is true). Added a new default index.html which fetches this with Ajax.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-08 04:26:34 +00:00
Jeremy Kemper
e55426a798
Raise in stubby/init.rb if it doesn't have access to directory or config. loaded_plugins is a set of plugin names (so it will be usable with multiple paths, gems, etc).
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2924 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 18:06:44 +00:00
David Heinemeier Hansson
72add11c44
Fixed Rails generator tests ( closes #2613 ) [torben [at] wolm.dk]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 09:59:19 +00:00
Jeremy Kemper
6c434e8b8e
New configuration option config.plugin_paths which may be a single path like the default 'vendor/plugins' or an array of paths: ['vendor/plugins', 'lib/plugins']. Plugins are discovered in nested paths, so you can organize your plugins directory as you like. Refactor load_plugin from load_plugins. Simplify initializer unit test. Closes #2757 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 08:09:38 +00:00
Sam Stephenson
5c1eb899de
Make use of silence_stderr in script/lighttpd, script/plugin, and Rails::Info
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 04:06:05 +00:00
Sam Stephenson
55fab64391
Move info.rb to rails_info.rb and load Rails::Info after initialization
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-05 18:04:52 +00:00
Sam Stephenson
71b032a0a6
Added script/about to display formatted Rails::Info output
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-05 14:30:47 +00:00
Sam Stephenson
1f6b09f67c
Added Rails::Info to catalog assorted information about a Rails application's environment
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2882 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-05 04:44:33 +00:00
Jamis Buck
49cd52a93f
Make fcgi handler respond to TERM signals with an explicit exit
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-02 13:21:22 +00:00
Jeremy Kemper
1cfd25a774
Failsafe response handler for dispatcher.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-02 01:20:36 +00:00
David Heinemeier Hansson
9bafd35375
Fixed scaffold generator when started with only 1 parameter ( closes #2609 ) [self@mattmower.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 07:50:42 +00:00
Jamis Buck
cdd49c5360
Constants set in the development/test/production environment file are set in Object
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-23 13:39:24 +00:00
Jeremy Kemper
6627b828a1
r3576@sedna: jeremy | 2005-10-13 11:31:50 -0700
...
Update fcgi_dispatcher_test for old changes to the FCGI handler: processing attr was removed, USR1 behaves the same (sets when_ready = :exit) whether or not currently handling request.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2555 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 19:05:48 +00:00
Marcel Molina
8e78e9335b
Make table_name and controller_name in generators honor AR::Base.pluralize_table_names.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-28 00:06:39 +00:00
Jeremy Kemper
f29ce1f356
r3023@asus: jeremy | 2005-07-12 23:43:39 -0700
...
Remove superfluous inherited override in Dependencies.
r3024@asus: jeremy | 2005-07-12 23:54:28 -0700
Make test the default railties rake target.
r3025@asus: jeremy | 2005-07-12 23:55:27 -0700
Encapsulate dispatch call in dispatcher test.
r3026@asus: jeremy | 2005-07-12 23:56:14 -0700
Expand dispatcher mock to match full method signature for process.
r3027@asus: jeremy | 2005-07-12 23:57:24 -0700
Look for app-specific generators in RAILS_ROOT/generators instead of RAILS_ROOT/script/generators.
r3028@asus: jeremy | 2005-07-13 00:00:47 -0700
Update changelog.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-13 02:12:00 +00:00
Jeremy Kemper
5650bc9094
r1588@asus: jeremy | 2005-07-02 03:14:45 -0700
...
Optional periodic garbage collection for dispatch.fcgi. Graceful exit on TERM also (a la Apache1). Ignore signals the platform does not support, such as USR1 on Windows.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 04:52:14 +00:00
Jamis Buck
3cc47a4297
Use SIGHUP to dynamically reload an fcgi process without restarting it. Refactored dispatch.fcgi so that the RailsFCGIHandler is in the lib dir.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-29 11:07:20 +00:00
Jamis Buck
0d8455c1a2
ActionMailer::Base subclasses are reloaded with other rails components #1262
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-24 11:57:40 +00:00
Jamis Buck
ce44079818
Missing parameter for trap_handler in dispatch.fcgi
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-22 11:26:00 +00:00
Jamis Buck
f69f384872
Refactored dispatch.fcgi. Added unit tests for dispatch.fcgi. Added trap to recognize HUP as a graceful termination command.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-22 11:18:01 +00:00
David Heinemeier Hansson
b1999be5a7
A hopefully more successful attempt at the Routing branch merge
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 01:45:35 +00:00
David Heinemeier Hansson
88a3343ed5
Backed out of routing merge.. investigating missing patches
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 01:24:55 +00:00
David Heinemeier Hansson
c844755e5a
Merged back the Routing branch
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 00:51:02 +00:00
David Heinemeier Hansson
daee6fd92a
Added new generator framework that informs about its doings on generation and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [bitsweat]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-07 13:14:05 +00:00
David Heinemeier Hansson
a02a96226e
Brought unit tests up to date
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-15 11:25:35 +00:00
David Heinemeier Hansson
3236e15cb7
Updated the usage documentation for the generator actions for their new home
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-09 15:54:22 +00:00
David Heinemeier Hansson
2594581e9f
Added a better generator for scaffolding that actually creates the code, so it can be edited bit by bit. See "script/generate scaffold" [bitsweat]. Added a whole new approach to generators that used the shared "script/generate" command. Run with no-args to see help [bitsweat].
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@63 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-07 11:49:38 +00:00
David Heinemeier Hansson
db045dbbf6
Initial
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-24 01:04:44 +00:00