aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Moved the SourceAnnotationExtractor to a separate file in case libraries try ↵Rick Olson2007-09-282-62/+63
| | | | | | to load the rails rake tasks twice. rspec_on_rails, I'm looking at you. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Better error messages if you leave out the :secret option for request ↵Rick Olson2007-09-281-1/+1
| | | | | | forgery protection. Closes #9670 [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-283-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move Railties' Dispatcher to ActionController::Dispatcher, introduce before_ ↵Jeremy Kemper2007-09-262-162/+6
| | | | | | and after_dispatch callbacks, and warm up to non-CGI requests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7640 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix webrick when using the debugger (closes #9348) [bronson]David Heinemeier Hansson2007-09-251-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7639 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix test (closes #9120) [hasmanyjosh]David Heinemeier Hansson2007-09-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the correct generator name in the docs (closes #9111) [ceefour]David Heinemeier Hansson2007-09-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doof. Don't call it with false if it doesn't respond.Jeremy Kemper2007-09-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7628 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Skip test runner workaround only if Test::Unit is loaded. Closes #9671 [tomafro]Jeremy Kemper2007-09-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveSupport::BufferedLogger as a duck-typing alternative (albeit ↵David Heinemeier Hansson2007-09-252-8/+14
| | | | | | with no formatter) to the Ruby Logger, which provides a very nice speed bump (inspired by Ezra's buffered logger) [DHH] Changed the default logger from Ruby's own Logger with the clean_logger extensions to ActiveSupport::BufferedLogger for performance reasons [DHH]. (You can change it back with config.logger = Logger.new(/path/to/log, level).) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include the new 422 in the app generationDavid Heinemeier Hansson2007-09-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Follow our own conventions (closes #6506) [packagethief]David Heinemeier Hansson2007-09-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7603 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added --skip-fixture option to script/generate model (closes #6862) [sandofsky]David Heinemeier Hansson2007-09-231-2/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7601 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert [7574]. Closes #7521.Jeremy Kemper2007-09-231-5/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7594 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* RailsFCGIHandler tests. Closes #9630.Jeremy Kemper2007-09-231-62/+68
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7593 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Skip svnindex.xsl files when installing plugins (closes #7070) [davidjrice]David Heinemeier Hansson2007-09-221-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Print Rails version when starting console (closes #7440) [eyematz]David Heinemeier Hansson2007-09-221-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix CSS error in scaffold (closes #7450) [kampers]David Heinemeier Hansson2007-09-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added rake db:version to get the current schema version from the command ↵David Heinemeier Hansson2007-09-221-0/+5
| | | | | | line (closes #7521) [pelargir] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7574 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the placement of fixture files for nested models when generating ↵David Heinemeier Hansson2007-09-221-1/+1
| | | | | | through script/generate model (closes #7547) [jkit] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7573 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TEMPLATE option to rake doc:app to set a custom output template ↵David Heinemeier Hansson2007-09-221-1/+2
| | | | | | (closes #7737) [Jakob S] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7568 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added VERBOSE option to rake db:migrate to turn off output #8204 [jbarnette]David Heinemeier Hansson2007-09-221-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7566 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fixes (closes #8608) [deepblue]David Heinemeier Hansson2007-09-221-12/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that rake doc:app should use UTF-8 (closes #8906) [farzy]David Heinemeier Hansson2007-09-221-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7555 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixes rake annotations to search erb and builder files as well (closes ↵David Heinemeier Hansson2007-09-221-2/+2
| | | | | | #9150) [m.langenberg] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #9203) [lazyatom]David Heinemeier Hansson2007-09-221-3/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #9259) [caio]David Heinemeier Hansson2007-09-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Plugin license and README should use a dynamic year (closes #9329) [bscofield]David Heinemeier Hansson2007-09-222-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove last mentions of AWS from railtiesMichael Koziarski2007-09-221-10/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7544 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove the AWS web_service generatorMichael Koziarski2007-09-225-85/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added symbols as a legal way of specifying plugins in config.plugins (closes ↵David Heinemeier Hansson2007-09-222-4/+7
| | | | | | #9629) [tom] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the :all option to config.plugins thatll include the rest of the ↵David Heinemeier Hansson2007-09-212-7/+33
| | | | | | plugins not already explicitly named (closes #9613) [fcheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed deprecated task names, like clear_logs, in favor of the new ↵David Heinemeier Hansson2007-09-211-53/+0
| | | | | | namespaced style [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7530 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated some docs to reference the latest and greatest and played style nazi ↵David Heinemeier Hansson2007-09-201-10/+10
| | | | | | a little git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7517 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support multiple config.after_initialize blocks so plugins and apps can more ↵Jeremy Kemper2007-09-181-6/+8
| | | | | | easily cooperate. Closes #9582. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added db:drop:all to drop all databases declared in config/database.yml [DHH]David Heinemeier Hansson2007-09-151-11/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7489 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed Reloadable bits and piecesJeremy Kemper2007-09-141-5/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't raise superfluous exception on test failure.Jeremy Kemper2007-09-111-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7455 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update copyright spanDavid Heinemeier Hansson2007-09-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use attribute pairs instead of the migration name to create add and remove ↵Michael Koziarski2007-09-093-20/+29
| | | | | | column migrations. Closes #9166 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix task description for db:sessions:create. Closes #9419 [topfunky]Michael Koziarski2007-09-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove duplication in test_help.rb Closes #3328 [jarkko]Michael Koziarski2007-09-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use Gem.find_name instead of search when freezing gems. Prevent false ↵Michael Koziarski2007-07-241-2/+2
| | | | | | positive for other gems with rails in the name. Closes #8729 [wselman] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Automatically generate add/remove column commands in specially named ↵Rick Olson2007-07-243-2/+29
| | | | | | migrations like AddLocationToEvent. Closes #9006 [zenspider] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Default to plural table name in Rails Generator if ActiveRecord is not ↵Rick Olson2007-07-121-1/+1
| | | | | | present. Closes #8963 [evan] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Drop the trailing slashDavid Heinemeier Hansson2007-06-281-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added rake routes for listing all the defined routes in the system (closes ↵David Heinemeier Hansson2007-06-281-0/+16
| | | | | | #8795) [josh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* db:create creates the database for the current environment if it's on ↵Jeremy Kemper2007-06-281-91/+107
| | | | | | localhost. db:create:all creates local databases for all environments. Closes #8783. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generators: look for generators in all gems, not just those suffixed with ↵Jeremy Kemper2007-06-273-9/+43
| | | | | | _generator, in the gem's generators or rails_generators directory. Allow use of the rails_generators directory instead of the standard generators directory in plugins also. Closes #8730. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added db:version to get the current schema number [via Tim Bray]David Heinemeier Hansson2007-06-252-4/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de