aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Refactor check for local databases (closes #10539) [parcelbrat]David Heinemeier Hansson2008-01-031-11/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8535 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that rails:update is run when you do rails:freeze:edge to ensure you ↵David Heinemeier Hansson2008-01-031-0/+3
| | | | | | also get the latest JS and config files (closes #10565) [jeff] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8532 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* db:sessions:clear task uses session_table_name method. Closes #10631 [Cheah ↵Jeremy Kemper2008-01-021-3/+1
| | | | | | Chu Yeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: db:drop:all doesn't fail silently if the database is already open. ↵Jeremy Kemper2008-01-021-1/+1
| | | | | | Closes #10577. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compatibility. References #1689.Jeremy Kemper2007-12-173-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Turned on ActionView::Base.cache_template_loading by default in ↵David Heinemeier Hansson2007-12-161-5/+3
| | | | | | config/environments/production.rb to prevent file system stat calls for every template loading to see if it changed (this means that you have to restart the application to see template changes in production mode) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce (in /Users/jeremy/rails/git/trunk) to output a crytographically ↵Jeremy Kemper2007-12-151-1/+9
| | | | | | secure secret key for use with cookie sessions. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that local database creation should consider 127.0.0.1 local (closes ↵David Heinemeier Hansson2007-12-141-1/+1
| | | | | | #9026) [parcelbrat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added db:migrate:redo and db:migrate:reset for rerunning existing migrations ↵David Heinemeier Hansson2007-12-141-0/+3
| | | | | | #10431, (closes #10432) [matt] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added db:migrate:redo for rerunning existing migrations (closes #10431) [matt]David Heinemeier Hansson2007-12-141-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8382 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't check for pending migrations if Active Record isn't loadedJeremy Kemper2007-12-091-7/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8338 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update rails:freeze:gems to work with RubyGems 0.9.5.Jeremy Kemper2007-12-091-7/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8336 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The test task stops with a warning if you have pending migrations. Closes ↵Jeremy Kemper2007-12-061-1/+14
| | | | | | #10377. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8324 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added db:fixtures:identity as a way of locating what ID a foxy fixture was ↵David Heinemeier Hansson2007-12-011-0/+22
| | | | | | assigned (closes #10332) [jbarnette] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that db:reset would use migrations instead of loading db/schema.rb [DHH]David Heinemeier Hansson2007-11-091-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added db:rollback to rollback the schema one version (or multiple as ↵David Heinemeier Hansson2007-10-261-0/+7
| | | | | | specified by STEP) [Jeffrey Allan Hardy] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rake test aborts if tests failed. Closes #9962 [Jason Roelofs]Jeremy Kemper2007-10-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include ARes and Railties in rdoc. Freeze ARes gem instead of AWS.Jeremy Kemper2007-10-082-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7803 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Axe excess backtracery.Jeremy Kemper2007-10-071-6/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7770 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* db:create works with remote databases whereas db:create:all only ↵Jeremy Kemper2007-10-021-31/+50
| | | | | | createsdatabases on localhost. Closes #9753. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved the SourceAnnotationExtractor to a separate file in case libraries try ↵Rick Olson2007-09-281-62/+1
| | | | | | 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* Added db:version to get the current schema number [via Tim Bray]David Heinemeier Hansson2007-06-251-3/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #8480)David Heinemeier Hansson2007-06-231-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfixes (closes #7348, #7778, #8669)David Heinemeier Hansson2007-06-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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
* 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
* 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
* 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
* Windows: include MinGW in RUBY_PLATFORM check. Closes #2982.Jeremy Kemper2007-03-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added source-annotations extractor tasks to rake [Jamis Buck]David Heinemeier Hansson2007-02-251-0/+84
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stop swallowing errors during rake test [Koz]Michael Koziarski2007-02-201-7/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Plugins may be symlinked in vendor/plugins. Closes #4245.Jeremy Kemper2007-02-012-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rake: use absolute paths to load lib and vendor tasks so they may be run ↵Jeremy Kemper2006-11-091-2/+2
| | | | | | outside of RAILS_ROOT. Closes #6584. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de