railties 3.0.0.beta2 → 3.0.0.beta3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. data/CHANGELOG +6 -2
  2. data/guides/{images → assets/images}/belongs_to.png +0 -0
  3. data/guides/{images → assets/images}/book_icon.gif +0 -0
  4. data/guides/{images → assets/images}/bullet.gif +0 -0
  5. data/guides/{images → assets/images}/challenge.png +0 -0
  6. data/guides/{images → assets/images}/chapters_icon.gif +0 -0
  7. data/guides/{images → assets/images}/check_bullet.gif +0 -0
  8. data/guides/{images → assets/images}/credits_pic_blank.gif +0 -0
  9. data/guides/{images → assets/images}/csrf.png +0 -0
  10. data/guides/{images → assets/images}/customized_error_messages.png +0 -0
  11. data/guides/{images → assets/images}/edge_badge.png +0 -0
  12. data/guides/{images → assets/images}/error_messages.png +0 -0
  13. data/guides/{images → assets/images}/feature_tile.gif +0 -0
  14. data/guides/{images → assets/images}/footer_tile.gif +0 -0
  15. data/guides/{images → assets/images}/fxn.png +0 -0
  16. data/guides/{images → assets/images}/grey_bullet.gif +0 -0
  17. data/guides/{images → assets/images}/habtm.png +0 -0
  18. data/guides/{images → assets/images}/has_many.png +0 -0
  19. data/guides/{images → assets/images}/has_many_through.png +0 -0
  20. data/guides/{images → assets/images}/has_one.png +0 -0
  21. data/guides/{images → assets/images}/has_one_through.png +0 -0
  22. data/guides/{images → assets/images}/header_backdrop.png +0 -0
  23. data/guides/{images → assets/images}/header_tile.gif +0 -0
  24. data/guides/{images → assets/images}/i18n/demo_localized_pirate.png +0 -0
  25. data/guides/{images → assets/images}/i18n/demo_translated_en.png +0 -0
  26. data/guides/{images → assets/images}/i18n/demo_translated_pirate.png +0 -0
  27. data/guides/{images → assets/images}/i18n/demo_translation_missing.png +0 -0
  28. data/guides/{images → assets/images}/i18n/demo_untranslated.png +0 -0
  29. data/guides/{images → assets/images}/icons/README +0 -0
  30. data/guides/{images → assets/images}/icons/callouts/1.png +0 -0
  31. data/guides/{images → assets/images}/icons/callouts/10.png +0 -0
  32. data/guides/{images → assets/images}/icons/callouts/11.png +0 -0
  33. data/guides/{images → assets/images}/icons/callouts/12.png +0 -0
  34. data/guides/{images → assets/images}/icons/callouts/13.png +0 -0
  35. data/guides/{images → assets/images}/icons/callouts/14.png +0 -0
  36. data/guides/{images → assets/images}/icons/callouts/15.png +0 -0
  37. data/guides/{images → assets/images}/icons/callouts/2.png +0 -0
  38. data/guides/{images → assets/images}/icons/callouts/3.png +0 -0
  39. data/guides/{images → assets/images}/icons/callouts/4.png +0 -0
  40. data/guides/{images → assets/images}/icons/callouts/5.png +0 -0
  41. data/guides/{images → assets/images}/icons/callouts/6.png +0 -0
  42. data/guides/{images → assets/images}/icons/callouts/7.png +0 -0
  43. data/guides/{images → assets/images}/icons/callouts/8.png +0 -0
  44. data/guides/{images → assets/images}/icons/callouts/9.png +0 -0
  45. data/guides/{images → assets/images}/icons/caution.png +0 -0
  46. data/guides/{images → assets/images}/icons/example.png +0 -0
  47. data/guides/{images → assets/images}/icons/home.png +0 -0
  48. data/guides/{images → assets/images}/icons/important.png +0 -0
  49. data/guides/{images → assets/images}/icons/next.png +0 -0
  50. data/guides/{images → assets/images}/icons/note.png +0 -0
  51. data/guides/{images → assets/images}/icons/prev.png +0 -0
  52. data/guides/{images → assets/images}/icons/tip.png +0 -0
  53. data/guides/{images → assets/images}/icons/up.png +0 -0
  54. data/guides/{images → assets/images}/icons/warning.png +0 -0
  55. data/guides/assets/images/jaimeiniesta.jpg +0 -0
  56. data/guides/{images → assets/images}/nav_arrow.gif +0 -0
  57. data/guides/{images → assets/images}/polymorphic.png +0 -0
  58. data/guides/{images → assets/images}/posts_index.png +0 -0
  59. data/guides/{images → assets/images}/rails_guides_logo.gif +0 -0
  60. data/guides/{images → assets/images}/rails_logo_remix.gif +0 -0
  61. data/guides/{images → assets/images}/rails_welcome.png +0 -0
  62. data/guides/{images → assets/images}/session_fixation.png +0 -0
  63. data/guides/{images → assets/images}/tab_grey.gif +0 -0
  64. data/guides/{images → assets/images}/tab_info.gif +0 -0
  65. data/guides/{images → assets/images}/tab_note.gif +0 -0
  66. data/guides/{images → assets/images}/tab_red.gif +0 -0
  67. data/guides/{images → assets/images}/tab_yellow.gif +0 -0
  68. data/guides/{images → assets/images}/tab_yellow.png +0 -0
  69. data/guides/{images → assets/images}/validation_error_messages.png +0 -0
  70. data/guides/{files → assets}/javascripts/code_highlighter.js +0 -0
  71. data/guides/{files → assets}/javascripts/guides.js +0 -0
  72. data/guides/{files → assets}/javascripts/highlighters.js +0 -0
  73. data/guides/{files → assets}/stylesheets/main.css +26 -15
  74. data/guides/{files → assets}/stylesheets/print.css +0 -0
  75. data/guides/{files → assets}/stylesheets/reset.css +0 -0
  76. data/guides/{files → assets}/stylesheets/style.css +0 -0
  77. data/guides/{files → assets}/stylesheets/syntax.css +0 -0
  78. data/guides/rails_guides/generator.rb +79 -29
  79. data/guides/rails_guides/helpers.rb +2 -2
  80. data/guides/rails_guides/indexer.rb +24 -11
  81. data/guides/source/2_2_release_notes.textile +1 -1
  82. data/guides/source/3_0_release_notes.textile +27 -1
  83. data/guides/source/action_controller_overview.textile +7 -7
  84. data/guides/source/action_view_overview.textile +15 -15
  85. data/guides/source/active_record_querying.textile +4 -3
  86. data/guides/source/active_support_core_extensions.textile +6 -6
  87. data/guides/source/activerecord_validations_callbacks.textile +1 -1
  88. data/guides/source/association_basics.textile +83 -82
  89. data/guides/source/command_line.textile +16 -12
  90. data/guides/source/configuring.textile +1 -1
  91. data/guides/source/contribute.textile +1 -1
  92. data/guides/source/contributing_to_rails.textile +3 -4
  93. data/guides/source/credits.html.erb +64 -0
  94. data/guides/source/debugging_rails_applications.textile +2 -1
  95. data/guides/source/form_helpers.textile +15 -13
  96. data/guides/source/getting_started.textile +9 -8
  97. data/guides/source/index.html.erb +154 -0
  98. data/guides/source/initialization.textile +4138 -0
  99. data/guides/source/layout.html.erb +15 -7
  100. data/guides/source/layouts_and_rendering.textile +6 -5
  101. data/guides/source/nested_model_forms.textile +3 -3
  102. data/guides/source/performance_testing.textile +4 -4
  103. data/guides/source/plugins.textile +15 -14
  104. data/guides/source/rails_on_rack.textile +1 -1
  105. data/guides/source/routing.textile +379 -490
  106. data/guides/source/security.textile +5 -5
  107. data/guides/source/testing.textile +3 -2
  108. data/lib/rails.rb +7 -2
  109. data/lib/rails/application.rb +9 -2
  110. data/lib/rails/application/configuration.rb +19 -10
  111. data/lib/rails/application/finisher.rb +4 -0
  112. data/lib/rails/backtrace_cleaner.rb +1 -1
  113. data/{bin/rails → lib/rails/cli.rb} +0 -0
  114. data/lib/rails/commands/runner.rb +1 -1
  115. data/lib/rails/configuration.rb +12 -0
  116. data/lib/rails/engine.rb +6 -10
  117. data/lib/rails/engine/configuration.rb +2 -3
  118. data/lib/rails/generators.rb +1 -6
  119. data/lib/rails/generators/erb/scaffold/scaffold_generator.rb +0 -7
  120. data/lib/rails/generators/erb/scaffold/templates/_form.html.erb +10 -1
  121. data/lib/rails/generators/erb/scaffold/templates/show.html.erb +2 -0
  122. data/lib/rails/generators/migration.rb +3 -3
  123. data/lib/rails/generators/rails/app/app_generator.rb +1 -1
  124. data/lib/rails/generators/rails/app/templates/Gemfile +2 -0
  125. data/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb +1 -0
  126. data/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +14 -0
  127. data/lib/rails/generators/rails/app/templates/config/application.rb +4 -1
  128. data/lib/rails/generators/rails/app/templates/config/boot.rb +5 -13
  129. data/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +3 -0
  130. data/lib/rails/generators/rails/app/templates/config/initializers/{cookie_verification_secret.rb.tt → secret_token.rb.tt} +1 -1
  131. data/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt +1 -3
  132. data/lib/rails/generators/rails/app/templates/public/index.html +2 -1
  133. data/lib/rails/generators/rails/app/templates/public/javascripts/rails.js +41 -32
  134. data/lib/rails/generators/rails/app/templates/test/{test_helper.rb → test_helper.rb.tt} +2 -0
  135. data/lib/rails/generators/rails/model/USAGE +15 -0
  136. data/lib/rails/generators/rails/stylesheets/templates/scaffold.css +3 -8
  137. data/lib/rails/paths.rb +17 -5
  138. data/lib/rails/plugin.rb +1 -1
  139. data/lib/rails/railtie.rb +3 -25
  140. data/lib/rails/test_unit/testing.rake +11 -7
  141. data/lib/rails/version.rb +1 -1
  142. data/lib/rails/webrick_server.rb +2 -2
  143. metadata +93 -92
  144. data/guides/source/credits.textile.erb +0 -60
  145. data/guides/source/index.textile.erb +0 -139
  146. data/lib/rails/generators/erb/scaffold/templates/layout.html.erb +0 -17
  147. data/lib/rails/generators/rails/app/templates/app/views/layouts/.empty_directory +0 -0
