rails 1.2.6 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rails might be problematic. Click here for more details.

Files changed (148) hide show
  1. data/CHANGELOG +491 -12
  2. data/MIT-LICENSE +1 -1
  3. data/README +17 -25
  4. data/Rakefile +41 -18
  5. data/bin/about +1 -1
  6. data/bin/console +1 -1
  7. data/bin/destroy +1 -1
  8. data/bin/generate +1 -1
  9. data/bin/performance/request +3 -0
  10. data/bin/plugin +1 -1
  11. data/bin/runner +1 -1
  12. data/bin/server +1 -1
  13. data/builtin/rails_info/rails/info.rb +2 -2
  14. data/configs/apache.conf +1 -1
  15. data/configs/databases/mysql.yml +9 -3
  16. data/configs/databases/postgresql.yml +16 -12
  17. data/configs/initializers/inflections.rb +10 -0
  18. data/configs/initializers/mime_types.rb +5 -0
  19. data/configs/routes.rb +23 -11
  20. data/doc/README_FOR_APP +1 -1
  21. data/environments/boot.rb +95 -26
  22. data/environments/development.rb +2 -5
  23. data/environments/environment.rb +24 -25
  24. data/environments/test.rb +4 -1
  25. data/helpers/application.rb +5 -2
  26. data/helpers/test_helper.rb +10 -0
  27. data/html/422.html +30 -0
  28. data/html/500.html +1 -1
  29. data/html/index.html +2 -2
  30. data/html/javascripts/controls.js +484 -354
  31. data/html/javascripts/dragdrop.js +88 -58
  32. data/html/javascripts/effects.js +396 -364
  33. data/html/javascripts/prototype.js +2817 -1107
  34. data/html/robots.txt +5 -1
  35. data/lib/commands/console.rb +12 -5
  36. data/lib/commands/performance/request.rb +6 -0
  37. data/lib/commands/plugin.rb +15 -10
  38. data/lib/commands/process/spawner.rb +14 -4
  39. data/lib/commands/servers/base.rb +12 -0
  40. data/lib/commands/servers/mongrel.rb +5 -1
  41. data/lib/commands/servers/webrick.rb +14 -7
  42. data/lib/console_app.rb +5 -2
  43. data/lib/console_with_helpers.rb +5 -2
  44. data/lib/dispatcher.rb +3 -151
  45. data/lib/fcgi_handler.rb +79 -81
  46. data/lib/initializer.rb +125 -169
  47. data/lib/rails/plugin.rb +84 -0
  48. data/lib/rails/plugin/loader.rb +150 -0
  49. data/lib/rails/plugin/locator.rb +78 -0
  50. data/lib/rails/version.rb +3 -3
  51. data/lib/rails_generator/base.rb +11 -9
  52. data/lib/rails_generator/commands.rb +20 -10
  53. data/lib/rails_generator/generators/applications/app/USAGE +0 -7
  54. data/lib/rails_generator/generators/applications/app/app_generator.rb +25 -6
  55. data/lib/rails_generator/generators/components/controller/USAGE +11 -12
  56. data/lib/rails_generator/generators/components/controller/controller_generator.rb +2 -2
  57. data/lib/rails_generator/generators/components/controller/templates/functional_test.rb +1 -11
  58. data/lib/rails_generator/generators/components/controller/templates/{view.rhtml → view.html.erb} +0 -0
  59. data/lib/rails_generator/generators/components/integration_test/USAGE +5 -11
  60. data/lib/rails_generator/generators/components/mailer/USAGE +8 -10
  61. data/lib/rails_generator/generators/components/mailer/mailer_generator.rb +3 -3
  62. data/lib/rails_generator/generators/components/mailer/templates/fixture.erb +3 -0
  63. data/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml +0 -3
  64. data/lib/rails_generator/generators/components/mailer/templates/unit_test.rb +8 -24
  65. data/lib/rails_generator/generators/components/mailer/templates/view.erb +3 -0
  66. data/lib/rails_generator/generators/components/mailer/templates/view.rhtml +0 -3
  67. data/lib/rails_generator/generators/components/migration/USAGE +23 -8
  68. data/lib/rails_generator/generators/components/migration/migration_generator.rb +15 -2
  69. data/lib/rails_generator/generators/components/migration/templates/migration.rb +6 -2
  70. data/lib/rails_generator/generators/components/model/USAGE +15 -14
  71. data/lib/rails_generator/generators/components/model/model_generator.rb +10 -3
  72. data/lib/rails_generator/generators/components/model/templates/fixtures.yml +11 -3
  73. data/lib/rails_generator/generators/components/model/templates/migration.rb +4 -1
  74. data/lib/rails_generator/generators/components/model/templates/unit_test.rb +1 -3
  75. data/lib/rails_generator/generators/components/observer/USAGE +5 -7
  76. data/lib/rails_generator/generators/components/observer/templates/unit_test.rb +0 -2
  77. data/lib/rails_generator/generators/components/plugin/USAGE +8 -18
  78. data/lib/rails_generator/generators/components/plugin/plugin_generator.rb +1 -0
  79. data/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE +20 -0
  80. data/lib/rails_generator/generators/components/plugin/templates/README +10 -1
  81. data/lib/rails_generator/generators/components/plugin/templates/USAGE +1 -1
  82. data/lib/rails_generator/generators/components/plugin/templates/init.rb +1 -1
  83. data/lib/rails_generator/generators/components/plugin/templates/plugin.rb +1 -1
  84. data/lib/rails_generator/generators/components/plugin/templates/tasks.rake +1 -1
  85. data/lib/rails_generator/generators/components/resource/USAGE +23 -0
  86. data/lib/rails_generator/generators/components/resource/resource_generator.rb +13 -15
  87. data/lib/rails_generator/generators/components/resource/templates/controller.rb +1 -1
  88. data/lib/rails_generator/generators/components/resource/templates/functional_test.rb +2 -14
  89. data/lib/rails_generator/generators/components/scaffold/USAGE +24 -31
  90. data/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +45 -146
  91. data/lib/rails_generator/generators/components/scaffold/templates/controller.rb +64 -37
  92. data/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb +23 -80
  93. data/lib/rails_generator/generators/components/scaffold/templates/{layout.rhtml → layout.html.erb} +0 -0
  94. data/lib/rails_generator/generators/components/scaffold/templates/style.css +1 -1
  95. data/lib/rails_generator/generators/components/{scaffold_resource/templates/view_edit.rhtml → scaffold/templates/view_edit.html.erb} +4 -4
  96. data/lib/rails_generator/generators/components/{scaffold_resource/templates/view_index.rhtml → scaffold/templates/view_index.html.erb} +4 -4
  97. data/lib/rails_generator/generators/components/{scaffold_resource/templates/view_new.rhtml → scaffold/templates/view_new.html.erb} +3 -3
  98. data/lib/rails_generator/generators/components/{scaffold_resource/templates/view_show.rhtml → scaffold/templates/view_show.html.erb} +1 -1
  99. data/lib/rails_generator/generators/components/session_migration/USAGE +6 -11
  100. data/lib/rails_generator/generators/components/session_migration/templates/migration.rb +3 -3
  101. data/lib/rails_generator/lookup.rb +45 -10
  102. data/lib/rails_generator/scripts.rb +6 -3
  103. data/lib/rails_generator/scripts/destroy.rb +23 -0
  104. data/lib/rails_generator/secret_key_generator.rb +160 -0
  105. data/lib/rails_generator/spec.rb +1 -1
  106. data/lib/source_annotation_extractor.rb +62 -0
  107. data/lib/tasks/annotations.rake +23 -0
  108. data/lib/tasks/databases.rake +249 -83
  109. data/lib/tasks/documentation.rake +11 -13
  110. data/lib/tasks/framework.rake +1 -1
  111. data/lib/tasks/rails.rb +1 -1
  112. data/lib/tasks/testing.rake +5 -7
  113. data/lib/test_help.rb +4 -3
  114. data/lib/webrick_server.rb +3 -4
  115. metadata +31 -49
  116. data/bin/breakpointer +0 -3
  117. data/lib/binding_of_caller.rb +0 -85
  118. data/lib/breakpoint.rb +0 -553
  119. data/lib/breakpoint_client.rb +0 -196
  120. data/lib/commands/breakpointer.rb +0 -1
  121. data/lib/rails_generator/generators/components/resource/templates/USAGE +0 -18
  122. data/lib/rails_generator/generators/components/resource/templates/fixtures.yml +0 -11
  123. data/lib/rails_generator/generators/components/resource/templates/migration.rb +0 -13
  124. data/lib/rails_generator/generators/components/resource/templates/model.rb +0 -2
  125. data/lib/rails_generator/generators/components/resource/templates/unit_test.rb +0 -10
  126. data/lib/rails_generator/generators/components/scaffold/templates/form.rhtml +0 -3
  127. data/lib/rails_generator/generators/components/scaffold/templates/form_scaffolding.rhtml +0 -1
  128. data/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml +0 -9
  129. data/lib/rails_generator/generators/components/scaffold/templates/view_list.rhtml +0 -27
  130. data/lib/rails_generator/generators/components/scaffold/templates/view_new.rhtml +0 -8
  131. data/lib/rails_generator/generators/components/scaffold/templates/view_show.rhtml +0 -8
  132. data/lib/rails_generator/generators/components/scaffold_resource/USAGE +0 -29
  133. data/lib/rails_generator/generators/components/scaffold_resource/scaffold_resource_generator.rb +0 -93
  134. data/lib/rails_generator/generators/components/scaffold_resource/templates/controller.rb +0 -79
  135. data/lib/rails_generator/generators/components/scaffold_resource/templates/fixtures.yml +0 -11
  136. data/lib/rails_generator/generators/components/scaffold_resource/templates/functional_test.rb +0 -57
  137. data/lib/rails_generator/generators/components/scaffold_resource/templates/helper.rb +0 -2
  138. data/lib/rails_generator/generators/components/scaffold_resource/templates/layout.rhtml +0 -17
  139. data/lib/rails_generator/generators/components/scaffold_resource/templates/migration.rb +0 -13
  140. data/lib/rails_generator/generators/components/scaffold_resource/templates/model.rb +0 -2
  141. data/lib/rails_generator/generators/components/scaffold_resource/templates/style.css +0 -74
  142. data/lib/rails_generator/generators/components/scaffold_resource/templates/unit_test.rb +0 -10
  143. data/lib/rails_generator/generators/components/web_service/USAGE +0 -28
  144. data/lib/rails_generator/generators/components/web_service/templates/api_definition.rb +0 -5
  145. data/lib/rails_generator/generators/components/web_service/templates/controller.rb +0 -8
  146. data/lib/rails_generator/generators/components/web_service/templates/functional_test.rb +0 -19
  147. data/lib/rails_generator/generators/components/web_service/web_service_generator.rb +0 -29
  148. data/lib/tasks/pre_namespace_aliases.rake +0 -53
