Jeremy Kemper
|
29d63a04ac
|
Canonicalize configuration.root_path and replace RAILS_ROOT.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-29 05:44:44 +00:00 |
|
Rick Olson
|
2a305949d7
|
documentation project patches, closes #7342, #7319, #7316, #7190 [jeremymcanally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-27 14:04:06 +00:00 |
|
Jeremy Kemper
|
2632664f64
|
Deprecation: remove components from controller paths. Canonicalize RAILS_ROOT by using File.expand_path on Windows, which doesn't have to worry about symlinks, and Pathname#realpath elsewhere, which respects symlinks in relative paths but is incompatible with Windows. Closes #6755.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-18 13:35:16 +00:00 |
|
Nicholas Seckar
|
8a9496cb4e
|
Add environment variable RAILS_DEFAULT_DATABASE, which allows the builtin default of 'mysql' to be overridden.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-14 23:45:17 +00:00 |
|
Jeremy Kemper
|
8dfe5b78fa
|
Windows: include MinGW in RUBY_PLATFORM check. Closes #2982.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-06 09:22:07 +00:00 |
|
Jeremy Kemper
|
f1e08b351d
|
Improve dispatcher failsafe responses. Beef up compatibility with Mongrel's CGI wrapper.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6307 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-04 12:31:21 +00:00 |
|
Marcel Molina
|
a7b90b7cdd
|
Move plugin classes into the rails directory to match their namespace
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6293 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-03 04:50:56 +00:00 |
|
Marcel Molina
|
9f53e09eb9
|
Move responsibility for ensuring that all registered gems were loaded from the FileSystemLocator into the Initializer once all locators have had a chance to load the gems they located. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6292 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-03 02:53:06 +00:00 |
|
Marcel Molina
|
3d2c232d21
|
Use to_sentence rather than inspect when reporting which registered plugins are missing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6291 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-02 23:45:52 +00:00 |
|
Marcel Molina
|
15c466dd72
|
Split out the basic plugin locator functionality into an abstract super class. Add a FileSystemLocator to do the job of checking the plugin_paths for plugins. Add plugin_locators configuration option which will iterate over the set of plugin locators and load each of the plugin loaders they return. Rename locater everywhere to locator. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-02 23:39:29 +00:00 |
|
Marcel Molina
|
b0e1430c52
|
Split plugin location and loading out of the initializer and into a new Plugin namespace, which includes Plugin::Locater and Plugin::Loader. The loader class that is used can be customized using the config.plugin_loader option. Those monkey patching the plugin loading subsystem take note, the internals changing here will likely break your modifications. The good news is that it should be substantially easier to hook into the plugin locating and loading process now. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6277 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-02 00:20:32 +00:00 |
|
Rick Olson
|
88876163f9
|
boot.rb sets RAILS_ROOT, so remove that. Install http plugins inside a Dir.chdir block so that the cwd doesn't change
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-27 03:15:44 +00:00 |
|
Rick Olson
|
81ae38580b
|
set the RAILS_ROOT for script/plugin if it's not set already
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6247 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-27 02:59:28 +00:00 |
|
David Heinemeier Hansson
|
34f1413b48
|
Added assumption that all plugin creators desire to be sharing individuals and release their work under the MIT license [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-27 01:23:43 +00:00 |
|
David Heinemeier Hansson
|
ee2b5dda80
|
Added source-annotations extractor tasks to rake [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-25 19:40:37 +00:00 |
|
Rick Olson
|
ad9bacb189
|
fix app generator
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-24 22:36:52 +00:00 |
|
David Heinemeier Hansson
|
7bf757d8b8
|
Include two default initializers as examples
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-23 00:53:22 +00:00 |
|
David Heinemeier Hansson
|
c6d6082562
|
Added config/initializers where all ruby files within it are automatically loaded after the Rails configuration is done, so you don't have to litter the environment.rb file with a ton of mixed stuff [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-23 00:32:27 +00:00 |
|
Jeremy Kemper
|
45dd256889
|
Missed commit for [6184]. Generate a random secret for new app's cookie session store.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-21 23:13:32 +00:00 |
|
David Heinemeier Hansson
|
21187c0fb4
|
Apply the rest of Chads patch
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-21 00:29:44 +00:00 |
|
Michael Koziarski
|
89cb34c9cf
|
Stop swallowing errors during rake test [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-20 03:15:26 +00:00 |
|
Rick Olson
|
38e5d21bc4
|
Fix Rails::Initializer since #view_paths is never nil
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-04 22:56:36 +00:00 |
|
Rick Olson
|
f2f2686f97
|
Update Rails Initializer to use ActionController::Base#view_paths [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-04 22:41:37 +00:00 |
|
David Heinemeier Hansson
|
8f614a80e7
|
Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ [Chad Fowler]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-04 20:44:45 +00:00 |
|
Jeremy Kemper
|
aa7859c976
|
Plugins may be symlinked in vendor/plugins. Closes #4245.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-01 20:12:36 +00:00 |
|
Jeremy Kemper
|
5224b62ae3
|
Resource generator depends on the model generator rather than duplicating it. Closes #7269.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 13:55:39 +00:00 |
|
Rick Olson
|
37fa17f55a
|
Add/Update usage documentation for script/destroy, resource generator and scaffold_resource generator. Closes #7092, #7271, #7267. [bscofield]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-23 05:01:05 +00:00 |
|
Jeremy Kemper
|
47f99584b3
|
Generator: use destination path for diff tempfiles. Closes #7015.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-13 04:09:18 +00:00 |
|
David Heinemeier Hansson
|
73499158df
|
Fixed that webrick would strip leading newlines and hang connection (closes #4156) [psross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-05 04:09:38 +00:00 |
|
Rick Olson
|
5cf118b138
|
Ensure plugins are in the Dependencies.load_once_paths collection by default. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-27 22:18:38 +00:00 |
|
David Heinemeier Hansson
|
014fdde93a
|
Attempt at fixing the preparation_callbacks, nzkoz will double check
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-27 00:43:27 +00:00 |
|
Michael Koziarski
|
c6d47806bf
|
Allow config.to_prepare to work, make the dispatcher safe to 're require'. [Koz, Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-26 23:56:00 +00:00 |
|
Rick Olson
|
29ec023add
|
Fix scaffold_resource generator so it respects the --pretend argument when creating the routes file. Closes #6852 [fearoffish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-26 19:39:30 +00:00 |
|
Rick Olson
|
c6b4c8d240
|
Fix Webrick Daemon dispatching bug regarding a bad current working directory. Closes #4899 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5784 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-25 09:01:41 +00:00 |
|
Michael Koziarski
|
507445862e
|
Reapply plugin load path changes from [5720]
Closes #6842
Closes #6851
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-18 20:27:05 +00:00 |
|
Michael Koziarski
|
23c2768421
|
Revert [5720]
Reopens #6581
Reopens #6842
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-16 02:22:23 +00:00 |
|
Michael Koziarski
|
39686e5370
|
Make config.plugins affect $LOAD_PATH and remove duplication from $LOAD_PATH [James Adam]
Closes #6581
Closes #6842
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-15 23:41:58 +00:00 |
|
Jeremy Kemper
|
a50fc11583
|
Rewrap scaffold_resource USAGE so it displays nicely on most terminals. Closes #6801 [Paul Smith]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5707 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-08 22:47:46 +00:00 |
|
Jeremy Kemper
|
ee384b8981
|
Missed commit from [5686].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-06 22:08:59 +00:00 |
|
David Heinemeier Hansson
|
56267474da
|
Fixed script/process/spawner to work properly with Mongrel including in -r (daemonize mode) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-04 03:50:57 +00:00 |
|
David Heinemeier Hansson
|
db459370f8
|
Documentation for generators (closes #6671) [topfunky]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-03 16:53:16 +00:00 |
|
David Heinemeier Hansson
|
1ac4470da5
|
Wups
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-01 23:02:48 +00:00 |
|
David Heinemeier Hansson
|
2e2bf2d149
|
If only life was that simple (it didnt help)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-01 05:56:51 +00:00 |
|
David Heinemeier Hansson
|
e8eb743ba6
|
Replace the elaborate reloading connection checking scheme, just fix the Ruby-based MySQL adapter, ye?
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-01 05:37:56 +00:00 |
|
David Heinemeier Hansson
|
9040f40682
|
Added one-letter aliases for the three default environments to script/console, so script/console p will load the production environment (t for test, d for development) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5655 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-01 00:08:33 +00:00 |
|
David Heinemeier Hansson
|
cd2be89b7c
|
Refactored to use same option setup
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-30 22:22:02 +00:00 |
|
David Heinemeier Hansson
|
8dca6586de
|
Fixed that script/server running against Mongrel should tail the proper log regardless of the environment [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-30 21:45:31 +00:00 |
|
Michael Koziarski
|
02dfb239fa
|
merge 5639 to trunk
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5640 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-27 05:19:15 +00:00 |
|
David Heinemeier Hansson
|
0a86122a24
|
Only reload connections in development mode that supports (and requires that) -- in other words, only do it for SQLite (closes #6687, #6700) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-26 22:10:55 +00:00 |
|
David Heinemeier Hansson
|
2d1169ad16
|
redirect_to is the one place where _url should be used, not _path [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-26 04:42:13 +00:00 |
|