@@ -3,7 +3,7 @@ module Rails
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
5
  TINY = 0
6
- BUILD = "beta2"
6
+ BUILD = "beta3"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].join('.')
9
9
  end
@@ -63,8 +63,8 @@ class DispatchServlet < WEBrick::HTTPServlet::AbstractServlet
63
63
  def initialize(server, options) #:nodoc:
64
64
  @server_options = options
65
65
  @file_handler = WEBrick::HTTPServlet::FileHandler.new(server, options[:server_root])
66
- # Change to the RAILS_ROOT, since Webrick::Daemon.start does a Dir::cwd("/")
67
- # OPTIONS['working_directory'] is an absolute path of the RAILS_ROOT, set in railties/lib/commands/servers/webrick.rb
66
+ # Change to the Rails.root, since Webrick::Daemon.start does a Dir::cwd("/")
67
+ # OPTIONS['working_directory'] is an absolute path of the Rails.root, set in railties/lib/commands/servers/webrick.rb
68
68
  Dir.chdir(OPTIONS['working_directory']) if defined?(OPTIONS) && File.directory?(OPTIONS['working_directory'])
69
69
  super
70
70
  end
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 3
7
7
  - 0
8
8
  - 0
9
- - beta2
10
- version: 3.0.0.beta2
9
+ - beta3
10
+ version: 3.0.0.beta3
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Heinemeier Hansson
@@ -15,8 +15,8 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-04-01 00:00:00 -07:00
19
- default_executable: rails
18
+ date: 2010-04-13 00:00:00 -07:00
19
+ default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rake
@@ -57,8 +57,8 @@ dependencies:
57
57
  - 3
