aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Scaffold generator tests. Closes #8443.Jeremy Kemper2007-05-234-3/+350
| | | | 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-222-6/+8
| | | | 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
* Update to Prototype 1.5.1Sam Stephenson2007-05-192-342/+1100
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6785 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update edge to script.aculo.us to 1.7.1_beta3Thomas Fuchs2007-05-194-93/+165
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix generator test broken by scaffold change. Closes #8402.Jeremy Kemper2007-05-181-4/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6778 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-0627-19/+21
| | | | 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-063-2/+4
| | | | | | 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
* Include sub-resources exampleDavid Heinemeier Hansson2007-04-291-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated initializer to only load #{RAILS_ENV}.rb once. Added deprecation ↵Nicholas Seckar2007-04-292-0/+15
| | | | | | 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-2818-936/+53
| | | | | | 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-252-6/+8
| | | | 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-252-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include default route for formatsDavid Heinemeier Hansson2007-04-241-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6576 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
* Removed default WSDL route now that AWS is debundled from RailsDavid Heinemeier Hansson2007-04-241-3/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6573 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include Active Resource in rails:freeze:edge rake taskThomas Fuchs2007-04-242-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6567 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* It is activeresource, sillyDavid Heinemeier Hansson2007-04-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include Active Resource instead of Action Web Service [DHH]David Heinemeier Hansson2007-04-234-10/+15
| | | | 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-212-12/+15
| | | | 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-293-16/+7
| | | | 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-273-1/+5
| | | | | | [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-184-30/+46
| | | | | | 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-142-1/+4
| | | | | | 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-069-11/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Upgrade rake dependency from 0.7.1 to 0.7.2 to pull in its Ruby 1.8.6 ↵Jeremy Kemper2007-03-041-1/+1
| | | | | | compatibility fixes. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6329 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-033-24/+19
| | | | | | 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-028-120/+151
| | | | | | 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-029-192/+338
| | | | | | 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
* Dispatcher test requires abstract_unit. Cleanup abstract_unit.Jeremy Kemper2007-03-012-8/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6276 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
* Added assumption that all plugin creators desire to be sharing individuals ↵David Heinemeier Hansson2007-02-274-1/+33
| | | | | | 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
* Added source-annotations extractor tasks to rake [Jamis Buck]David Heinemeier Hansson2007-02-252-0/+86
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Setting fixtures automatically for integration tests is a bit harder -- will ↵David Heinemeier Hansson2007-02-251-0/+3
| | | | | | have to wait until the test superclass reform is implemented git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de