@@ -1,79 +0,0 @@
1
- class <%= controller_class_name %>Controller < ApplicationController
2
- # GET /<%= table_name %>
3
- # GET /<%= table_name %>.xml
4
- def index
5
- @<%= table_name %> = <%= class_name %>.find(:all)
6
-
7
- respond_to do |format|
8
- format.html # index.rhtml
9
- format.xml { render :xml => @<%= table_name %>.to_xml }
10
- end
11
- end
12
-
13
- # GET /<%= table_name %>/1
14
- # GET /<%= table_name %>/1.xml
15
- def show
16
- @<%= file_name %> = <%= class_name %>.find(params[:id])
17
-
18
- respond_to do |format|
19
- format.html # show.rhtml
20
- format.xml { render :xml => @<%= file_name %>.to_xml }
21
- end
22
- end
23
-
24
- # GET /<%= table_name %>/new
25
- def new
26
- @<%= file_name %> = <%= class_name %>.new
27
- end
28
-
29
- # GET /<%= table_name %>/1;edit
30
- def edit
31
- @<%= file_name %> = <%= class_name %>.find(params[:id])
32
- end
33
-
34
- # POST /<%= table_name %>
35
- # POST /<%= table_name %>.xml
36
- def create
37
- @<%= file_name %> = <%= class_name %>.new(params[:<%= file_name %>])
38
-
39
- respond_to do |format|
40
- if @<%= file_name %>.save
41
- flash[:notice] = '<%= class_name %> was successfully created.'
42
- format.html { redirect_to <%= file_name %>_url(@<%= file_name %>) }
43
- format.xml { head :created, :location => <%= file_name %>_url(@<%= file_name %>) }
44
- else
45
- format.html { render :action => "new" }
46
- format.xml { render :xml => @<%= file_name %>.errors.to_xml }
47
- end
48
- end
49
- end
50
-
51
- # PUT /<%= table_name %>/1
52
- # PUT /<%= table_name %>/1.xml
53
- def update
54
- @<%= file_name %> = <%= class_name %>.find(params[:id])
55
-
56
- respond_to do |format|
57
- if @<%= file_name %>.update_attributes(params[:<%= file_name %>])
58
- flash[:notice] = '<%= class_name %> was successfully updated.'
59
- format.html { redirect_to <%= file_name %>_url(@<%= file_name %>) }
60
- format.xml { head :ok }
61
- else
62
- format.html { render :action => "edit" }
63
- format.xml { render :xml => @<%= file_name %>.errors.to_xml }
64
- end
65
- end
66
- end
67
-
68
- # DELETE /<%= table_name %>/1
69
- # DELETE /<%= table_name %>/1.xml
70
- def destroy
71
- @<%= file_name %> = <%= class_name %>.find(params[:id])
72
- @<%= file_name %>.destroy
73
-
74
- respond_to do |format|
75
- format.html { redirect_to <%= table_name %>_url }
76
- format.xml { head :ok }
77
- end
78
- end
79
- end
@@ -1,11 +0,0 @@
1
- # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
- one:
3
- id: 1
4
- <% for attribute in attributes -%>
5
- <%= attribute.name %>: <%= attribute.default %>
6
- <% end -%>
7
- two:
8
- id: 2
9
- <% for attribute in attributes -%>
10
- <%= attribute.name %>: <%= attribute.default %>
11
- <% end -%>
@@ -1,57 +0,0 @@
1
- require File.dirname(__FILE__) + '<%= '/..' * controller_class_nesting_depth %>/../test_helper'
2
- require '<%= controller_file_path %>_controller'
3
-
4
- # Re-raise errors caught by the controller.
5
- class <%= controller_class_name %>Controller; def rescue_action(e) raise e end; end
6
-
7
- class <%= controller_class_name %>ControllerTest < Test::Unit::TestCase
8
- fixtures :<%= table_name %>
9
-
10
- def setup
11
- @controller = <%= controller_class_name %>Controller.new
12
- @request = ActionController::TestRequest.new
13
- @response = ActionController::TestResponse.new
14
- end
15
-
16
- def test_should_get_index
17
- get :index
18
- assert_response :success
19
- assert assigns(:<%= table_name %>)
20
- end
21
-
22
- def test_should_get_new
23
- get :new
24
- assert_response :success
25
- end
26
-
27
- def test_should_create_<%= file_name %>
28
- old_count = <%= class_name %>.count
29
- post :create, :<%= file_name %> => { }
30
- assert_equal old_count+1, <%= class_name %>.count
31
-
32
- assert_redirected_to <%= file_name %>_path(assigns(:<%= file_name %>))
33
- end
34
-
35
- def test_should_show_<%= file_name %>
36
- get :show, :id => 1
37
- assert_response :success
38
- end
39
-
40
- def test_should_get_edit
41
- get :edit, :id => 1
42
- assert_response :success
43
- end
44
-
45
- def test_should_update_<%= file_name %>
46
- put :update, :id => 1, :<%= file_name %> => { }
47
- assert_redirected_to <%= file_name %>_path(assigns(:<%= file_name %>))
48
- end
49
-
50
- def test_should_destroy_<%= file_name %>
51
- old_count = <%= class_name %>.count
52
- delete :destroy, :id => 1
53
- assert_equal old_count-1, <%= class_name %>.count
54
-
55
- assert_redirected_to <%= table_name %>_path
56
- end
57
- end
@@ -1,2 +0,0 @@
1
- module <%= controller_class_name %>Helper
2
- end
@@ -1,17 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
-
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
7
- <title><%= controller_class_name %>: <%%= controller.action_name %></title>
8
- <%%= stylesheet_link_tag 'scaffold' %>
9
- </head>
10
- <body>
11
-
12
- <p style="color: green"><%%= flash[:notice] %></p>
13
-
14
- <%%= yield %>
15
-
16
- </body>
17
- </html>
@@ -1,13 +0,0 @@
1
- class <%= migration_name %> < ActiveRecord::Migration
2
- def self.up
3
- create_table :<%= table_name %> do |t|
4
- <% for attribute in attributes -%>
5
- t.column :<%= attribute.name %>, :<%= attribute.type %>
6
- <% end -%>
7
- end
8
- end
9
-
10
- def self.down
11
- drop_table :<%= table_name %>
12
- end
13
- end
@@ -1,2 +0,0 @@
1
- class <%= class_name %> < ActiveRecord::Base
2
- end
@@ -1,74 +0,0 @@
1
- body { background-color: #fff; color: #333; }
2
-
3
- body, p, ol, ul, td {
4
- font-family: verdana, arial, helvetica, sans-serif;
5
- font-size: 13px;
6
- line-height: 18px;
7
- }
8
-
9
- pre {
10
- background-color: #eee;
11
- padding: 10px;
12
- font-size: 11px;
13
- }
14
-
15
- a { color: #000; }
16
- a:visited { color: #666; }
17
- a:hover { color: #fff; background-color:#000; }
18
-
19
- .fieldWithErrors {
20
- padding: 2px;
21
- background-color: red;
22
- display: table;
23
- }
24
-
25
- #errorExplanation {
26
- width: 400px;
27
- border: 2px solid red;
28
- padding: 7px;
29
- padding-bottom: 12px;
30
- margin-bottom: 20px;
31
- background-color: #f0f0f0;
32
- }
33
-
34
- #errorExplanation h2 {
35
- text-align: left;
36
- font-weight: bold;
37
- padding: 5px 5px 5px 15px;
38
- font-size: 12px;
39
- margin: -7px;
40
- background-color: #c00;
41
- color: #fff;
42
- }
43
-
44
- #errorExplanation p {
45
- color: #333;
46
- margin-bottom: 0;
47
- padding: 5px;
48
- }
49
-
50
- #errorExplanation ul li {
51
- font-size: 12px;
52
- list-style: square;
53
- }
54
-
55
- div.uploadStatus {
56
- margin: 5px;
57
- }
58
-
59
- div.progressBar {
60
- margin: 5px;
61
- }
62
-
63
- div.progressBar div.border {
64
- background-color: #fff;
65
- border: 1px solid grey;
66
- width: 100%;
67
- }
68
-
69
- div.progressBar div.background {
70
- background-color: #333;
71
- height: 18px;
72
- width: 0%;
73
- }
74
-
@@ -1,10 +0,0 @@
1
- require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper'
2
-
3
- class <%= class_name %>Test < Test::Unit::TestCase
4
- fixtures :<%= table_name %>
5
-
6
- # Replace this with your real tests.
7
- def test_truth
8
- assert true
9
- end
10
- end
@@ -1,28 +0,0 @@
1
- Description:
2
- The web service generator creates the controller and API definition for
3
- a web service.
4
-
5
- The generator takes a web service name and a list of API methods as arguments.
6
- The web service name may be given in CamelCase or under_score and should
7
- contain no extra suffixes. To create a web service within a
8
- module, specify the web service name as 'module/webservice'.
9
-
10
- The generator creates a controller class in app/controllers, an API definition
11
- in app/apis, and a functional test suite in test/functional.
12
-
13
- Example:
14
- ./script/generate web_service User add edit list remove
15
-
16
- User web service.
17
- Controller: app/controllers/user_controller.rb
18
- API: app/apis/user_api.rb
19
- Test: test/functional/user_api_test.rb
20
-
21
- Modules Example:
22
- ./script/generate web_service 'api/registration' register renew
23
-
24
- Registration web service.
25
- Controller: app/controllers/api/registration_controller.rb
26
- API: app/apis/api/registration_api.rb
27
- Test: test/functional/api/registration_api_test.rb
28
-
@@ -1,5 +0,0 @@
1
- class <%= class_name %>Api < ActionWebService::API::Base
2
- <% for method_name in args -%>
3
- api_method :<%= method_name %>
4
- <% end -%>
5
- end
@@ -1,8 +0,0 @@
1
- class <%= class_name %>Controller < ApplicationController
2
- wsdl_service_name '<%= class_name %>'
3
- <% for method_name in args -%>
4
-
5
- def <%= method_name %>
6
- end
7
- <% end -%>
8
- end
@@ -1,19 +0,0 @@
1
- require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper'
2
- require '<%= file_path %>_controller'
3
-
4
- class <%= class_name %>Controller; def rescue_action(e) raise e end; end
5
-
6
- class <%= class_name %>ControllerApiTest < Test::Unit::TestCase
7
- def setup
8
- @controller = <%= class_name %>Controller.new
9
- @request = ActionController::TestRequest.new
10
- @response = ActionController::TestResponse.new
11
- end
12
- <% for method_name in args -%>
13
-
14
- def test_<%= method_name %>
15
- result = invoke :<%= method_name %>
16
- assert_equal nil, result
17
- end
18
- <% end -%>
19
- end
@@ -1,29 +0,0 @@
1
- class WebServiceGenerator < Rails::Generator::NamedBase
2
- def manifest
3
- record do |m|
4
- # Check for class naming collisions.
5
- m.class_collisions class_path, "#{class_name}Api", "#{class_name}Controller", "#{class_name}ApiTest"
6
-
7
- # API and test directories.
8
- m.directory File.join('app/apis', class_path)
9
- m.directory File.join('app/controllers', class_path)
10
- m.directory File.join('test/functional', class_path)
11
-
12
- # API definition, controller, and functional test.
13
- m.template 'api_definition.rb',
14
- File.join('app/apis',
15
- class_path,
16
- "#{file_name}_api.rb")
17
-
18
- m.template 'controller.rb',
19
- File.join('app/controllers',
20
- class_path,
21
- "#{file_name}_controller.rb")
22
-
23
- m.template 'functional_test.rb',
24
- File.join('test/functional',
25
- class_path,
26
- "#{file_name}_api_test.rb")
27
- end
28
- end
29
- end
@@ -1,53 +0,0 @@
1
- def deprecated_task(name, new_name)
2
- task name=>new_name do
3
- $stderr.puts "The rake task #{name} has been deprecated, please use the replacement version #{new_name}"
4
- end
5
- end
6
-
7
-
8
- # clear
9
- deprecated_task :clear_logs, "log:clear"
10
-
11
- # test
12
- deprecated_task :recent, "test:recent"
13
- deprecated_task :test_units, "test:units"
14
- deprecated_task :test_functional, "test:functionals"
15
- deprecated_task :test_plugins, "test:plugins"
16
-
17
-
18
- # doc
19
- deprecated_task :appdoc, "doc:app"
20
- deprecated_task :apidoc, "doc:rails"
21
- deprecated_task :plugindoc, "doc:plugins"
22
- deprecated_task :clobber_plugindoc, "doc:clobber_plugins"
23
-
24
- FileList['vendor/plugins/**'].collect { |plugin| File.basename(plugin) }.each do |plugin|
25
- deprecated_task :"#{plugin}_plugindoc", "doc:plugins:#{plugin}"
26
- end
27
-
28
-
29
- # rails
30
- deprecated_task :freeze_gems, "rails:freeze:gems"
31
- deprecated_task :freeze_edge, "rails:freeze:edge"
32
- deprecated_task :unfreeze_rails, "rails:unfreeze"
33
- deprecated_task :add_new_scripts, "rails:update:scripts"
34
- deprecated_task :update_javascripts, "rails:update:javascripts"
35
-
36
-
37
- # db
38
- deprecated_task :migrate, "db:migrate"
39
- deprecated_task :load_fixtures, "db:fixtures:load"
40
-
41
- deprecated_task :db_schema_dump, "db:schema:dump"
42
- deprecated_task :db_schema_import, "db:schema:load"
43
-
44
- deprecated_task :db_structure_dump, "db:structure:dump"
45
-
46
- deprecated_task :purge_test_database, "db:test:purge"
47
- deprecated_task :clone_schema_to_test, "db:test:clone"
48
- deprecated_task :clone_structure_to_test, "db:test:clone_structure"
49
- deprecated_task :prepare_test_database, "db:test:prepare"
50
-
51
- deprecated_task :create_sessions_table, "db:sessions:create"
52
- deprecated_task :drop_sessions_table, "db:sessions:drop"
53
- deprecated_task :purge_sessions_table, "db:sessions:recreate"