58
58
  - 0
59
59
  - 0
60
- - beta2
61
- version: 3.0.0.beta2
60
+ - beta3
61
+ version: 3.0.0.beta3
62
62
  type: :runtime
63
63
  version_requirements: *id003
64
64
  - !ruby/object:Gem::Dependency
@@ -72,14 +72,14 @@ dependencies:
72
72
  - 3
73
73
  - 0
74
74
  - 0
75
- - beta2
76
- version: 3.0.0.beta2
75
+ - beta3
76
+ version: 3.0.0.beta3
77
77
  type: :runtime
78
78
  version_requirements: *id004
79
79
  description: "Rails internals: application bootup, plugins, generators, and rake tasks."
80
80
  email: david@loudthinking.com
81
- executables:
82
- - rails
81
+ executables: []
82
+
83
83
  extensions: []
84
84
 
85
85
  extra_rdoc_files: []
@@ -87,82 +87,82 @@ extra_rdoc_files: []
87
87
  files:
88
88
  - CHANGELOG
89
89
  - README
90
- - bin/rails
91
- - guides/files/javascripts/code_highlighter.js
92
- - guides/files/javascripts/guides.js
93
- - guides/files/javascripts/highlighters.js
94
- - guides/files/stylesheets/main.css
95
- - guides/files/stylesheets/print.css
96
- - guides/files/stylesheets/reset.css
97
- - guides/files/stylesheets/style.css
98
- - guides/files/stylesheets/syntax.css
99
- - guides/images/belongs_to.png
100
- - guides/images/book_icon.gif
101
- - guides/images/bullet.gif
102
- - guides/images/challenge.png
103
- - guides/images/chapters_icon.gif
104
- - guides/images/check_bullet.gif
105
- - guides/images/credits_pic_blank.gif
106
- - guides/images/csrf.png
107
- - guides/images/customized_error_messages.png
108
- - guides/images/edge_badge.png
109
- - guides/images/error_messages.png
110
- - guides/images/feature_tile.gif
111
- - guides/images/footer_tile.gif
112
- - guides/images/fxn.png
113
- - guides/images/grey_bullet.gif
114
- - guides/images/habtm.png
115
- - guides/images/has_many.png
116
- - guides/images/has_many_through.png
117
- - guides/images/has_one.png
118
- - guides/images/has_one_through.png
119
- - guides/images/header_backdrop.png
120
- - guides/images/header_tile.gif
121
- - guides/images/i18n/demo_localized_pirate.png
122
- - guides/images/i18n/demo_translated_en.png
123
- - guides/images/i18n/demo_translated_pirate.png
124
- - guides/images/i18n/demo_translation_missing.png
125
- - guides/images/i18n/demo_untranslated.png
126
- - guides/images/icons/callouts/1.png
127
- - guides/images/icons/callouts/10.png
128
- - guides/images/icons/callouts/11.png
129
- - guides/images/icons/callouts/12.png
130
- - guides/images/icons/callouts/13.png
131
- - guides/images/icons/callouts/14.png
132
- - guides/images/icons/callouts/15.png
133
- - guides/images/icons/callouts/2.png
134
- - guides/images/icons/callouts/3.png
135
- - guides/images/icons/callouts/4.png
136
- - guides/images/icons/callouts/5.png
137
- - guides/images/icons/callouts/6.png
138
- - guides/images/icons/callouts/7.png
139
- - guides/images/icons/callouts/8.png
140
- - guides/images/icons/callouts/9.png
141
- - guides/images/icons/caution.png
142
- - guides/images/icons/example.png
143
- - guides/images/icons/home.png
144
- - guides/images/icons/important.png
145
- - guides/images/icons/next.png
146
- - guides/images/icons/note.png
147
- - guides/images/icons/prev.png
148
- - guides/images/icons/README
149
- - guides/images/icons/tip.png
150
- - guides/images/icons/up.png
151
- - guides/images/icons/warning.png
152
- - guides/images/nav_arrow.gif
153
- - guides/images/polymorphic.png
154
- - guides/images/posts_index.png
155
- - guides/images/rails_guides_logo.gif
156
- - guides/images/rails_logo_remix.gif
157
- - guides/images/rails_welcome.png
158
- - guides/images/session_fixation.png
159
- - guides/images/tab_grey.gif
160
- - guides/images/tab_info.gif
161
- - guides/images/tab_note.gif
162
- - guides/images/tab_red.gif
163
- - guides/images/tab_yellow.gif
164
- - guides/images/tab_yellow.png
165
- - guides/images/validation_error_messages.png
90
+ - guides/assets/images/belongs_to.png
91
+ - guides/assets/images/book_icon.gif
92
+ - guides/assets/images/bullet.gif
93
+ - guides/assets/images/challenge.png
94
+ - guides/assets/images/chapters_icon.gif
95
+ - guides/assets/images/check_bullet.gif
96
+ - guides/assets/images/credits_pic_blank.gif
97
+ - guides/assets/images/csrf.png
98
+ - guides/assets/images/customized_error_messages.png
99
+ - guides/assets/images/edge_badge.png
100
+ - guides/assets/images/error_messages.png
101
+ - guides/assets/images/feature_tile.gif
102
+ - guides/assets/images/footer_tile.gif
103
+ - guides/assets/images/fxn.png
104
+ - guides/assets/images/grey_bullet.gif
105
+ - guides/assets/images/habtm.png
106
+ - guides/assets/images/has_many.png
107
+ - guides/assets/images/has_many_through.png
108
+ - guides/assets/images/has_one.png
109
+ - guides/assets/images/has_one_through.png
110
+ - guides/assets/images/header_backdrop.png
111
+ - guides/assets/images/header_tile.gif
112
+ - guides/assets/images/i18n/demo_localized_pirate.png
113
+ - guides/assets/images/i18n/demo_translated_en.png
114
+ - guides/assets/images/i18n/demo_translated_pirate.png
115
+ - guides/assets/images/i18n/demo_translation_missing.png
116
+ - guides/assets/images/i18n/demo_untranslated.png
117
+ - guides/assets/images/icons/callouts/1.png
118
+ - guides/assets/images/icons/callouts/10.png
119
+ - guides/assets/images/icons/callouts/11.png
120
+ - guides/assets/images/icons/callouts/12.png
121
+ - guides/assets/images/icons/callouts/13.png
122
+ - guides/assets/images/icons/callouts/14.png
123
+ - guides/assets/images/icons/callouts/15.png
124
+ - guides/assets/images/icons/callouts/2.png
125
+ - guides/assets/images/icons/callouts/3.png
126
+ - guides/assets/images/icons/callouts/4.png
127
+ - guides/assets/images/icons/callouts/5.png
128
+ - guides/assets/images/icons/callouts/6.png
129
+ - guides/assets/images/icons/callouts/7.png
130
+ - guides/assets/images/icons/callouts/8.png
131
+ - guides/assets/images/icons/callouts/9.png
132
+ - guides/assets/images/icons/caution.png
133
+ - guides/assets/images/icons/example.png
134
+ - guides/assets/images/icons/home.png
135
+ - guides/assets/images/icons/important.png
136
+ - guides/assets/images/icons/next.png
137
+ - guides/assets/images/icons/note.png
138
+ - guides/assets/images/icons/prev.png
139
+ - guides/assets/images/icons/README
140
+ - guides/assets/images/icons/tip.png
141
+ - guides/assets/images/icons/up.png
142
+ - guides/assets/images/icons/warning.png
143
+ - guides/assets/images/jaimeiniesta.jpg
144
+ - guides/assets/images/nav_arrow.gif
145
+ - guides/assets/images/polymorphic.png
146
+ - guides/assets/images/posts_index.png
147
+ - guides/assets/images/rails_guides_logo.gif
148
+ - guides/assets/images/rails_logo_remix.gif
149
+ - guides/assets/images/rails_welcome.png
150
+ - guides/assets/images/session_fixation.png
151
+ - guides/assets/images/tab_grey.gif
152
+ - guides/assets/images/tab_info.gif
153
+ - guides/assets/images/tab_note.gif
154
+ - guides/assets/images/tab_red.gif
155
+ - guides/assets/images/tab_yellow.gif
156
+ - guides/assets/images/tab_yellow.png
157
+ - guides/assets/images/validation_error_messages.png
158
+ - guides/assets/javascripts/code_highlighter.js
159
+ - guides/assets/javascripts/guides.js
160
+ - guides/assets/javascripts/highlighters.js
161
+ - guides/assets/stylesheets/main.css
162
+ - guides/assets/stylesheets/print.css
163
+ - guides/assets/stylesheets/reset.css
164
+ - guides/assets/stylesheets/style.css
165
+ - guides/assets/stylesheets/syntax.css
166
166
  - guides/rails_guides/generator.rb
