aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Skip databases that couldn't be created.Jeremy Kemper2007-05-301-3/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6900 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Console reload! runs to_prepare callbacks also. Closes #8393.Jeremy Kemper2007-05-291-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6897 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Wordsmith generator USAGEs.Jeremy Kemper2007-05-2911-163/+104
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generated migrations include timestamps by default. Closes #8501.Jeremy Kemper2007-05-295-21/+33
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Active Resource to rails:freeze:edge and drop Action Web Service. Closes ↵Jeremy Kemper2007-05-271-2/+2
| | | | | | #8205. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6872 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove unused resource generator templates obviated by [6841]. Closes #8487 ↵Jeremy Kemper2007-05-273-0/+0
| | | | | | [shane] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6870 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Normalize whitespace. Closes #8385 [Time Pope]Jeremy Kemper2007-05-2714-19/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: db:create and dropJeremy Kemper2007-05-261-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6853 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add db:create, drop, reset, charset, and collation tasks. Closes #8448.Jeremy Kemper2007-05-261-0/+64
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Also remove the duplicated unit test template. References #7222.Jeremy Kemper2007-05-251-10/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffold generator depends on model generator instead of duplicating it. ↵Jeremy Kemper2007-05-254-40/+1
| | | | | | Closes #7222. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed commit from [6833]. References #8456.Jeremy Kemper2007-05-251-15/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffold generator tests. Closes #8443.Jeremy Kemper2007-05-231-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't load observers if Active Record isn't loaded.Jeremy Kemper2007-05-231-5/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Initializers are now loaded consistently sorted by name. Closes #8343Tobias Lütke2007-05-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generated scaffold functional tests use assert_difference. Closes #8421.Jeremy Kemper2007-05-221-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6808 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix USAGE typo in resource generator. Closes #8406.Jeremy Kemper2007-05-201-13/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We changed name to scaffoldDavid Heinemeier Hansson2007-05-183-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We dont use semicolon any moreDavid Heinemeier Hansson2007-05-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6767 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A few more fixesDavid Heinemeier Hansson2007-05-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated with the latest tricksDavid Heinemeier Hansson2007-05-164-9/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6747 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffold resource is now scaffoldDavid Heinemeier Hansson2007-05-1615-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6746 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make way for the new and improved scaffoldDavid Heinemeier Hansson2007-05-1613-534/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6745 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generators use *.html.erb view template naming. Closes #8278.Jeremy Kemper2007-05-0626-19/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6690 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added short-hand declaration style to migrations (inspiration from Sexy ↵David Heinemeier Hansson2007-05-062-2/+2
| | | | | | Migrations, http://errtheblog.com/post/2381) [DHH] Updated resource_scaffold and model generators to use short-hand style migrations [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* You're dead! We killed you!David Heinemeier Hansson2007-04-295-0/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6632 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated initializer to only load #{RAILS_ENV}.rb once. Added deprecation ↵Nicholas Seckar2007-04-291-0/+13
| | | | | | warning for config.breakpoint_server. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Start in irb mode if possibleDavid Heinemeier Hansson2007-04-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug ↵David Heinemeier Hansson2007-04-2812-891/+32
| | | | | | by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resource scaffolding returns the created entity.to_xml.Jeremy Kemper2007-04-251-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resource scaffolding responds to new.xml. Closes #8185.Jeremy Kemper2007-04-251-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't require AWS test_invoke in railties test helper [blaine]David Heinemeier Hansson2007-04-241-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include Active Resource in rails:freeze:edge rake taskThomas Fuchs2007-04-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6567 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include Active Resource instead of Action Web Service [DHH]David Heinemeier Hansson2007-04-231-8/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Run with the latest versions so beta gems will workDavid Heinemeier Hansson2007-04-211-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce RELATIVE_RAILS_ROOT and changed spawner script to use it. Prior to ↵Tobias Lütke2007-04-162-4/+5
| | | | | | this change spawner would assume the non symlinked deploy directory which made reaper reload the wrong code after further deployments. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/console quotes RAILS_ROOT in irb command line so it works with spaces ↵Jeremy Kemper2007-04-091-1/+1
| | | | | | in the path. Closes #7955. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Canonicalize configuration.root_path and replace RAILS_ROOT.Jeremy Kemper2007-03-291-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* documentation project patches, closes #7342, #7319, #7316, #7190 ↵Rick Olson2007-03-272-1/+3
| | | | | | [jeremymcanally] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove components from controller paths. Canonicalize ↵Jeremy Kemper2007-03-182-20/+41
| | | | | | 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
* Add environment variable RAILS_DEFAULT_DATABASE, which allows the builtin ↵Nicholas Seckar2007-03-141-1/+2
| | | | | | default of 'mysql' to be overridden. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Windows: include MinGW in RUBY_PLATFORM check. Closes #2982.Jeremy Kemper2007-03-067-9/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve dispatcher failsafe responses. Beef up compatibility with Mongrel's ↵Jeremy Kemper2007-03-041-23/+48
| | | | | | CGI wrapper. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6307 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move plugin classes into the rails directory to match their namespaceMarcel Molina2007-03-033-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6293 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move responsibility for ensuring that all registered gems were loaded from ↵Marcel Molina2007-03-032-16/+11
| | | | | | 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
* Use to_sentence rather than inspect when reporting which registered plugins ↵Marcel Molina2007-03-021-1/+1
| | | | | | are missing git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6291 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Split out the basic plugin locator functionality into an abstract super ↵Marcel Molina2007-03-024-98/+126
| | | | | | 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
* Split plugin location and loading out of the initializer and into a new ↵Marcel Molina2007-03-023-81/+200
| | | | | | 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
* boot.rb sets RAILS_ROOT, so remove that. Install http plugins inside a ↵Rick Olson2007-02-271-6/+6
| | | | | | 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
* set the RAILS_ROOT for script/plugin if it's not set alreadyRick Olson2007-02-271-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6247 5ecf4fe2-1ee6-0310-87b1-e25e094e27de