aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Make load_fixtures include csv fixtures. Closes #3053.Marcel Molina2005-11-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix freeze_gems so that the latest rails version is dumped by defaultNicholas Seckar2005-11-281-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the db_schema_dump task honor the SCHEMA environment variable if ↵Marcel Molina2005-11-211-1/+1
| | | | | | present the way db_schema_import does. Closes #2931. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: the purge_test_database Rake task shouldn't explicitly specify ↵Jeremy Kemper2005-11-201-1/+1
| | | | | | the template0 template when creating a fresh test database. Closes #2964. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* replaced constant Plugin in documentation rake task with plugin local ↵Tobias Lütke2005-11-171-3/+3
| | | | | | variable. This caused typo's migrations to fail because of name space collisions [Eridius] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove CHANGELOG from apidoc Rake task since it isn't included with new apps ↵Jeremy Kemper2005-11-161-1/+0
| | | | | | anymore. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: the clone_structure_to_test and purge_test_database Rake tasks ↵Jeremy Kemper2005-11-131-1/+1
| | | | | | should always use the test environment. Reference #2846. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: the clone_structure_to_test Rake task should always use the test ↵Jeremy Kemper2005-11-131-1/+1
| | | | | | environment. References #2846. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that legacy db tasks also reference :database for SQLite (closes ↵David Heinemeier Hansson2005-11-111-3/+6
| | | | | | #2830) [kazuhiko@fdiary.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct versioning in :freeze_gems Rake task. Closes #2778.Jeremy Kemper2005-11-081-20/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an omnipresent RailsInfoController with a properties action that ↵Sam Stephenson2005-11-081-1/+1
| | | | | | delivers an HTML rendering of Rails::Info (but only when local_request? is true). Added a new default index.html which fetches this with Ajax. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Adding new scripts should set them 0755.Scott Barron2005-11-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add 'add_new_scripts' rake task for adding new rails scripts to script/*Jamis Buck2005-11-071-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fail gracefully from svn checks (closes #2700) [Rick Olson]David Heinemeier Hansson2005-11-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* If specified, pass PostgreSQL client character encoding to createdb. Closes ↵Jeremy Kemper2005-11-021-1/+2
| | | | | | #2703. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Simplify gem search for :freeze_gems rake task.Jeremy Kemper2005-11-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The freeze_gems Rake task accepts the VERSION environment variable to decide ↵Jeremy Kemper2005-11-011-6/+21
| | | | | | which version of Rails to pull into vendor/rails. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The freeze_edge Rake task does smarter svn detection and can export a ↵Jeremy Kemper2005-10-301-7/+11
| | | | | | specific revision by passing the REVISION environment variable. For example: rake freeze_edge REVISION=1234. Closes #2663. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed :dbfile to :database for SQLite adapter for consistency (old key ↵David Heinemeier Hansson2005-10-301-3/+3
| | | | | | still works as an alias) (closes #2644) [Dan Peterson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The *_plugindoc Rake tasks look deeper into the plugins' lib directories. ↵Jeremy Kemper2005-10-291-2/+2
| | | | | | Closes #2652. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The PostgreSQL :db_structure_dump task limits its dump to the schema search ↵Jeremy Kemper2005-10-291-1/+3
| | | | | | path in database.yml. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add task to generate rdoc for all installed plugins.Marcel Molina2005-10-291-1/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Rakefile to plugin generator. Let test_plugins rake task look deeper ↵Jeremy Kemper2005-10-281-4/+4
| | | | | | into plugins' test dirs. Make plugin test cases flunk by default. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added test_plugins task: Run the plugin tests in vendor/plugins/**/test (or ↵David Heinemeier Hansson2005-10-281-0/+13
| | | | | | specify with PLUGIN=name) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rake should run functional tests even if the unit tests have failures [Jim ↵David Heinemeier Hansson2005-10-271-1/+5
| | | | | | Weirich] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Load rake task files in alphabetical order so you can build dependencies and ↵David Heinemeier Hansson2005-10-261-2/+2
| | | | | | count on them (closes #2554) [Blair Zajac] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include tasks from vendor/plugins/*/tasks in the Rakefile #2545 [Rick Olson]David Heinemeier Hansson2005-10-211-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix freeze_gemsDavid Heinemeier Hansson2005-10-161-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make freezing work with WindowsDavid Heinemeier Hansson2005-10-151-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Rails framework freezing tasks: freeze_gems (freeze to current gems), ↵David Heinemeier Hansson2005-10-151-0/+31
| | | | | | freeze_edge (freeze to Rails SVN trunk), unfreeze_rails (float with newest gems on system) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Adds update_javascripts task which will fetch all the latest js files from ↵Tobias Lütke2005-10-151-0/+6
| | | | | | railties dir. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only dump schema if schema_format is :rubyDavid Heinemeier Hansson2005-10-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleaned it up a bit.. Dependencies can be declared inlineDavid Heinemeier Hansson2005-10-131-8/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support using different database adapters for development and test with ↵Sam Stephenson2005-10-132-30/+46
| | | | | | ActiveRecord::Base.schema_format = :ruby git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the correct scope for Rake tasksDavid Heinemeier Hansson2005-10-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Migrating should also dump the latest schemaDavid Heinemeier Hansson2005-10-121-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ticket 2297 - rake stats clearly labels functional and unit testsJeremy Kemper2005-09-271-8/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add db_schema_dump and db_schema_import rake tasks to work with the new ↵Jamis Buck2005-09-231-1/+15
| | | | | | ActiveRecord::SchemaDumper (for dumping a schema to and reading a schema from a ruby file). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include libs/ in rake stats #2223 [Marcel Molina]David Heinemeier Hansson2005-09-191-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2260 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only include dirs that exists in the statsDavid Heinemeier Hansson2005-09-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2236 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use session_id instead of deprecated sessidDavid Heinemeier Hansson2005-09-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use session_id instead of deprecated sessidDavid Heinemeier Hansson2005-09-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sessions with an sDavid Heinemeier Hansson2005-09-121-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added create_session_table, drop_session_table, and purge_session_table as ↵David Heinemeier Hansson2005-09-121-3/+27
| | | | | | rake tasks for databases that supports migrations (MySQL, PostgreSQL, SQLite) to get a table for use with CGI::Session::ActiveRecordStore. Added configuration of session options through config.session_options in Rails::Configuration git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added dump of schema version to the db_structure_dump task for databases ↵David Heinemeier Hansson2005-09-121-0/+4
| | | | | | that support migrations #1835 [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed clone_structure_to_test task for SQLite #1864 [jon@burningbush.us]David Heinemeier Hansson2005-09-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved config/tasks to lib/tasks and added more documentation to environment.rbDavid Heinemeier Hansson2005-09-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the default stats task extendable by modifying the STATS_DIRECTORIES ↵Jamis Buck2005-09-051-9/+11
| | | | | | constant git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the spot looking for migrationsDavid Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the spot looking for migrationsDavid Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de