167
167
  - guides/rails_guides/helpers.rb
168
168
  - guides/rails_guides/indexer.rb
@@ -186,13 +186,14 @@ files:
186
186
  - guides/source/configuring.textile
187
187
  - guides/source/contribute.textile
188
188
  - guides/source/contributing_to_rails.textile
189
- - guides/source/credits.textile.erb
189
+ - guides/source/credits.html.erb
190
190
  - guides/source/debugging_rails_applications.textile
191
191
  - guides/source/form_helpers.textile
192
192
  - guides/source/generators.textile
193
193
  - guides/source/getting_started.textile
194
194
  - guides/source/i18n.textile
195
- - guides/source/index.textile.erb
195
+ - guides/source/index.html.erb
196
+ - guides/source/initialization.textile
196
197
  - guides/source/layout.html.erb
197
198
  - guides/source/layouts_and_rendering.textile
198
199
  - guides/source/migrations.textile
@@ -214,6 +215,7 @@ files:
214
215
  - lib/rails/application/routes_reloader.rb
215
216
  - lib/rails/application.rb
216
217
  - lib/rails/backtrace_cleaner.rb
218
+ - lib/rails/cli.rb
217
219
  - lib/rails/code_statistics.rb
218
220
  - lib/rails/commands/application.rb
219
221
  - lib/rails/commands/console.rb
@@ -247,7 +249,6 @@ files:
247
249
  - lib/rails/generators/erb/scaffold/templates/_form.html.erb
248
250
  - lib/rails/generators/erb/scaffold/templates/edit.html.erb
249
251
  - lib/rails/generators/erb/scaffold/templates/index.html.erb
250
- - lib/rails/generators/erb/scaffold/templates/layout.html.erb
251
252
  - lib/rails/generators/erb/scaffold/templates/new.html.erb
252
253
  - lib/rails/generators/erb/scaffold/templates/show.html.erb
253
254
  - lib/rails/generators/erb.rb
@@ -257,6 +258,7 @@ files:
257
258
  - lib/rails/generators/rails/app/app_generator.rb
258
259
  - lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb
259
260
  - lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb
261
+ - lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt
260
262
  - lib/rails/generators/rails/app/templates/config/application.rb
261
263
  - lib/rails/generators/rails/app/templates/config/boot.rb
262
264
  - lib/rails/generators/rails/app/templates/config/databases/frontbase.yml
@@ -270,9 +272,9 @@ files:
270
272
  - lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
271
273
  - lib/rails/generators/rails/app/templates/config/environments/test.rb.tt
272
274
  - lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb
273
- - lib/rails/generators/rails/app/templates/config/initializers/cookie_verification_secret.rb.tt
274
275
  - lib/rails/generators/rails/app/templates/config/initializers/inflections.rb
275
276
  - lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb
277
+ - lib/rails/generators/rails/app/templates/config/initializers/secret_token.rb.tt
276
278
  - lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt
277
279
  - lib/rails/generators/rails/app/templates/config/locales/en.yml
278
280
  - lib/rails/generators/rails/app/templates/config/routes.rb
@@ -298,7 +300,7 @@ files:
298
300
  - lib/rails/generators/rails/app/templates/README
299
301
  - lib/rails/generators/rails/app/templates/script/rails
300
302
  - lib/rails/generators/rails/app/templates/test/performance/browsing_test.rb
301
- - lib/rails/generators/rails/app/templates/test/test_helper.rb
303
+ - lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
302
304
  - lib/rails/generators/rails/app/USAGE
303
305
  - lib/rails/generators/rails/controller/controller_generator.rb
304
306
  - lib/rails/generators/rails/controller/templates/controller.rb
@@ -409,7 +411,6 @@ files:
409
411
  - lib/rails/webrick_server.rb
410
412
  - lib/rails.rb
411
413
  - lib/rails/generators/rails/app/templates/app/models/.empty_directory
412
- - lib/rails/generators/rails/app/templates/app/views/layouts/.empty_directory
413
414
  - lib/rails/generators/rails/app/templates/public/stylesheets/.empty_directory
414
415
  - lib/rails/generators/rails/app/templates/test/fixtures/.empty_directory
415
416
  - lib/rails/generators/rails/app/templates/test/functional/.empty_directory
@@ -1,60 +0,0 @@
1
- <% content_for :header_section do %>
2
- h2. Credits
3
-
4
- p. We'd like to thank the following people for their tireless contributions to this project.
5
-
6
- <% end %>
7
-
8
- <h3 class="section">Rails Documentation Team</h3>
9
-
10
- <% author('Mike Gunderloy', 'mgunderloy') do %>
11
- Mike Gunderloy is a consultant with "ActionRails":http://www.actionrails.com. He brings 25 years of experience in a variety of languages to bear on his current work with Rails. His near-daily links and other blogging can be found at "A Fresh Cup":http://afreshcup.com and he "twitters":http://twitter.com/MikeG1 too much.
12
- <% end %>
13
-
14
- <% author('Pratik Naik', 'lifo') do %>
15
- Pratik Naik is a Ruby on Rails consultant with "ActionRails":http://www.actionrails.com and also a member of the "Rails core team":http://rubyonrails.org/core. He maintains a blog at "has_many :bugs, :through => :rails":http://m.onkey.org and has an active "twitter account":http://twitter.com/lifo.
16
- <% end %>
17
-
18
- <% author('Xavier Noria', 'fxn', 'fxn.png') do %>
19
- Xavier has been into Rails since 2005, he is currently a Rails consultant. Xavier is president of the <a href="http://www.srug.org/">Spanish Ruby Users Group</a> and has been involved in Rails in several ways. He enjoys combining his passion for Rails and his past life as a proofreader of math textbooks. Oh, he also "tweets":http://twitter.com/fxn!
20
- <% end %>
21
-
22
- <h3 class="section">Rails Guides Designers</h3>
23
-
24
- <% author('Jason Zimdars', 'jz') do %>
25
- Jason Zimdars is an experienced creative director and web designer who has lead UI and UX design for numerous websites and web applications. You can see more of his design and writing at <a href="http://www.thinkcage.com/">Thinkcage.com</a> or follow him on <a href="http://twitter.com/JZ">Twitter</a>.
26
- <% end %>
27
-
28
- <h3 class="section">Rails Guides Authors</h3>
29
-
30
- <% author('Frederick Cheung', 'fcheung') do %>
31
- Frederick Cheung is Chief Wizard at Texperts where he has been using Rails since 2006. He is based in Cambridge (UK) and when not consuming fine ales he blogs at "spacevatican.org":http://www.spacevatican.org.
32
- <% end %>
33
-
34
- <% author('Tore Darell', 'toretore') do %>
35
- Tore Darell is an independent developer based in Menton, France who specialises in cruft-free web applications using Ruby, Rails and unobtrusive JavaScript. His home on the internet is his blog "Sneaky Abstractions":http://tore.darell.no.
36
- <% end %>
37
-
38
- <% author('Jeff Dean', 'zilkey') do %>
39
- Jeff Dean is a software engineer with "Pivotal Labs":http://pivotallabs.com.
40
- <% end %>
41
-
42
- <% author('Cássio Marques', 'cmarques') do %>
43
- Cássio Marques is a Brazilian software developer working with different programming languages such as Ruby, JavaScript, CPP and Java, as an independent consultant. He blogs at "/* CODIFICANDO */":http://cassiomarques.wordpress.com, which is mainly written in Portuguese, but will soon get a new section for posts with English translation.
44
- <% end %>
45
-
46
- <% author('James Miller', 'bensie') do %>
47
- James Miller is a software developer for "JK Tech":http://www.jk-tech.com in San Diego, CA. Find me on GitHub, Gmail, Twitter, and Freenode as bensie.
48
- <% end %>
49
-
50
- <% author('Emilio Tagua', 'miloops') do %>
51
- Emilio Tagua -- a.k.a. miloops -- is an Argentinian entrepreneur, developer, open source contributor and Rails evangelist. Cofounder of "Eventioz":http://eventioz.com. He has been using Rails since 2006 and contributing since early 2008. Can be found at gmail, twitter, freenode, everywhere as miloops.
52
- <% end %>
53
-
54
- <% author('Heiko Webers', 'hawe') do %>
55
- Heiko Webers is the founder of "bauland42":http://www.bauland42.de, a German web application security consulting and development company focused on Ruby on Rails. He blogs at the "Ruby on Rails Security Project":http://www.rorsecurity.info. After 10 years of desktop application development, Heiko has rarely looked back.
56
- <% end %>
57
-
58
- <% author('Mikel Lindsaar', 'raasdnil') do %>
59
- Mikel Lindsaar has been working with Rails since 2006 and is the author of the Ruby Mail gem and core contributor (he helped re-write ActionMailer's API). Mikel has a "blog":http://lindsaar.net/ and "tweets":http://twitter.com/raasdnil.
60
- <% end %>
@@ -1,139 +0,0 @@
1
- <% content_for :header_section do %>
2
- h2. Ruby on Rails Guides
3
-
4
- These guides are designed to make you immediately productive with Rails, and to help you understand how all of the pieces fit together. There are two different versions of the Guides site, and you should be sure to use the one that applies to your situation:
5
-
6
- * "Current Release version":http://guides.rubyonrails.org - based on Rails 2.3
7
- * "Edge version":http://edgeguides.rubyonrails.org - based on the current Rails "master branch":http://github.com/rails/rails/tree/master
8
-
9
- <% end %>
10
-
11
- <% content_for :index_section do %>
12
- <div id="subCol">
13
- <dl>
14
- <dd class="warning">Rails Guides are a result of the ongoing "Guides hackfest":http://hackfest.rubyonrails.org and a work in progress.</dd>
15
- <dd class="ticket">Guides marked with this icon are currently being worked on. While they might still be useful to you, they may contain incomplete information and even errors. You can help by reviewing them and posting your comments and corrections at the respective Lighthouse ticket.</dd>
16
- </dl>
17
- </div>
18
- <% end %>
19
-
20
- h3. Start Here
21
-
22
- <dl>
23
- <% guide('Getting Started with Rails', 'getting_started.html') do %>
24
- Everything you need to know to install Rails and create your first application.
25
- <% end %>
26
- </dl>
27
-
28
- h3. Models
29
-
30
- <dl>
31
- <% guide("Rails Database Migrations", 'migrations.html') do %>
32
- This guide covers how you can use Active Record migrations to alter your database in a structured and organized manner.
33
- <% end %>
34
-
35
- <% guide("Active Record Validations and Callbacks", 'activerecord_validations_callbacks.html') do %>
36
- This guide covers how you can use Active Record validations and callbacks.
37
- <% end %>
38
-
39
- <% guide("Active Record Associations", 'association_basics.html') do %>
40
- This guide covers all the associations provided by Active Record.
41
- <% end %>
42
-
43
- <% guide("Active Record Query Interface", 'active_record_querying.html') do %>
44
- This guide covers the database query interface provided by Active Record.
45
- <% end %>
46
- </dl>
47
-
48
- h3. Views
49
-
50
- <dl>
51
- <% guide("Layouts and Rendering in Rails", 'layouts_and_rendering.html') do %>
52
- This guide covers the basic layout features of Action Controller and Action View, including rendering and redirecting, using content_for blocks, and working with partials.
53
- <% end %>
54
-
55
- <% guide("Action View Form Helpers", 'form_helpers.html', :ticket => 1) do %>
56
- Guide to using built in Form helpers.
57
- <% end %>
58
- </dl>
59
-
60
- h3. Controllers
61
-
62
- <dl>
63
- <% guide("Action Controller Overview", 'action_controller_overview.html') do %>
64
- This guide covers how controllers work and how they fit into the request cycle in your application. It includes sessions, filters, and cookies, data streaming, and dealing with exceptions raised by a request, among other topics.
65
- <% end %>
66
-
67
- <% guide("Rails Routing from the Outside In", 'routing.html') do %>
68
- This guide covers the user-facing features of Rails routing. If you want to understand how to use routing in your own Rails applications, start here.
69
- <% end %>
70
- </dl>
71
-
72
- h3. Digging Deeper
73
-
74
- <dl>
75
-
76
- <% guide("Rails on Rack", 'rails_on_rack.html') do %>
77
- This guide covers Rails integration with Rack and interfacing with other Rack components.
78
- <% end %>
79
-
80
- <% guide("Rails Internationalization API", 'i18n.html') do %>
81
- This guide covers how to add internationalization to your applications. Your application will be able to translate content to different languages, change pluralization rules, use correct date formats for each country and so on.
82
- <% end %>
83
-
84
- <% guide("Action Mailer Basics", 'action_mailer_basics.html', :ticket => 25) do %>
85
- This guide describes how to use Action Mailer to send and receive emails.
86
- <% end %>
87
-
88
- <% guide("Testing Rails Applications", 'testing.html', :ticket => 8) do %>
89
- This is a rather comprehensive guide to doing both unit and functional tests in Rails. It covers everything from “What is a test?” to the testing APIs. Enjoy.
90
- <% end %>
91
-
92
- <% guide("Securing Rails Applications", 'security.html') do %>
93
- This guide describes common security problems in web applications and how to avoid them with Rails.
94
- <% end %>
95
-
96
- <% guide("Debugging Rails Applications", 'debugging_rails_applications.html') do %>
97
- This guide describes how to debug Rails applications. It covers the different ways of achieving this and how to understand what is happening "behind the scenes" of your code.
98
- <% end %>
99
-
100
- <% guide("Performance Testing Rails Applications", 'performance_testing.html') do %>
101
- This guide covers the various ways of performance testing a Ruby on Rails application.
102
- <% end %>
103
-
104
- <% guide("The Basics of Creating Rails Plugins", 'plugins.html', :ticket => 32) do %>
105
- This guide covers how to build a plugin to extend the functionality of Rails.
106
- <% end %>
107
-
108
- <% guide("Configuring Rails Applications", 'configuring.html') do %>
109
- This guide covers the basic configuration settings for a Rails application.
110
- <% end %>
111
-
112
- <% guide("Rails Command Line Tools and Rake tasks", 'command_line.html', :ticket => 29) do %>
113
- This guide covers the command line tools and rake tasks provided by Rails.
114
- <% end %>
115
-
116
- <% guide("Caching with Rails", 'caching_with_rails.html', :ticket => 10) do %>
117
- Various caching techniques provided by Rails.
118
- <% end %>
119
-
120
- <% guide("Contributing to Rails", 'contributing_to_rails.html') do %>
121
- Rails is not "somebody else's framework." This guide covers a variety of ways that you can get involved in the ongoing development of Rails.
122
- <% end %>
123
- </dl>
124
-
125
- h3. Release Notes
126
-
127
- <dl>
128
- <% guide("Ruby on Rails 3.0 Release Notes", '3_0_release_notes.html') do %>
129
- Release notes for Rails 3.0.
130
- <% end %>
131
-
132
- <% guide("Ruby on Rails 2.3 Release Notes", '2_3_release_notes.html') do %>
133
- Release notes for Rails 2.3.
134
- <% end %>
135
-
136
- <% guide("Ruby on Rails 2.2 Release Notes", '2_2_release_notes.html') do %>
137
- Release notes for Rails 2.2.
138
- <% end %>
139
- </dl>