railties 3.0.0.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (334) hide show
  1. data/CHANGELOG +2201 -0
  2. data/README +286 -0
  3. data/bin/rails +11 -0
  4. data/builtin/rails_info/rails/info.rb +147 -0
  5. data/builtin/rails_info/rails/info_controller.rb +15 -0
  6. data/builtin/rails_info/rails/info_helper.rb +2 -0
  7. data/builtin/routes.rb +3 -0
  8. data/guides/files/javascripts/code_highlighter.js +188 -0
  9. data/guides/files/javascripts/guides.js +7 -0
  10. data/guides/files/javascripts/highlighters.js +90 -0
  11. data/guides/files/stylesheets/main.css +441 -0
  12. data/guides/files/stylesheets/print.css +52 -0
  13. data/guides/files/stylesheets/reset.css +43 -0
  14. data/guides/files/stylesheets/style.css +13 -0
  15. data/guides/files/stylesheets/syntax.css +31 -0
  16. data/guides/images/belongs_to.png +0 -0
  17. data/guides/images/book_icon.gif +0 -0
  18. data/guides/images/bullet.gif +0 -0
  19. data/guides/images/chapters_icon.gif +0 -0
  20. data/guides/images/check_bullet.gif +0 -0
  21. data/guides/images/credits_pic_blank.gif +0 -0
  22. data/guides/images/csrf.png +0 -0
  23. data/guides/images/customized_error_messages.png +0 -0
  24. data/guides/images/error_messages.png +0 -0
  25. data/guides/images/feature_tile.gif +0 -0
  26. data/guides/images/footer_tile.gif +0 -0
  27. data/guides/images/fxn.png +0 -0
  28. data/guides/images/grey_bullet.gif +0 -0
  29. data/guides/images/habtm.png +0 -0
  30. data/guides/images/has_many.png +0 -0
  31. data/guides/images/has_many_through.png +0 -0
  32. data/guides/images/has_one.png +0 -0
  33. data/guides/images/has_one_through.png +0 -0
  34. data/guides/images/header_backdrop.png +0 -0
  35. data/guides/images/header_tile.gif +0 -0
  36. data/guides/images/i18n/demo_localized_pirate.png +0 -0
  37. data/guides/images/i18n/demo_translated_en.png +0 -0
  38. data/guides/images/i18n/demo_translated_pirate.png +0 -0
  39. data/guides/images/i18n/demo_translation_missing.png +0 -0
  40. data/guides/images/i18n/demo_untranslated.png +0 -0
  41. data/guides/images/icons/README +5 -0
  42. data/guides/images/icons/callouts/1.png +0 -0
  43. data/guides/images/icons/callouts/10.png +0 -0
  44. data/guides/images/icons/callouts/11.png +0 -0
  45. data/guides/images/icons/callouts/12.png +0 -0
  46. data/guides/images/icons/callouts/13.png +0 -0
  47. data/guides/images/icons/callouts/14.png +0 -0
  48. data/guides/images/icons/callouts/15.png +0 -0
  49. data/guides/images/icons/callouts/2.png +0 -0
  50. data/guides/images/icons/callouts/3.png +0 -0
  51. data/guides/images/icons/callouts/4.png +0 -0
  52. data/guides/images/icons/callouts/5.png +0 -0
  53. data/guides/images/icons/callouts/6.png +0 -0
  54. data/guides/images/icons/callouts/7.png +0 -0
  55. data/guides/images/icons/callouts/8.png +0 -0
  56. data/guides/images/icons/callouts/9.png +0 -0
  57. data/guides/images/icons/caution.png +0 -0
  58. data/guides/images/icons/example.png +0 -0
  59. data/guides/images/icons/home.png +0 -0
  60. data/guides/images/icons/important.png +0 -0
  61. data/guides/images/icons/next.png +0 -0
  62. data/guides/images/icons/note.png +0 -0
  63. data/guides/images/icons/prev.png +0 -0
  64. data/guides/images/icons/tip.png +0 -0
  65. data/guides/images/icons/up.png +0 -0
  66. data/guides/images/icons/warning.png +0 -0
  67. data/guides/images/nav_arrow.gif +0 -0
  68. data/guides/images/polymorphic.png +0 -0
  69. data/guides/images/posts_index.png +0 -0
  70. data/guides/images/rails_guides_logo.gif +0 -0
  71. data/guides/images/rails_logo_remix.gif +0 -0
  72. data/guides/images/rails_welcome.png +0 -0
  73. data/guides/images/session_fixation.png +0 -0
  74. data/guides/images/tab_grey.gif +0 -0
  75. data/guides/images/tab_info.gif +0 -0
  76. data/guides/images/tab_note.gif +0 -0
  77. data/guides/images/tab_red.gif +0 -0
  78. data/guides/images/tab_yellow.gif +0 -0
  79. data/guides/images/tab_yellow.png +0 -0
  80. data/guides/images/validation_error_messages.png +0 -0
  81. data/guides/rails_guides.rb +44 -0
  82. data/guides/rails_guides/generator.rb +178 -0
  83. data/guides/rails_guides/helpers.rb +34 -0
  84. data/guides/rails_guides/indexer.rb +55 -0
  85. data/guides/rails_guides/levenshtein.rb +31 -0
  86. data/guides/rails_guides/textile_extensions.rb +41 -0
  87. data/guides/source/2_2_release_notes.textile +422 -0
  88. data/guides/source/2_3_release_notes.textile +610 -0
  89. data/guides/source/3_0_release_notes.textile +560 -0
  90. data/guides/source/action_controller_overview.textile +783 -0
  91. data/guides/source/action_mailer_basics.textile +437 -0
  92. data/guides/source/action_view_overview.textile +1481 -0
  93. data/guides/source/active_record_basics.textile +204 -0
  94. data/guides/source/active_record_querying.textile +961 -0
  95. data/guides/source/active_support_core_extensions.textile +1835 -0
  96. data/guides/source/activerecord_validations_callbacks.textile +1127 -0
  97. data/guides/source/ajax_on_rails.textile +342 -0
  98. data/guides/source/association_basics.textile +1816 -0
  99. data/guides/source/caching_with_rails.textile +390 -0
  100. data/guides/source/command_line.textile +589 -0
  101. data/guides/source/configuring.textile +290 -0
  102. data/guides/source/contribute.textile +71 -0
  103. data/guides/source/contributing_to_rails.textile +272 -0
  104. data/guides/source/credits.textile.erb +52 -0
  105. data/guides/source/debugging_rails_applications.textile +709 -0
  106. data/guides/source/form_helpers.textile +768 -0
  107. data/guides/source/generators.textile +378 -0
  108. data/guides/source/getting_started.textile +1310 -0
  109. data/guides/source/i18n.textile +879 -0
  110. data/guides/source/index.textile.erb +124 -0
  111. data/guides/source/layout.html.erb +103 -0
  112. data/guides/source/layouts_and_rendering.textile +979 -0
  113. data/guides/source/migrations.textile +591 -0
  114. data/guides/source/nested_model_forms.textile +222 -0
  115. data/guides/source/performance_testing.textile +531 -0
  116. data/guides/source/plugins.textile +1512 -0
  117. data/guides/source/rails_application_templates.textile +238 -0
  118. data/guides/source/rails_on_rack.textile +306 -0
  119. data/guides/source/routing.textile +903 -0
  120. data/guides/source/security.textile +984 -0
  121. data/guides/source/testing.textile +946 -0
  122. data/lib/generators/erb.rb +8 -0
  123. data/lib/generators/erb/controller/controller_generator.rb +21 -0
  124. data/lib/generators/erb/controller/templates/view.html.erb +2 -0
  125. data/lib/generators/erb/mailer/mailer_generator.rb +20 -0
  126. data/lib/generators/erb/mailer/templates/view.text.erb +3 -0
  127. data/lib/generators/erb/scaffold/scaffold_generator.rb +53 -0
  128. data/lib/generators/erb/scaffold/templates/_form.html.erb +13 -0
  129. data/lib/generators/erb/scaffold/templates/edit.html.erb +6 -0
  130. data/lib/generators/erb/scaffold/templates/index.html.erb +27 -0
  131. data/lib/generators/erb/scaffold/templates/layout.html.erb +16 -0
  132. data/lib/generators/erb/scaffold/templates/new.html.erb +5 -0
  133. data/lib/generators/erb/scaffold/templates/show.html.erb +10 -0
  134. data/lib/generators/rails/app/USAGE +9 -0
  135. data/lib/generators/rails/app/app_generator.rb +262 -0
  136. data/lib/generators/rails/app/templates/Gemfile +34 -0
  137. data/lib/generators/rails/app/templates/README +243 -0
  138. data/lib/generators/rails/app/templates/Rakefile +10 -0
  139. data/lib/generators/rails/app/templates/app/controllers/application_controller.rb +3 -0
  140. data/lib/generators/rails/app/templates/app/helpers/application_helper.rb +2 -0
  141. data/lib/generators/rails/app/templates/app/models/.empty_directory +0 -0
  142. data/lib/generators/rails/app/templates/app/views/layouts/.empty_directory +0 -0
  143. data/lib/generators/rails/app/templates/config.ru +4 -0
  144. data/lib/generators/rails/app/templates/config/application.rb +51 -0
  145. data/lib/generators/rails/app/templates/config/boot.rb +17 -0
  146. data/lib/generators/rails/app/templates/config/databases/frontbase.yml +28 -0
  147. data/lib/generators/rails/app/templates/config/databases/ibm_db.yml +71 -0
  148. data/lib/generators/rails/app/templates/config/databases/mysql.yml +60 -0
  149. data/lib/generators/rails/app/templates/config/databases/oracle.yml +39 -0
  150. data/lib/generators/rails/app/templates/config/databases/postgresql.yml +51 -0
  151. data/lib/generators/rails/app/templates/config/databases/sqlite3.yml +22 -0
  152. data/lib/generators/rails/app/templates/config/environment.rb +5 -0
  153. data/lib/generators/rails/app/templates/config/environments/development.rb.tt +19 -0
  154. data/lib/generators/rails/app/templates/config/environments/production.rb.tt +33 -0
  155. data/lib/generators/rails/app/templates/config/environments/test.rb.tt +29 -0
  156. data/lib/generators/rails/app/templates/config/initializers/backtrace_silencers.rb +7 -0
  157. data/lib/generators/rails/app/templates/config/initializers/cookie_verification_secret.rb.tt +7 -0
  158. data/lib/generators/rails/app/templates/config/initializers/inflections.rb +10 -0
  159. data/lib/generators/rails/app/templates/config/initializers/mime_types.rb +5 -0
  160. data/lib/generators/rails/app/templates/config/initializers/session_store.rb.tt +15 -0
  161. data/lib/generators/rails/app/templates/config/locales/en.yml +5 -0
  162. data/lib/generators/rails/app/templates/config/routes.rb +58 -0
  163. data/lib/generators/rails/app/templates/db/seeds.rb +7 -0
  164. data/lib/generators/rails/app/templates/doc/README_FOR_APP +2 -0
  165. data/lib/generators/rails/app/templates/gitignore +4 -0
  166. data/lib/generators/rails/app/templates/public/404.html +26 -0
  167. data/lib/generators/rails/app/templates/public/422.html +26 -0
  168. data/lib/generators/rails/app/templates/public/500.html +26 -0
  169. data/lib/generators/rails/app/templates/public/favicon.ico +0 -0
  170. data/lib/generators/rails/app/templates/public/images/rails.png +0 -0
  171. data/lib/generators/rails/app/templates/public/index.html +278 -0
  172. data/lib/generators/rails/app/templates/public/javascripts/application.js +2 -0
  173. data/lib/generators/rails/app/templates/public/javascripts/controls.js +963 -0
  174. data/lib/generators/rails/app/templates/public/javascripts/dragdrop.js +973 -0
  175. data/lib/generators/rails/app/templates/public/javascripts/effects.js +1128 -0
  176. data/lib/generators/rails/app/templates/public/javascripts/prototype.js +4320 -0
  177. data/lib/generators/rails/app/templates/public/javascripts/rails.js +110 -0
  178. data/lib/generators/rails/app/templates/public/robots.txt +5 -0
  179. data/lib/generators/rails/app/templates/public/stylesheets/.empty_directory +0 -0
  180. data/lib/generators/rails/app/templates/script/rails +9 -0
  181. data/lib/generators/rails/app/templates/test/fixtures/.empty_directory +0 -0
  182. data/lib/generators/rails/app/templates/test/functional/.empty_directory +0 -0
  183. data/lib/generators/rails/app/templates/test/integration/.empty_directory +0 -0
  184. data/lib/generators/rails/app/templates/test/performance/browsing_test.rb +9 -0
  185. data/lib/generators/rails/app/templates/test/test_helper.rb +13 -0
  186. data/lib/generators/rails/app/templates/test/unit/.empty_directory +0 -0
  187. data/lib/generators/rails/controller/USAGE +18 -0
  188. data/lib/generators/rails/controller/controller_generator.rb +14 -0
  189. data/lib/generators/rails/controller/templates/controller.rb +7 -0
  190. data/lib/generators/rails/generator/USAGE +11 -0
  191. data/lib/generators/rails/generator/generator_generator.rb +25 -0
  192. data/lib/generators/rails/generator/templates/%file_name%_generator.rb.tt +5 -0
  193. data/lib/generators/rails/generator/templates/USAGE.tt +8 -0
  194. data/lib/generators/rails/generator/templates/templates/.empty_directory +0 -0
  195. data/lib/generators/rails/helper/USAGE +17 -0
  196. data/lib/generators/rails/helper/helper_generator.rb +13 -0
  197. data/lib/generators/rails/helper/templates/helper.rb +2 -0
  198. data/lib/generators/rails/integration_test/USAGE +10 -0
  199. data/lib/generators/rails/integration_test/integration_test_generator.rb +7 -0
  200. data/lib/generators/rails/mailer/USAGE +15 -0
  201. data/lib/generators/rails/mailer/mailer_generator.rb +14 -0
  202. data/lib/generators/rails/mailer/templates/mailer.rb +16 -0
  203. data/lib/generators/rails/metal/USAGE +8 -0
  204. data/lib/generators/rails/metal/metal_generator.rb +11 -0
  205. data/lib/generators/rails/metal/templates/metal.rb +12 -0
  206. data/lib/generators/rails/migration/USAGE +29 -0
  207. data/lib/generators/rails/migration/migration_generator.rb +8 -0
  208. data/lib/generators/rails/model/USAGE +30 -0
  209. data/lib/generators/rails/model/model_generator.rb +8 -0
  210. data/lib/generators/rails/model_subclass/model_subclass_generator.rb +12 -0
  211. data/lib/generators/rails/observer/USAGE +12 -0
  212. data/lib/generators/rails/observer/observer_generator.rb +7 -0
  213. data/lib/generators/rails/performance_test/USAGE +10 -0
  214. data/lib/generators/rails/performance_test/performance_test_generator.rb +7 -0
  215. data/lib/generators/rails/plugin/USAGE +13 -0
  216. data/lib/generators/rails/plugin/plugin_generator.rb +47 -0
  217. data/lib/generators/rails/plugin/templates/MIT-LICENSE.tt +20 -0
  218. data/lib/generators/rails/plugin/templates/README.tt +13 -0
  219. data/lib/generators/rails/plugin/templates/Rakefile.tt +10 -0
  220. data/lib/generators/rails/plugin/templates/init.rb +1 -0
  221. data/lib/generators/rails/plugin/templates/install.rb +1 -0
  222. data/lib/generators/rails/plugin/templates/lib/%file_name%.rb.tt +1 -0
  223. data/lib/generators/rails/plugin/templates/lib/tasks/%file_name%_tasks.rake.tt +4 -0
  224. data/lib/generators/rails/plugin/templates/uninstall.rb +1 -0
  225. data/lib/generators/rails/resource/USAGE +23 -0
  226. data/lib/generators/rails/resource/resource_generator.rb +34 -0
  227. data/lib/generators/rails/scaffold/USAGE +29 -0
  228. data/lib/generators/rails/scaffold/scaffold_generator.rb +13 -0
  229. data/lib/generators/rails/scaffold_controller/USAGE +20 -0
  230. data/lib/generators/rails/scaffold_controller/scaffold_controller_generator.rb +27 -0
  231. data/lib/generators/rails/scaffold_controller/templates/controller.rb +85 -0
  232. data/lib/generators/rails/session_migration/USAGE +8 -0
  233. data/lib/generators/rails/session_migration/session_migration_generator.rb +8 -0
  234. data/lib/generators/rails/stylesheets/USAGE +5 -0
  235. data/lib/generators/rails/stylesheets/stylesheets_generator.rb +9 -0
  236. data/lib/generators/rails/stylesheets/templates/scaffold.css +61 -0
  237. data/lib/generators/test_unit.rb +8 -0
  238. data/lib/generators/test_unit/controller/controller_generator.rb +14 -0
  239. data/lib/generators/test_unit/controller/templates/functional_test.rb +8 -0
  240. data/lib/generators/test_unit/helper/helper_generator.rb +13 -0
  241. data/lib/generators/test_unit/helper/templates/helper_test.rb +4 -0
  242. data/lib/generators/test_unit/integration/integration_generator.rb +13 -0
  243. data/lib/generators/test_unit/integration/templates/integration_test.rb +10 -0
  244. data/lib/generators/test_unit/mailer/mailer_generator.rb +21 -0
  245. data/lib/generators/test_unit/mailer/templates/fixture +3 -0
  246. data/lib/generators/test_unit/mailer/templates/functional_test.rb +22 -0
  247. data/lib/generators/test_unit/model/model_generator.rb +24 -0
  248. data/lib/generators/test_unit/model/templates/fixtures.yml +23 -0
  249. data/lib/generators/test_unit/model/templates/unit_test.rb +8 -0
  250. data/lib/generators/test_unit/observer/observer_generator.rb +13 -0
  251. data/lib/generators/test_unit/observer/templates/unit_test.rb +8 -0
  252. data/lib/generators/test_unit/performance/performance_generator.rb +13 -0
  253. data/lib/generators/test_unit/performance/templates/performance_test.rb +9 -0
  254. data/lib/generators/test_unit/plugin/plugin_generator.rb +13 -0
  255. data/lib/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +8 -0
  256. data/lib/generators/test_unit/plugin/templates/test_helper.rb +3 -0
  257. data/lib/generators/test_unit/scaffold/scaffold_generator.rb +18 -0
  258. data/lib/generators/test_unit/scaffold/templates/functional_test.rb +47 -0
  259. data/lib/rails.rb +95 -0
  260. data/lib/rails/all.rb +14 -0
  261. data/lib/rails/application.rb +125 -0
  262. data/lib/rails/application/bootstrap.rb +85 -0
  263. data/lib/rails/application/configurable.rb +19 -0
  264. data/lib/rails/application/configuration.rb +86 -0
  265. data/lib/rails/application/finisher.rb +49 -0
  266. data/lib/rails/application/metal_loader.rb +50 -0
  267. data/lib/rails/application/railties.rb +31 -0
  268. data/lib/rails/application/routes_reloader.rb +46 -0
  269. data/lib/rails/backtrace_cleaner.rb +54 -0
  270. data/lib/rails/code_statistics.rb +107 -0
  271. data/lib/rails/commands.rb +72 -0
  272. data/lib/rails/commands/application.rb +13 -0
  273. data/lib/rails/commands/console.rb +55 -0
  274. data/lib/rails/commands/dbconsole.rb +104 -0
  275. data/lib/rails/commands/destroy.rb +9 -0
  276. data/lib/rails/commands/generate.rb +9 -0
  277. data/lib/rails/commands/performance/benchmarker.rb +23 -0
  278. data/lib/rails/commands/performance/profiler.rb +46 -0
  279. data/lib/rails/commands/plugin.rb +542 -0
  280. data/lib/rails/commands/runner.rb +51 -0
  281. data/lib/rails/commands/server.rb +75 -0
  282. data/lib/rails/commands/update.rb +9 -0
  283. data/lib/rails/configuration.rb +191 -0
  284. data/lib/rails/console/app.rb +33 -0
  285. data/lib/rails/console/helpers.rb +5 -0
  286. data/lib/rails/console/sandbox.rb +6 -0
  287. data/lib/rails/deprecation.rb +62 -0
  288. data/lib/rails/dispatcher.rb +24 -0
  289. data/lib/rails/engine.rb +130 -0
  290. data/lib/rails/engine/configurable.rb +25 -0
  291. data/lib/rails/engine/configuration.rb +49 -0
  292. data/lib/rails/generators.rb +289 -0
  293. data/lib/rails/generators/actions.rb +309 -0
  294. data/lib/rails/generators/active_model.rb +78 -0
  295. data/lib/rails/generators/base.rb +362 -0
  296. data/lib/rails/generators/generated_attribute.rb +48 -0
  297. data/lib/rails/generators/migration.rb +64 -0
  298. data/lib/rails/generators/named_base.rb +95 -0
  299. data/lib/rails/generators/resource_helpers.rb +80 -0
  300. data/lib/rails/generators/test_case.rb +239 -0
  301. data/lib/rails/initializable.rb +97 -0
  302. data/lib/rails/paths.rb +144 -0
  303. data/lib/rails/performance_test_help.rb +3 -0
  304. data/lib/rails/plugin.rb +64 -0
  305. data/lib/rails/rack.rb +8 -0
  306. data/lib/rails/rack/debugger.rb +23 -0
  307. data/lib/rails/rack/log_tailer.rb +33 -0
  308. data/lib/rails/rack/logger.rb +34 -0
  309. data/lib/rails/rack/static.rb +5 -0
  310. data/lib/rails/railtie.rb +74 -0
  311. data/lib/rails/railtie/configurable.rb +23 -0
  312. data/lib/rails/railtie/configuration.rb +9 -0
  313. data/lib/rails/railties_path.rb +1 -0
  314. data/lib/rails/ruby_version_check.rb +10 -0
  315. data/lib/rails/rubyprof_ext.rb +35 -0
  316. data/lib/rails/source_annotation_extractor.rb +102 -0
  317. data/lib/rails/subscriber.rb +108 -0
  318. data/lib/rails/subscriber/test_helper.rb +98 -0
  319. data/lib/rails/tasks.rb +16 -0
  320. data/lib/rails/tasks/annotations.rake +20 -0
  321. data/lib/rails/tasks/documentation.rake +96 -0
  322. data/lib/rails/tasks/framework.rake +69 -0
  323. data/lib/rails/tasks/log.rake +9 -0
  324. data/lib/rails/tasks/middleware.rake +7 -0
  325. data/lib/rails/tasks/misc.rake +71 -0
  326. data/lib/rails/tasks/routes.rake +17 -0
  327. data/lib/rails/tasks/statistics.rake +16 -0
  328. data/lib/rails/tasks/tmp.rake +37 -0
  329. data/lib/rails/test_help.rb +30 -0
  330. data/lib/rails/test_unit/railtie.rb +17 -0
  331. data/lib/rails/test_unit/testing.rake +130 -0
  332. data/lib/rails/version.rb +9 -0
  333. data/lib/rails/webrick_server.rb +156 -0
  334. metadata +427 -0
@@ -0,0 +1,2201 @@
1
+ *Edge*
2
+
3
+ * Added "rake about" as a replacement for script/about [DHH]
4
+
5
+ * Removed all the default commands in script/* and replaced them with script/rails and a rails command that'll act the same when run from within the app [DHH]. Example:
6
+
7
+ ./script/generate scaffold post title:string can now be called as rails g scaffold post title:string
8
+
9
+ Run rails --help inside an app for more help.
10
+
11
+ * Removed config/initializers/new_rails_defaults.rb as all frameworks now follow the settings from it [DHH]
12
+
13
+ * Set config.time_zone to UTC by default [DHH]
14
+
15
+ * Added default .gitignore (this is just recognizing Git market share, don't throw a hissy if you use another SCM) [DHH]
16
+
17
+ * Added cookies.permanent, cookies.signed, and cookies.permanent.signed accessor for common cookie actions [DHH]. Examples:
18
+
19
+ cookies.permanent[:prefers_open_id] = true
20
+ # => Set-Cookie: prefers_open_id=true; path=/; expires=Sun, 16-Dec-2029 03:24:16 GMT
21
+
22
+ cookies.signed[:discount] = 45
23
+ # => Set-Cookie: discount=BAhpMg==--2c1c6906c90a3bc4fd54a51ffb41dffa4bf6b5f7; path=/
24
+
25
+ cookies.signed[:discount]
26
+ # => 45 (if the cookie was changed, you'll get a InvalidSignature exception)
27
+
28
+ cookies.permanent.signed[:remember_me] = current_user.id
29
+ # => Set-Cookie: discount=BAhU--848956038e692d7046deab32b7131856ab20e14e; path=/; expires=Sun, 16-Dec-2029 03:24:16 GMT
30
+
31
+ ...to use the signed cookies, you need to set a secret to ActionController::Base.cookie_verifier_secret (automatically done in config/initializers/cookie_verification_secret.rb for new Rails applications).
32
+
33
+ * Added config/initializers/cookie_verification_secret.rb with an auto-generated secret for using ActionController::Base#cookies.signed [DHH]
34
+
35
+ * Fixed that the debugger wouldn't go into IRB mode because of left-over ARGVs [DHH]
36
+
37
+ * I18n support for plugins. #2325 [Antonio Tapiador, Sven Fuchs]
38
+
39
+ * Ruby 1.9: use UTF-8 for default internal and external encodings. [Jeremy Kemper]
40
+
41
+ * Added db/seeds.rb as a default file for storing seed data for the database. Can be loaded with rake db:seed (or created alongside the db with db:setup). (This is also known as the "Stop Putting Gawd Damn Seed Data In Your Migrations" feature) [DHH]
42
+
43
+
44
+ *2.3.2 [Final] (March 15, 2009)*
45
+
46
+ * Remove outdated script/plugin options [Pratik Naik]
47
+
48
+ * Allow metal to live in plugins #2045 [Matthew Rudy]
49
+
50
+ * Added metal [Josh Peek]
51
+
52
+ * Remove script/performance/request in favour of the performance integration tests. [Pratik Naik]
53
+
54
+ To continue using script/performance/request, install the request_profiler plugin :
55
+
56
+ script/plugin install git://github.com/rails/request_profiler.git
57
+
58
+ * Add a rake task to apply a template to an existing application : rake rails:template LOCATION=~/template.rb [Pratik Naik]
59
+
60
+ * Add "-m/--template" option to Rails generator to apply a template to the generated application. [Jeremy McAnally]
61
+
62
+ This has been extracted from rg - http://github.com/jeremymcanally/rg
63
+
64
+ Example:
65
+
66
+ # template.rb
67
+
68
+ # Install plugins from git or svn
69
+ plugin "will-paginate", :git => "git://github.com/mislav/will_paginate.git"
70
+ plugin "old-restful-auth", :svn => "http://svn.techno-weenie.net/projects/plugins/restful_authentication/"
71
+
72
+ # Add gems to environment.rb
73
+ gem "jeremymcanally-context"
74
+ gem "bluecloth"
75
+
76
+ # Vendor file. Data in a string or...
77
+ vendor("borrowed.rb", <<CODE
78
+ def helpful_method
79
+ do_something_helpful_here
80
+ end
81
+ CODE
82
+
83
+ # ...file data from block return value.
84
+ # #initializer creates a new initializer file
85
+ initializer("crypto.rb") do
86
+ salt = "--#{Time.now}--#{rand}--#{srand(Time.now.to_i)}"
87
+
88
+ "SPECIAL_SALT = '#{salt}'"
89
+ end
90
+
91
+ Usage:
92
+
93
+ To use a template, provide a file path or URL:
94
+
95
+ 1. Using a local file :
96
+
97
+ rails <application name> -m /path/to/my/template.rb
98
+
99
+ 2. Or directly from a URL :
100
+
101
+ rails <application name> --template=http://gist.github.com/31208.txt
102
+
103
+ * Extracted the process scripts (inspector, reaper, spawner) into the plugin irs_process_scripts [David Heinemeier Hansson]
104
+
105
+ * Changed Rails.root to return a Pathname object (allows for Rails.root.join('app', 'controllers') => "#{RAILS_ROOT}/app/controllers") #1482 [Damian Janowski/?]
106
+
107
+ * Added view path support for engines [David Heinemeier Hansson]
108
+
109
+ * Added that config/routes.rb files in engine plugins are automatically loaded (and reloaded when they change in dev mode) [David Heinemeier Hansson]
110
+
111
+ * Added app/[models|controllers|helpers] to the load path for plugins that has an app directory (go engines ;)) [David Heinemeier Hansson]
112
+
113
+ * Add config.preload_frameworks to load all frameworks at startup. Default to false so Rails autoloads itself as it's used. Turn this on for Passenger and JRuby. Also turned on by config.threadsafe! [Jeremy Kemper]
114
+
115
+ * Add a rake task to generate dispatchers : rake rails:generate_dispatchers [Pratik Naik]
116
+
117
+ * "rails <app>" will not generate public/dispatch.cgi/fcgi/rb files by default now. Please use "--with-dispatchers" option if you need them. [Yaroslav Markin, Pratik Naik]
118
+
119
+ * Added rake rails:update:application_controller to renamed application.rb to application_controller.rb -- included in rake rails:update so upgrading to 2.3 will automatically trigger it #1439 [kastner]
120
+
121
+ * Added Rails.backtrace_cleaner as an accessor for the Rails::BacktraceCleaner instance used by the framework to cut down on backtrace noise and config/initializers/backtrace_silencers.rb to add your own (or turn them all off) [David Heinemeier Hansson]
122
+
123
+ * Switch from Test::Unit::TestCase to ActiveSupport::TestCase. [Jeremy Kemper]
124
+
125
+ * Added config.i18n settings gatherer to config/environment, auto-loading of all locales in config/locales/*.rb,yml, and config/locales/en.yml as a sample locale [David Heinemeier Hansson]
126
+
127
+ * BACKWARDS INCOMPATIBLE: Renamed application.rb to application_controller.rb and removed all the special casing that was in place to support the former. You must do this rename in your own application when you upgrade to this version [David Heinemeier Hansson]
128
+
129
+
130
+ *2.2.1 [RC2] (November 14th, 2008)*
131
+
132
+ * Fixed plugin generator so that generated unit tests would subclass ActiveSupport::TestCase, also introduced a helper script to reduce the needed require statements #1137 [Mathias Meyer]
133
+
134
+ * Update Prototype to 1.6.0.3 [sam]
135
+
136
+
137
+ *2.2.0 [RC1] (October 24th, 2008)*
138
+
139
+ * Fixed that sqlite would report "db/development.sqlite3 already exists" whether true or not on db:create #614 [Antonio Cangiano]
140
+
141
+ * Added config.threadsafe! to toggle allow concurrency settings and disable the dependency loader [Josh Peek]
142
+
143
+ * Turn cache_classes on by default [Josh Peek]
144
+
145
+ * Added configurable eager load paths. Defaults to app/models, app/controllers, and app/helpers [Josh Peek]
146
+
147
+ * Introduce simple internationalization support. [Ruby i18n team]
148
+
149
+ * Make script/plugin install <plugin> -r <revision> option work with git based plugins. #257. [Tim Pope Jakub Kuźma]. Example:
150
+
151
+ script/plugin install git://github.com/mislav/will_paginate.git -r agnostic # Installs 'agnostic' branch
152
+ script/plugin install git://github.com/dchelimsky/rspec.git -r 'tag 1.1.4'
153
+
154
+ * Added Rails.initialized? flag [Josh Peek]
155
+
156
+ * Make rake test:uncommitted work with Git. [Tim Pope]
157
+
158
+ * Added Thin support to script/server. #488 [Bob Klosinski]
159
+
160
+ * Fix script/about in production mode. #370 [Cheah Chu Yeow, Xavier Noria, David Krmpotic]
161
+
162
+ * Add the gem load paths before the framework is loaded, so certain gems like RedCloth and BlueCloth can be frozen.
163
+
164
+ * Fix discrepancies with loading rails/init.rb from gems.
165
+
166
+ * Plugins check for the gem init path (rails/init.rb) before the standard plugin init path (init.rb) [Jacek Becela]
167
+
168
+ * Changed all generated tests to use the test/do declaration style [David Heinemeier Hansson]
169
+
170
+ * Wrapped Rails.env in StringInquirer so you can do Rails.env.development? [David Heinemeier Hansson]
171
+
172
+ * Fixed that RailsInfoController wasn't considering all requests local in development mode (Edgard Castro) [#310 state:resolved]
173
+
174
+
175
+ *2.1.0 (May 31st, 2008)*
176
+
177
+ * script/dbconsole fires up the command-line database client. #102 [Steve Purcell]
178
+
179
+ * Fix bug where plugin init.rb files from frozen gem specs weren't being run. (pjb3) [#122 state:resolved]
180
+
181
+ * Made the location of the routes file configurable with config.routes_configuration_file (Scott Fleckenstein) [#88]
182
+
183
+ * Rails Edge info returns the latest git commit hash [Francesc Esplugas]
184
+
185
+ * Added Rails.public_path to control where HTML and assets are expected to be loaded from (defaults to Rails.root + "/public") #11581 [Nick Sieger]
186
+
187
+ * rake time:zones:local finds correct base utc offset for zones in the Southern Hemisphere [Geoff Buesing]
188
+
189
+ * Don't require rails/gem_builder during rails initialization, it's only needed for the gems:build task. [Rick Olson]
190
+
191
+ * script/performance/profiler compatibility with the ruby-prof >= 0.5.0. Closes #9176. [Jonathan del Strother]
192
+
193
+ * Flesh out rake gems:unpack to unpack all gems, and add rake gems:build for native extensions. #11513 [ddollar]
194
+
195
+ rake gems:unpack # unpacks all gems
196
+ rake gems:unpack GEM=mygem # unpacks only the gem 'mygem'
197
+
198
+ rake gems:build # builds all unpacked gems
199
+ rake gems:build GEM=mygem # builds only the gem 'mygem'
200
+
201
+ * Add config.active_support for future configuration options. Also, add more new Rails 3 config settings to new_rails_defaults.rb [Rick Olson]
202
+
203
+ * Add Rails.logger, Rails.root, Rails.env and Rails.cache shortcuts for RAILS_* constants [Pratik Naik]
204
+
205
+ * Allow files in plugins to be reloaded like the rest of the application. [Rick Olson]
206
+
207
+ Enables or disables plugin reloading.
208
+
209
+ config.reload_plugins = true
210
+
211
+ You can get around this setting per plugin.
212
+ If #reload_plugins? == false (DEFAULT), add this to your plugin's init.rb to make it reloadable:
213
+
214
+ Dependencies.load_once_paths.delete lib_path
215
+
216
+ If #reload_plugins? == true, add this to your plugin's init.rb to only load it once:
217
+
218
+ Dependencies.load_once_paths << lib_path
219
+
220
+ * Small tweak to allow plugins to specify gem dependencies. [Rick Olson]
221
+
222
+ # OLD open_id_authentication plugin init.rb
223
+ require 'yadis'
224
+ require 'openid'
225
+ ActionController::Base.send :include, OpenIdAuthentication
226
+
227
+ # NEW
228
+ config.gem "ruby-openid", :lib => "openid", :version => "1.1.4"
229
+ config.gem "ruby-yadis", :lib => "yadis", :version => "0.3.4"
230
+
231
+ config.after_initialize do
232
+ ActionController::Base.send :include, OpenIdAuthentication
233
+ end
234
+
235
+ * Added config.gem for specifying which gems are required by the application, as well as rake tasks for installing and freezing gems. [Rick Olson]
236
+
237
+ Rails::Initializer.run do |config|
238
+ config.gem "bj"
239
+ config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
240
+ config.gem "aws-s3", :lib => "aws/s3"
241
+ end
242
+
243
+ # List required gems.
244
+ rake gems
245
+
246
+ # Install all required gems:
247
+ rake gems:install
248
+
249
+ # Unpack specified gem to vendor/gems/gem_name-x.x.x
250
+ rake gems:unpack GEM=bj
251
+
252
+ * Removed the default .htaccess configuration as there are so many good deployment options now (kept it as an example in README) [David Heinemeier Hansson]
253
+
254
+ * config.time_zone accepts TZInfo::Timezone identifiers as well as Rails TimeZone identifiers [Geoff Buesing]
255
+
256
+ * Rails::Initializer#initialize_time_zone raises an error if value assigned to config.time_zone is not recognized. Rake time zone tasks only require ActiveSupport instead of entire environment [Geoff Buesing]
257
+
258
+ * Stop adding the antiquated test/mocks/* directories and only add them to the path if they're still there for legacy reasons [David Heinemeier Hansson]
259
+
260
+ * Added that gems can now be plugins if they include rails/init.rb #11444 [John Barnette]
261
+
262
+ * Added Plugin#about method to programmatically access the about.yml in a plugin #10979 [James Adam]
263
+
264
+ plugin = Rails::Plugin.new(path_to_my_plugin)
265
+ plugin.about["author"] # => "James Adam"
266
+ plugin.about["url"] # => "http://interblah.net"
267
+
268
+ * Improve documentation. [Ryan Bigg, Jan De Poorter, Cheah Chu Yeow, Xavier Shay, Jack Danger Canty, Emilio Tagua, Xavier Noria, Sunny Ripert]
269
+
270
+ * Added config.time_zone = 'UTC' in the default environment.rb [Geoff Buesing]
271
+
272
+ * Added rake tasks time:zones:all, time:zones:us and time:zones:local for finding time zone names for config.time_zone option [Geoff Buesing]
273
+
274
+ * Add config.time_zone for configuring the default Time.zone value. #10982 [Geoff Buesing]
275
+
276
+ * Added support for installing plugins hosted at git repositories #11294 [Jack Danger Canty]
277
+
278
+ * Fixed that script/generate would not look for plugin generators in plugin_paths #11000 [glv]
279
+
280
+ * Fixed database rake tasks to work with charset/collation and show proper error messages on failure. Closes #11301 [matt]
281
+
282
+ * Added a -e/--export to script/plugin install, uses svn export. #10847 [jon@blankpad.net)]
283
+
284
+ * Reshuffle load order so that routes and observers are initialized after plugins and app initializers. Closes #10980 [Rick Olson]
285
+
286
+ * Git support for script/generate. #10690 [ssoroka]
287
+
288
+ * Update scaffold to use labels instead of bold tags. Closes #10757 [zach-inglis-lt3]
289
+
290
+ * Resurrect WordNet synonym lookups. #10710 [tom./, matt]
291
+
292
+ * Added config.cache_store to environment options to control the default cache store (default is FileStore if tmp/cache is present, otherwise MemoryStore is used) [David Heinemeier Hansson]
293
+
294
+ * Added that rails:update is run when you do rails:freeze:edge to ensure you also get the latest JS and config files #10565 [jeff]
295
+
296
+ * SQLite: db:drop:all doesn't fail silently if the database is already open. #10577 [Cheah Chu Yeow, mrichman]
297
+
298
+ * Introduce native mongrel handler and push mutex into dispatcher. [Jeremy Kemper]
299
+
300
+ * Ruby 1.9 compatibility. #1689, #10546 [Cheah Chu Yeow, frederico]
301
+
302
+
303
+ *2.0.2* (December 16th, 2007)
304
+
305
+ * Changed the default database from mysql to sqlite3, so now running "rails myapp" will have a config/database.yml that's setup for SQLite3 (which in OS X Leopard is installed by default, so is the gem, so everything Just Works with no database configuration at all). To get a Rails application preconfigured for MySQL, just run "rails -d mysql myapp" [David Heinemeier Hansson]
306
+
307
+ * Turned on ActionView::Base.cache_template_loading by default in 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) [David Heinemeier Hansson]
308
+
309
+ * Introduce `rake secret` to output a crytographically secure secret key for use with cookie sessions #10363 [revans]
310
+
311
+ * Fixed that local database creation should consider 127.0.0.1 local #9026 [parcelbrat]
312
+
313
+ * Fixed that functional tests generated for scaffolds should use fixture calls instead of hard-coded IDs #10435 [boone]
314
+
315
+ * Added db:migrate:redo and db:migrate:reset for rerunning existing migrations #10431, #10432 [matt]
316
+
317
+ * RAILS_GEM_VERSION may be double-quoted also. #10443 [James Cox]
318
+
319
+ * Update rails:freeze:gems to work with RubyGems 0.9.5. [Jeremy Kemper]
320
+
321
+
322
+ *2.0.1* (December 7th, 2007)
323
+
324
+ * Fixed Active Record bug
325
+
326
+
327
+ *2.0.0* (December 6th, 2007)
328
+
329
+ * The test task stops with a warning if you have pending migrations. #10377 [Josh Knowles]
330
+
331
+ * Add warning to documentation about using transactional fixtures when the code under test uses transactions itself. Closes #7548 [Thijs van der Vossen]
332
+
333
+ * Update Prototype to 1.6.0.1. [sam]
334
+
335
+ * Update script.aculo.us to 1.8.0.1. [madrobby]
336
+
337
+ * Added db:fixtures:identity as a way of locating what ID a foxy fixture was assigned #10332 [John Barnette]
338
+
339
+ * Generated fixtures should not specify ids since theyre expected to be foxy fixtures #10330 [John Barnette]
340
+
341
+ * Update to Prototype -r8232. [sam]
342
+
343
+ * Introduce SecretKeyGenerator for more secure session secrets than CGI::Session's pseudo-random id generator. Consider extracting to Active Support later. #10286 [Hongli Lai (Phusion)]
344
+
345
+ * RAILS_GEM_VERSION may be set to any valid gem version specifier. #10057 [Chad Woolley, Cheah Chu Yeow]
346
+
347
+ * Load config/preinitializer.rb, if present, before loading the environment. #9943 [Chad Woolley]
348
+
349
+ * FastCGI handler ignores unsupported signals like USR2 on Windows. [Grzegorz Derebecki]
350
+
351
+ * Only load ActionMailer::TestCase if ActionMailer is loaded. Closes #10137 [defunkt]
352
+
353
+ * Fixed that db:reset would use migrations instead of loading db/schema.rb [David Heinemeier Hansson]
354
+
355
+ * Ensure the plugin loader only loads plugins once. Closes #10102 [haruki_zaemon]
356
+
357
+ * Refactor Plugin Loader. Add plugin lib paths early, and add lots of tests. Closes #9795 [James Adam]
358
+
359
+ * Added --skip-timestamps to generators that produce models #10036 [Tim Pope]
360
+
361
+ * Update Prototype to 1.6.0 and script.aculo.us to 1.8.0. [sam, madrobby]
362
+
363
+ * Added db:rollback to rollback the schema one version (or multiple as specified by STEP) [Jeffrey Allan Hardy]
364
+
365
+ * Fix typo in test_helper. Closes #9925 [viktor tron]
366
+
367
+ * Request profiler. [Jeremy Kemper]
368
+
369
+ * config/boot.rb correctly detects RAILS_GEM_VERSION. #9834 [alexch, thewoolleyman]
370
+
371
+ * Fixed incorrect migration number if script/generate executed outside of Rails root #7080 [Jeremy McAnally]
372
+
373
+ * Update Prototype to 1.6.0_rc1 and script.aculo.us to 1.8.0 preview 0. [sam, madrobby]
374
+
375
+ * Generated fixtures use the actual primary key instead of id. #4343 [Frederick Ros, Tarmo Tänav]
376
+
377
+ * Extend the console +helper+ method to allow you to include custom helpers. e.g:
378
+ >> helper :posts
379
+ >> helper.some_method_from_posts_helper(Post.find(1))
380
+
381
+ * db:create works with remote databases whereas db:create:all only creates
382
+ databases on localhost. #9753 [Trevor Wennblom]
383
+
384
+ * Removed calls to fixtures in generated tests as fixtures :all is now present by default in test_helper.rb [David Heinemeier Hansson]
385
+
386
+ * Add --prefix option to script/server when using mongrel. [dacat]
387
+
388
+
389
+ *2.0.0 [Preview Release]* (September 29th, 2007) [Includes duplicates of changes from 1.1.4 - 1.2.3]
390
+
391
+ * Fixed that installing plugins from SVN repositories that use trunk/ will work #8188 [evan]
392
+
393
+ * Moved the SourceAnnotationExtractor to a separate file in case libraries try to load the rails rake tasks twice. [Rick Olson]
394
+
395
+ * Moved Dispatcher to ActionController::Dispatcher. [Jeremy Kemper]
396
+
397
+ * Changed the default logger from Ruby's own Logger with the clean_logger extensions to ActiveSupport::BufferedLogger for performance reasons [David Heinemeier Hansson]. (You can change it back with config.logger = Logger.new("/path/to/log", level).)
398
+
399
+ * Added a default 422.html page to be rendered when ActiveRecord::RecordInvalid, ActiveRecord::RecordNotSaved, or ActionController::InvalidAuthenticityToken is raised [David Heinemeier Hansson]
400
+
401
+ * Added --skip-fixture option to script/generate model #6862 [sandofsky]
402
+
403
+ * Print Rails version when starting console #7440 [eyematz]
404
+
405
+ * Fixed the placement of fixture files for nested models when generating through script/generate model #7547 [jkit]
406
+
407
+ * Added TEMPLATE option to rake doc:app to set a custom output template #7737 [Jakob Skjerning]
408
+
409
+ * Added VERBOSE option to rake db:migrate to turn off output #8204 [John Barnette]
410
+
411
+ * Fixed that rake doc:app should use UTF-8 #8906 [farzy]
412
+
413
+ * Fixes rake annotations to search erb and builder files as well #9150 [m.langenberg]
414
+
415
+ * Removed web_service generator [Michael Koziarski]
416
+
417
+ * Added the :all option to config.plugins that'll include the rest of the plugins not already explicitly named #9613 [Frederick Cheung]. Example:
418
+
419
+ # Loads :classic_pagination before all the other plugins
420
+ config.plugins = [ :classic_pagination, :all ]
421
+
422
+ * Added symbols as a legal way of specifying plugins in config.plugins #9629 [tom]
423
+
424
+ * Removed deprecated task names, like clear_logs, in favor of the new namespaced style [David Heinemeier Hansson]
425
+
426
+ * Support multiple config.after_initialize blocks so plugins and apps can more easily cooperate. #9582 [Zach Dennis]
427
+
428
+ * Added db:drop:all to drop all databases declared in config/database.yml [David Heinemeier Hansson]
429
+
430
+ * Use attribute pairs instead of the migration name to create add and remove column migrations. Closes #9166 [Pratik Naik]
431
+
432
+ For example:
433
+
434
+ ruby script/generation migration AddSomeStuffToCustomers first_name:string last_name:string
435
+
436
+ or
437
+
438
+ ruby script/generation migration RemoveSomeStuffFromCustomers first_name:string last_name:string
439
+
440
+ * Add ActiveResource to Rails::Info. Closes #8741 [Chris Kampmeier]
441
+
442
+ * use Gem.find_name instead of search when freezing gems. Prevent false positives for other gems with rails in the name. Closes #8729 [wselman]
443
+
444
+ * Automatically generate add/remove column commands in specially named migrations like AddLocationToEvent. Closes #9006 [Ryan Davis]
445
+
446
+ * Default to plural table name in Rails Generator if ActiveRecord is not present. Closes #8963 [evan]
447
+
448
+ * Added rake routes for listing all the defined routes in the system. #8795 [Josh Peek]
449
+
450
+ * db:create creates the database for the current environment if it's on localhost. db:create:all creates local databases for all environments. #8783 [matt]
451
+
452
+ * Generators: look for generators in all gems, not just those suffixed with _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. #8730 [Dr Nic, topfunky]
453
+
454
+ * MySQL, PostgreSQL: database.yml defaults to utf-8. #8701 [matt]
455
+
456
+ * Added db:version to get the current schema number [via Err The Blog]
457
+
458
+ * Added --skip-migration option to scaffold and resource generators #8656 [Michael Glaesemann]
459
+
460
+ * Fix that FCGIs would leave log files open when asked to shut down by USR2. #3028 [Sebastian Kanthak, Josh Peek]
461
+
462
+ * Fixed that dispatcher preparation callbacks only run once in production mode. Mock Routes.reload so that dispatcher preparation callback tests run. [Rick Olson]
463
+
464
+ * Fix syntax error in dispatcher than wrecked failsafe responses. #8625 [mtitorenko]
465
+
466
+ * Scaffolded validation errors set the appropriate HTTP status for XML responses. #6946, #8622 [Manfred Stienstra, mmmultiworks]
467
+
468
+ * Sexy migrations for the session_migration generator. #8561 [Vladislav]
469
+
470
+ * Console reload! runs to_prepare callbacks also. #8393 [f.svehla]
471
+
472
+ * Generated migrations include timestamps by default. #8501 [Shane Vitarana]
473
+
474
+ * Drop Action Web Service from rails:freeze:edge. [Jeremy Kemper]
475
+
476
+ * Add db:create, drop, reset, charset, and collation tasks. #8448 [matt]
477
+
478
+ * Scaffold generator depends on model generator instead of duplicating it. #7222 [bscofield]
479
+
480
+ * Scaffold generator tests. #8443 [pelle]
481
+
482
+ * Generated scaffold functional tests use assert_difference. #8421 [Norbert Crombach]
483
+
484
+ * Update to Prototype 1.5.1. [Sam Stephenson]
485
+
486
+ * Update to script.aculo.us 1.7.1_beta3. [Thomas Fuchs]
487
+
488
+ * Generators use *.html.erb view template naming. #8278 [Tim Pope]
489
+
490
+ * Updated resource_scaffold and model generators to use short-hand style migrations [David Heinemeier Hansson]
491
+
492
+ * Updated initializer to only load #{RAILS_ENV}.rb once. Added deprecation warning for config.breakpoint_server. [Nicholas Seckar]
493
+
494
+ * Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [David Heinemeier Hansson]
495
+
496
+ To use the new debugger, start your server with script/server --debugger and insert a call to 'debugger'
497
+ (instead of 'breakpoint') where you want to jump into the debugger.
498
+
499
+ BACKWARDS INCOMPATIBILITY NOTE: You must remove the default line 12 from config/environments/development.rb:
500
+
501
+ config.breakpoint_server = true
502
+
503
+ This configuration option is no longer available. Rails will fail to start in development mode as long as
504
+ that's still present.
505
+
506
+ * Resource scaffolding returns the created entity.to_xml. [Jeremy Kemper]
507
+
508
+ * Resource scaffolding responds to new.xml. #8185 [Eric Mill]
509
+
510
+ * Include Active Resource in rails:freeze:edge rake task. [Thomas Fuchs]
511
+
512
+ * Include Active Resource instead of Action Web Service [David Heinemeier Hansson] You can add AWS back with this in config/environment.rb:
513
+
514
+ config.load_paths += %W( #{RAILS_ROOT}/vendor/rails/actionwebservice/lib )
515
+
516
+ ...or just gem 'actionwebservice'
517
+
518
+ * Give generate scaffold a more descriptive database message. Closes #7316 [Jeremy McAnally]
519
+
520
+ * Canonicalize RAILS_ROOT by using File.expand_path on Windows, which doesn't have to worry about symlinks, and Pathname#realpath elsewhere, which respects symlinks in relative paths but is incompatible with Windows. #6755 [Jeremy Kemper, trevor]
521
+
522
+ * Deprecation: remove components from controller paths. [Jeremy Kemper]
523
+
524
+ * Add environment variable RAILS_DEFAULT_DATABASE, which allows the builtin default of 'mysql' to be overridden. [Nicholas Seckar]
525
+
526
+ * Windows: include MinGW in RUBY_PLATFORM check. #2982 [okkez000@gmail.com, Kaspar Schiess]
527
+
528
+ * Split out the basic plugin locator functionality into an abstract super class. Add a FileSystemLocator to do the job of checking the plugin_paths for plugins. Add plugin_locators configuration option which will iterate over the set of plugin locators and load each of the plugin loaders they return. Rename locater everywhere to locator. [Marcel Molina Jr.]
529
+
530
+ * Split plugin location and loading out of the initializer and into a new Plugin namespace, which includes Plugin::Locater and Plugin::Loader. The loader class that is used can be customized using the config.plugin_loader option. Those monkey patching the plugin loading subsystem take note, the internals changing here will likely break your modifications. The good news is that it should be substantially easier to hook into the plugin locating and loading process now. [Marcel Molina Jr.]
531
+
532
+ * Added assumption that all plugin creators desire to be sharing individuals and release their work under the MIT license [David Heinemeier Hansson]
533
+
534
+ * Added source-annotations extractor tasks to rake [Jamis Buck]. This allows you to add FIXME, OPTIMIZE, and TODO comments to your source code that can then be extracted in concert with rake notes (shows all), rake notes:fixme, rake notes:optimize and rake notes:todo.
535
+
536
+ * Added fixtures :all to test_helper.rb to assume that most people just want all their fixtures loaded all the time [David Heinemeier Hansson]
537
+
538
+ * Added config/initializers where all ruby files within it are automatically loaded after the Rails configuration is done, so you don't have to litter the environment.rb file with a ton of mixed stuff [David Heinemeier Hansson]
539
+
540
+ * For new apps, generate a random secret for the cookie-based session store. [Jeremy Kemper]
541
+
542
+ * Stop swallowing errors during rake test [Michael Koziarski]
543
+
544
+ * Update Rails Initializer to use ActionController::Base#view_paths [Rick Olson]
545
+
546
+ * Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ [Chad Fowler]
547
+
548
+ * Plugins may be symlinked in vendor/plugins. #4245 [brandon, progrium@gmail.com]
549
+
550
+ * Resource generator depends on the model generator rather than duplicating it. #7269 [bscofield]
551
+
552
+ * Add/Update usage documentation for script/destroy, resource generator and scaffold_resource generator. Closes #7092, #7271, #7267. [bscofield]
553
+
554
+ * Update to script.aculo.us 1.7.0. [Thomas Fuchs]
555
+
556
+ * Update to Prototype 1.5.0. [Sam Stephenson]
557
+
558
+ * Generator: use destination path for diff tempfiles. #7015 [alfeld]
559
+
560
+ * Fixed that webrick would strip leading newlines and hang connection #4156 [psross]
561
+
562
+ * Ensure plugins are in the Dependencies.load_once_paths collection by default. [Rick Olson]
563
+ If you really want your plugins to reload, add this to the very top of init.rb:
564
+
565
+ Dependencies.load_once_paths.delete(lib_path)
566
+
567
+ * Allow config.to_prepare to work, make the dispatcher safe to 're require'. [Michael Koziarski, Nicholas Seckar]
568
+
569
+ * Fix scaffold_resource generator so it respects the --pretend argument when creating the routes file. Closes #6852 [fearoffish]
570
+
571
+ * Fix Webrick Daemon dispatching bug regarding a bad current working directory. Closes #4899 [Rick Olson]
572
+
573
+ * Make config.plugins affect the load path and the dependencies system. Allows you to control plugin loading order, and keep disabled plugins off the load path. [James Adam]
574
+
575
+ * Don't generate a components directory in new Rails apps. [Jeremy Kemper]
576
+
577
+ * Fixed script/process/spawner to work properly with Mongrel including in -r (daemonize mode) [David Heinemeier Hansson]
578
+
579
+ * Added one-letter aliases for the three default environments to script/console, so script/console p will load the production environment (t for test, d for development) [David Heinemeier Hansson]
580
+
581
+ * Fixed that script/server running against Mongrel should tail the proper log regardless of the environment [David Heinemeier Hansson]
582
+
583
+ * Update initializer to load Rails::VERSION as soon as possible. Closes #6698. [Nicholas Seckar]
584
+
585
+ * Added ActiveRecord::Base.clear_active_connections! in development mode so the database connection is not carried over from request to request. Some databases won't reread the schema if that doesn't happen (I'm looking at you SQLite), so you have to restart the server after each migration (= no fun) [David Heinemeier Hansson]
586
+
587
+ * Made RAILS_GEM_VERSION work for beta gems too, so specifying 1.1.6 will give you 1.1.6.4520 if available [David Heinemeier Hansson]
588
+
589
+ * Update to Prototype and script.aculo.us [5579]. [Thomas Fuchs]
590
+
591
+ * Made script/server work with -e and -d when using Mongrel [David Heinemeier Hansson]
592
+
593
+ * Update to Prototype 1.5.0_rc2 [5550] which makes it work in Opera again [Thomas Fuchs]
594
+
595
+ * Make sure that exceptions which are thrown outside of the user code try their best to be handeled in ApplicationController#rescue_action [Tobias Lütke]
596
+
597
+ * Rails::VERSION::STRING should always be available without having to require 'rails/version'. #6244 [fearoffish]
598
+
599
+ * Update to Prototype 1.5.0_rc2. [Sam Stephenson]
600
+
601
+ * Add grep-based fallback to reaper, to work in pidless setups [Jamis Buck]
602
+
603
+ * Only wrap request processing with our USR1 signal handler so FastCGI can trap it and raise an exception while waiting for connections. Idle processes exit immediately rather than waiting for another request; active processes gracefully exit when the request is finished. [Jeremy Kemper]
604
+
605
+ * Alter prior change to use require_dependency instead of require_or_load. Causes ApplicationController to be reloaded again. Closes #6587. [Nicholas Seckar]
606
+
607
+ * Rake: use absolute paths to load lib and vendor tasks so they may be run outside of RAILS_ROOT. #6584 [jchris]
608
+
609
+ * Remove temporary crutch to help ApplicationController be unloaded. Closes #6496. [Nicholas Seckar]
610
+
611
+ * scaffold_resource generator uses _path named routes and head instead of render :nothing => true. #6545 [Josh Susser]
612
+
613
+ * Generator can show diff on file collision to help you decide whether to skip or overwrite. #6364 [jeffw, Jeremy Kemper]
614
+
615
+ * Generated directories are recursively svn added, like mkdir -p. #6416 [NeilW]
616
+
617
+ * resource and scaffold_resource generators add a restful route to config/routes.rb [Jeremy Kemper]
618
+
619
+ * Revert environment changes for autoload_paths. [Michael Koziarski]
620
+
621
+ * Update to latest Prototype, which doesn't serialize disabled form elements, adds clone() to arrays, empty/non-string Element.update() and adds a fixes excessive error reporting in WebKit beta versions [Thomas Fuchs]
622
+
623
+ * Clean up the output of rake stats, de-emphasise components and apis, and remove the indents for tests [Michael Koziarski]
624
+
625
+ * Added option to script/process/spawner of specifying the binding address #5133 [Dee Zsombor]
626
+
627
+ * Update environment.rb comments to include config.autoload_paths. Closes #6478 [caio]
628
+
629
+ * Update scaffold to use new form_tag block functionality. Closes #6480. [Bob Silva]
630
+
631
+ * Plugin generator: check for class collisions. #4833 [vinbarnes@gmail.com]
632
+
633
+ * Mailer generator: handle mailers in modules, set mime_version in unit test. [Jeremy Kemper]
634
+
635
+ * Set $KCODE to 'u' by default to enable the multibyte safe String#chars proxy. [Michael Koziarski]
636
+
637
+ * Added config.plugins to control which plugins are loaded #6269 [Stefan Kaes]. By default, everything in vendor/plugins will be loaded, but if you specify config.plugins, only those will be loaded. Example:
638
+
639
+ config.plugins = %w[ routing_navigator simply_helpful ]
640
+
641
+ * Clean up html on included error pages. [Tim Lucas]
642
+
643
+ * Fixed default 404.html and 500.htmls to remove extreme ugliness and include human language [David Heinemeier Hansson]
644
+
645
+ * Update to latest Prototype and script.aculo.us trunk versions [Thomas Fuchs]
646
+
647
+ * PostgreSQL: db:test:purge closes open database connections first. #6236 [alex]
648
+
649
+ * Fixed test:uncommitted on Windows (backslash issue) #4999 [paul@paulbutcher.com]
650
+
651
+ * Fixed migration creation to work with namespaced models, so script/generate model Gallery::Image will use create_table :gallery_images #6327 [Bob Silva]
652
+
653
+ * Fixed rename_table on SQLite tables with indexes defined #5942 [brandon@opensoul.org]
654
+
655
+ * Added default timeout setting of 5 seconds to SQLite3 database.yml configurations [David Heinemeier Hansson]
656
+
657
+ * Added generated attribute options to script/generate model, like the one found in scaffold_resource and resource [David Heinemeier Hansson]. Examples:
658
+
659
+ ./script/generate model post title:string created_on:date body:text published:boolean
660
+
661
+ * Added script/generate resource which works just like scaffold_resource, but creates empty placeholders instead of predefined [David Heinemeier Hansson]
662
+
663
+ * script/runner can run files, pass on arguments, and be used as a shebang. #6286 [Tuxie, dlpond]
664
+ #!/usr/bin/env /path/to/my/app/script/runner
665
+ # Example: just start using your models as if you are in script/console
666
+ Product.find(:all).each { |product| product.check_inventory }
667
+
668
+ * Look for rake tasks in plugin subdirs. #6259 [obrie]
669
+
670
+ * Added map.connect ':controller/:action/:id.:format' as a default route to config/routes.rb [David Heinemeier Hansson]
671
+
672
+ * Updated prototype.js to 1.5.0_rc1 with latest fixes. [Rick Olson]
673
+
674
+ - XPATH support
675
+ - Make Form.getElements() return elements in the correct order
676
+ - fix broken Form.serialize return
677
+
678
+ * session_migration generator adds an index on updated_at. #6207 [grg]
679
+
680
+ * script/server creates the tmp/pids directory. #6204 [jonathan]
681
+
682
+ * Fix script/console --sandbox for internal transactions changes. #5738 [Chris McGrath, charles.gerungan@gmail.com]
683
+
684
+ * Remove the uncanny default of adding all app/models/*/ directories to the load path. This change will break application which expect the current behavior. As
685
+ documented in initializer.rb, the workaround is:
686
+
687
+ config.autoload_paths += Dir[RAILS_ROOT + '/app/models/*/']
688
+
689
+ References #6031. [Nicholas Seckar]
690
+
691
+ * Update to script.aculo.us 1.6.3 [Thomas Fuchs]
692
+
693
+ * Update to Prototype 1.5.0_rc1 [sam]
694
+
695
+ * Formally Deprecate the old rake tasks. [Michael Koziarski]
696
+
697
+ * Thoroughly test the FCGI dispatcher. #5970 [Kevin Clark]
698
+
699
+ * Remove Dir.chdir in the Webrick DispatchServlet#initialize method. Fix bad path errors when trying to load config/routes.rb. [Rick Olson]
700
+
701
+ * Tighten rescue clauses. #5985 [james@grayproductions.net]
702
+
703
+ * Cleaning up tests. [Kevin Clark, Jeremy Kemper]
704
+
705
+ * Add Dependencies.load_once_paths. [Nicholas Seckar]
706
+
707
+ * Updated to script.aculo.us 1.6.2 [Thomas Fuchs]
708
+
709
+ * Assign Routing.controller_paths; fix script/about and rails info controller. [Nicholas Seckar]
710
+
711
+ * Don't warn dispatcher of Reloadable deprecations. [Nicholas Seckar]
712
+
713
+ * Rearrange application resetting and preparation, fix bug with leaking subclasses hash in ActiveRecord::Base [Rick Olson]
714
+
715
+ ActiveRecord::Base.reset_subclasses is called before Dependencies are cleared and classes removed.
716
+ ActiveRecord::Base.instantiate_observers is called during a Dispatcher preparation callback.
717
+
718
+ * Add missing mock directories from the autoload_paths configuration. [Rick Olson]
719
+
720
+ * Nested controller scaffolding also nests the generated layout. [iain d broadfoot]
721
+
722
+ * Add "require 'dispatcher'" to webrick server in the continuing quest to squash webrick weirdness. [Nicholas Seckar]
723
+
724
+ * Add autoload_paths support to Initializer. [Nicholas Seckar]
725
+
726
+ * Fix Dispatcher.reset_application! so that AR subclasses are removed and Observers re-initialized *after* Reloadable classes are removed. Closes #5743. [Rick Olson]
727
+
728
+ * Clarify usage of script/plugin source. Closes #5344. [James Adam]
729
+
730
+ * Add Dispatcher.to_prepare and config.to_prepare to provide a pre-request hook. [Nicholas Seckar]
731
+
732
+ * Tweak the Rails load order so observers are loaded after plugins, and reloaded in development mode. Closed #5279. [Rick Olson]
733
+
734
+ * Added that you can change the web server port in config/lighttpd.conf from script/server --port/-p #5465 [mats@imediatec.co.uk]
735
+
736
+ * script/performance/profiler compatibility with the new ruby-prof, including an option to choose the results printer. #5679 [Shugo Maeda]
737
+
738
+ * Fixed the failsafe response so it uses either the current recognized controller or ApplicationController. [Rick Olson]
739
+
740
+ * Make sure script/reaper only reaps dispatcher pids by default, and not the spawner's pid. [Jamis Buck]
741
+
742
+ * Fix script/plugin about so it uses about.yml and not meta.yml. [James Adam]
743
+
744
+ * Dispatcher processes rescued actions with the same controller that processed the request. #4625 [sd@notso.net]
745
+
746
+ * rails -d frontbase to create a new project with a frontbase database.yml. #4945 [mlaster@metavillage.com]
747
+
748
+ * Ensure the logger is initialized. #5629 [mike@clarkware.com]
749
+
750
+ * Added Mongrel-spawning capabilities to script/process/spawner. Mongrel will be the default choice if installed, otherwise FCGI is tried [David Heinemeier Hansson]. Examples:
751
+
752
+ spawner # starts instances on 8000, 8001, and 8002 using Mongrel if available
753
+ spawner fcgi # starts instances on 8000, 8001, and 8002 using FCGI
754
+ spawner mongrel -i 5 # starts instances on 8000, 8001, 8002, 8003, and 8004 using Mongrel
755
+ spawner -p 9100 -i 10 # starts 10 instances counting from 9100 to 9109 using Mongrel if available
756
+ spawner -p 9100 -r 5 # starts 3 instances counting from 9100 to 9102 and attempts start them every 5 seconds
757
+
758
+ Also note that script/process/reaper is Mongrel capable. So the combination of spawner and reaper is a built-in alternative to something like mongrel_cluster.
759
+
760
+ * Update scaffolding functional tests to use :id => people(:first) instead of :id => 1. #5612 [evan@protest.net]
761
+
762
+ * db:test:clone should remove existing tables before reloading the schema. #5607 [sveit@tradeharbor.com]
763
+
764
+ * Fixed migration generation for class names like ACLController #5197 [brad@madriska.com]
765
+
766
+ * Added show_source_list and show_call_stack to breakpoints to make it easier to get context #5476 [takiuchi@drecom.co.jp]. Examples:
767
+
768
+ irb(#<TopController:0x40822a68>):002:0> show_source_list
769
+ 0001 class TopController < ApplicationController
770
+ 0002 def show
771
+ 0003-> breakpoint
772
+ 0004 end
773
+ 0005
774
+ 0006 def index
775
+ 0007 end
776
+ 0008
777
+ => "/path/to/rails/root/app/controllers/top_controller.rb"
778
+
779
+ irb(#<TopController:0x40822a68>):004:0> show_call_stack 3
780
+ vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
781
+ vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
782
+ app/controllers/top_controller.rb:3:in `show'
783
+ => "/path/to/rails/root/app/controllers/top_controller.rb:3"
784
+
785
+ * Generate scaffold layout in subdirectory appropriate to its module nesting. #5511 [nils@alumni.rice.edu]
786
+
787
+ * Mongrel: script/server tails the rails log like it does with lighttpd. Prefer mongrel over lighttpd. #5541 [mike@clarkware.com]
788
+
789
+ * Don't assume Active Record is available. #5497 [bob@sporkmonger.com]
790
+
791
+ * Mongrel: script/server works on Win32. #5499 [jeremydurham@gmail.com]
792
+
793
+ * Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440. [Nick Sieger]
794
+
795
+ * Mongrel support for script/server. #5475 [jeremydurham@gmail.com]
796
+
797
+ * Fix script/plugin so it doesn't barf on invalid URLs [Rick Olson]
798
+
799
+ * Fix plugin install bug at dir with space. (closes #5359) [Yoshimasa NIWA]
800
+
801
+ * Fix bug with 'script/plugin install' so it reports unknown plugin names correctly. [Rick Olson]
802
+
803
+ * Added uninstall.rb hook to plugin handling, such that plugins have a way of removing assets and other artifacts on removal #5003 [takiuchi@drecom.co.jp]
804
+
805
+ * Create temporary dirs relative to RAILS_ROOT when running script/server #5014 [elliot@townx.org]
806
+
807
+ * Minor tweak to dispatcher to use recognize instead of recognize!, as per the new routes. [Jamis Buck]
808
+
809
+ * Make "script/plugin install" work with svn+ssh URLs. [Sam Stephenson]
810
+
811
+ * Added lib/ to the directories that will get application docs generated [David Heinemeier Hansson]
812
+
813
+ * Add observer generator. Closes #5167. [François Beausoleil]
814
+
815
+ * Session migration generator obeys pluralize_table_names. #5145 [James Adam]
816
+
817
+ * rake test:recent understands subdirectories. #2925 [jerrett@bravenet.com]
818
+
819
+ * The app generator detects the XAMPP package's MySQL socket location. #3832 [elliot@townx.org]
820
+
821
+ * The app generator sets a session key in application.rb so apps running on the same host may distinguish their cookies. #2967 [rcoder, rails-bug@owl.me.uk]
822
+
823
+ * Distinguish the spawners for different processes [David Heinemeier Hansson]
824
+
825
+ * Added -n/--process to script/process/spawner name the process pid (default is dispatch) [David Heinemeier Hansson]
826
+
827
+ * Namespaced OrderedHash so the Rails implementation does not clash with any others. (fixes #4911) [Julian Tarkhanov]
828
+
829
+ * Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
830
+
831
+ * Added script/process/inspector to do simple process status information on Rails dispatchers keeping pid files in tmp/pids [David Heinemeier Hansson]
832
+
833
+ * Added pid file usage to script/process/spawner and script/process/reaper along with a directive in default config/lighttpd.conf file to record the pid. They will all save their pid file in tmp/pids [David Heinemeier Hansson]
834
+
835
+
836
+ *1.2.3* (March 12th, 2007)
837
+
838
+ * Ruby 1.8.6 compatibility
839
+
840
+ * Windows: include MinGW in RUBY_PLATFORM check. #2982 [okkez000@gmail.com, Kaspar Schiess]
841
+
842
+ * Stop swallowing errors during rake test [Michael Koziarski]
843
+
844
+
845
+ *1.2.2* (February 5th, 2007)
846
+
847
+ * Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ [Chad Fowler]
848
+
849
+ * Require the dispatcher for Rails::Configuration#to_prepare. [Rick Olson]
850
+
851
+
852
+ *1.2.1* (January 16th, 2007)
853
+
854
+ * Updated to Active Record 1.15.1, Action Pack 1.13.1, Action Mailer 1.3.1, Action Web Service 1.2.1
855
+
856
+
857
+ *1.2.0* (January 16th, 2007)
858
+
859
+ * Update to Prototype 1.5.0. [Sam Stephenson]
860
+
861
+ * Generator: use destination path for diff tempfiles. #7015 [alfeld]
862
+
863
+ * Fixed that webrick would strip leading newlines and hang connection #4156 [psross]
864
+
865
+ * Ensure plugins are in the Dependencies.load_once_paths collection by default. [Rick Olson]
866
+ If you really want your plugins to reload, add this to the very top of init.rb:
867
+
868
+ Dependencies.load_once_paths.delete(lib_path)
869
+
870
+ * Fix scaffold_resource generator so it respects the --pretend argument when creating the routes file. Closes #6852 [fearoffish]
871
+
872
+ * Fix Webrick Daemon dispatching bug regarding a bad current working directory. Closes #4899 [Rick Olson]
873
+
874
+ * Make config.plugins affect the load path and the dependencies system. Allows you to control plugin loading order, and keep disabled plugins off the load path. [James Adam]
875
+
876
+ * Don't generate a components directory in new Rails apps. [Jeremy Kemper]
877
+
878
+ * Fixed script/process/spawner to work properly with Mongrel including in -r (daemonize mode) [David Heinemeier Hansson]
879
+
880
+ * Deprecated the name route "root" as it'll be used as a shortcut for map.connect '' in Rails 2.0 [David Heinemeier Hansson]
881
+
882
+ * Fixed that script/server running against Mongrel should tail the proper log regardless of the environment [David Heinemeier Hansson]
883
+
884
+ * Update initializer to load Rails::VERSION as soon as possible. Closes #6698. [Nicholas Seckar]
885
+
886
+ * Added ActiveRecord::Base.clear_active_connections! in development mode so the database connection is not carried over from request to request. Some databases won't reread the schema if that doesn't happen (I'm looking at you SQLite), so you have to restart the server after each migration (= no fun) [David Heinemeier Hansson]
887
+
888
+ * Made RAILS_GEM_VERSION work for beta gems too, so specifying 1.1.6 will give you 1.1.6.4520 if available [David Heinemeier Hansson]
889
+
890
+ * Update to Prototype and script.aculo.us [5579]. [Sam Stephenson, Thomas Fuchs]
891
+
892
+ * Made script/server work with -e and -d when using Mongrel [David Heinemeier Hansson]
893
+
894
+ * Make sure that exceptions which are thrown outside of the user code try their best to be handeled in ApplicationController#rescue_action [Tobias Lütke]
895
+
896
+ * Rails::VERSION::STRING should always be available without having to require 'rails/version'. #6244 [fearoffish]
897
+
898
+ * Add grep-based fallback to reaper, to work in pidless setups [Jamis Buck]
899
+
900
+ * Only wrap request processing with our USR1 signal handler so FastCGI can trap it and raise an exception while waiting for connections. Idle processes exit immediately rather than waiting for another request; active processes gracefully exit when the request is finished. [Jeremy Kemper]
901
+
902
+ * Alter prior change to use require_dependency instead of require_or_load. Causes ApplicationController to be reloaded again. Closes #6587. [Nicholas Seckar]
903
+
904
+ * Rake: use absolute paths to load lib and vendor tasks so they may be run outside of RAILS_ROOT. #6584 [jchris]
905
+
906
+ * scaffold_resource generator uses _path named routes and head instead of render :nothing => true. #6545 [Josh Susser]
907
+
908
+ * Generator can show diff on file collision to help you decide whether to skip or overwrite. #6364 [jeffw, Jeremy Kemper]
909
+
910
+ * Generated directories are recursively svn added, like mkdir -p. #6416 [NeilW]
911
+
912
+ * resource and scaffold_resource generators add a restful route to config/routes.rb [Jeremy Kemper]
913
+
914
+ * Revert environment changes for autoload_paths. [Michael Koziarski]
915
+
916
+ * Clean up the output of rake stats, de-emphasise components and apis, and remove the indents for tests [Michael Koziarski]
917
+
918
+ * Added option to script/process/spawner of specifying the binding address #5133 [Dee Zsombor]
919
+
920
+ * Update environment.rb comments to include config.autoload_paths. Closes #6478 [caio]
921
+
922
+ * Update scaffold to use new form_tag block functionality. Closes #6480. [Bob Silva]
923
+
924
+ * Plugin generator: check for class collisions. #4833 [vinbarnes@gmail.com]
925
+
926
+ * Mailer generator: handle mailers in modules, set mime_version in unit test. [Jeremy Kemper]
927
+
928
+ * Set $KCODE to 'u' by default to enable the multibyte safe String#chars proxy. [Michael Koziarski]
929
+
930
+ * Added config.plugins to control which plugins are loaded #6269 [Stefan Kaes]. By default, everything in vendor/plugins will be loaded, but if you specify config.plugins, only those will be loaded. Example:
931
+
932
+ config.plugins = %w[ routing_navigator simply_helpful ]
933
+
934
+ * Clean up html on included error pages. [Tim Lucas]
935
+
936
+ * Fixed default 404.html and 500.htmls to remove extreme ugliness and include human language [David Heinemeier Hansson]
937
+
938
+ * Update to latest Prototype and script.aculo.us trunk versions [Thomas Fuchs]
939
+
940
+ * PostgreSQL: db:test:purge closes open database connections first. #6236 [alex]
941
+
942
+ * Fixed test:uncommitted on Windows (backslash issue) #4999 [paul@paulbutcher.com]
943
+
944
+ * Fixed migration creation to work with namespaced models, so script/generate model Gallery::Image will use create_table :gallery_images #6327 [Bob Silva]
945
+
946
+ * Fixed rename_table on SQLite tables with indexes defined #5942 [brandon@opensoul.org]
947
+
948
+ * Added default timeout setting of 5 seconds to SQLite3 database.yml configurations [David Heinemeier Hansson]
949
+
950
+ * Added generated attribute options to script/generate model, like the one found in scaffold_resource and resource [David Heinemeier Hansson]. Examples:
951
+
952
+ ./script/generate model post title:string created_on:date body:text published:boolean
953
+
954
+ * Added script/generate resource which works just like scaffold_resource, but creates empty placeholders instead of predefined [David Heinemeier Hansson]
955
+
956
+ * script/runner can run files, pass on arguments, and be used as a shebang. #6286 [Tuxie, dlpond]
957
+ #!/usr/bin/env /path/to/my/app/script/runner
958
+ # Example: just start using your models as if you are in script/console
959
+ Product.find(:all).each { |product| product.check_inventory }
960
+
961
+ * Look for rake tasks in plugin subdirs. #6259 [obrie]
962
+
963
+ * Added map.connect ':controller/:action/:id.:format' as a default route to config/routes.rb [David Heinemeier Hansson]
964
+
965
+ * session_migration generator adds an index on updated_at. #6207 [grg]
966
+
967
+ * script/server creates the tmp/pids directory. #6204 [jonathan]
968
+
969
+ * Fix script/console --sandbox for internal transactions changes. #5738 [Chris McGrath, charles.gerungan@gmail.com]
970
+
971
+ * Remove the uncanny default of adding all app/models/*/ directories to the load path. This change will break application which expect the current behavior. As
972
+ documented in initializer.rb, the workaround is:
973
+
974
+ config.autoload_paths += Dir[RAILS_ROOT + '/app/models/*/']
975
+
976
+ References #6031. [Nicholas Seckar]
977
+
978
+ * Update to script.aculo.us 1.6.3 [Thomas Fuchs]
979
+
980
+ * Formally Deprecate the old rake tasks. [Michael Koziarski]
981
+
982
+ * Thoroughly test the FCGI dispatcher. #5970 [Kevin Clark]
983
+
984
+ * Remove Dir.chdir in the Webrick DispatchServlet#initialize method. Fix bad path errors when trying to load config/routes.rb. [Rick Olson]
985
+
986
+ * Tighten rescue clauses. #5985 [james@grayproductions.net]
987
+
988
+ * Cleaning up tests. [Kevin Clark, Jeremy Kemper]
989
+
990
+ * Add Dependencies.load_once_paths. [Nicholas Seckar]
991
+
992
+ * Assign Routing.controller_paths; fix script/about and rails info controller. [Nicholas Seckar]
993
+
994
+ * Don't warn dispatcher of Reloadable deprecations. [Nicholas Seckar]
995
+
996
+ * Rearrange application resetting and preparation, fix bug with leaking subclasses hash in ActiveRecord::Base [Rick Olson]
997
+
998
+ ActiveRecord::Base.reset_subclasses is called before Dependencies are cleared and classes removed.
999
+ ActiveRecord::Base.instantiate_observers is called during a Dispatcher preparation callback.
1000
+
1001
+ * Add missing mock directories from the autoload_paths configuration. [Rick Olson]
1002
+
1003
+ * Nested controller scaffolding also nests the generated layout. [iain d broadfoot]
1004
+
1005
+ * Add "require 'dispatcher'" to webrick server in the continuing quest to squash webrick weirdness. [Nicholas Seckar]
1006
+
1007
+ * Add autoload_paths support to Initializer. [Nicholas Seckar]
1008
+
1009
+ * Fix Dispatcher.reset_application! so that AR subclasses are removed and Observers re-initialized *after* Reloadable classes are removed. Closes #5743. [Rick Olson]
1010
+
1011
+ * Clarify usage of script/plugin source. Closes #5344. [James Adam]
1012
+
1013
+ * Add Dispatcher.to_prepare and config.to_prepare to provide a pre-request hook. [Nicholas Seckar]
1014
+
1015
+ * Tweak the Rails load order so observers are loaded after plugins, and reloaded in development mode. Closed #5279. [Rick Olson]
1016
+
1017
+ * Added that you can change the web server port in config/lighttpd.conf from script/server --port/-p #5465 [mats@imediatec.co.uk]
1018
+
1019
+ * script/performance/profiler compatibility with the new ruby-prof, including an option to choose the results printer. #5679 [Shugo Maeda]
1020
+
1021
+ * Fixed the failsafe response so it uses either the current recognized controller or ApplicationController. [Rick Olson]
1022
+
1023
+ * Make sure script/reaper only reaps dispatcher pids by default, and not the spawner's pid. [Jamis Buck]
1024
+
1025
+ * Fix script/plugin about so it uses about.yml and not meta.yml. [James Adam]
1026
+
1027
+ * Dispatcher processes rescued actions with the same controller that processed the request. #4625 [sd@notso.net]
1028
+
1029
+ * rails -d frontbase to create a new project with a frontbase database.yml. #4945 [mlaster@metavillage.com]
1030
+
1031
+ * Ensure the logger is initialized. #5629 [mike@clarkware.com]
1032
+
1033
+ * Added Mongrel-spawning capabilities to script/process/spawner. Mongrel will be the default choice if installed, otherwise FCGI is tried [David Heinemeier Hansson]. Examples:
1034
+
1035
+ spawner # starts instances on 8000, 8001, and 8002 using Mongrel if available
1036
+ spawner fcgi # starts instances on 8000, 8001, and 8002 using FCGI
1037
+ spawner mongrel -i 5 # starts instances on 8000, 8001, 8002, 8003, and 8004 using Mongrel
1038
+ spawner -p 9100 -i 10 # starts 10 instances counting from 9100 to 9109 using Mongrel if available
1039
+ spawner -p 9100 -r 5 # starts 3 instances counting from 9100 to 9102 and attempts start them every 5 seconds
1040
+
1041
+ Also note that script/process/reaper is Mongrel capable. So the combination of spawner and reaper is a built-in alternative to something like mongrel_cluster.
1042
+
1043
+ * Update scaffolding functional tests to use :id => people(:first) instead of :id => 1. #5612 [evan@protest.net]
1044
+
1045
+ * db:test:clone should remove existing tables before reloading the schema. #5607 [sveit@tradeharbor.com]
1046
+
1047
+ * Fixed migration generation for class names like ACLController #5197 [brad@madriska.com]
1048
+
1049
+ * Added show_source_list and show_call_stack to breakpoints to make it easier to get context #5476 [takiuchi@drecom.co.jp]. Examples:
1050
+
1051
+ irb(#<TopController:0x40822a68>):002:0> show_source_list
1052
+ 0001 class TopController < ApplicationController
1053
+ 0002 def show
1054
+ 0003-> breakpoint
1055
+ 0004 end
1056
+ 0005
1057
+ 0006 def index
1058
+ 0007 end
1059
+ 0008
1060
+ => "/path/to/rails/root/app/controllers/top_controller.rb"
1061
+
1062
+ irb(#<TopController:0x40822a68>):004:0> show_call_stack 3
1063
+ vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
1064
+ vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
1065
+ app/controllers/top_controller.rb:3:in `show'
1066
+ => "/path/to/rails/root/app/controllers/top_controller.rb:3"
1067
+
1068
+ * Generate scaffold layout in subdirectory appropriate to its module nesting. #5511 [nils@alumni.rice.edu]
1069
+
1070
+ * Mongrel: script/server tails the rails log like it does with lighttpd. Prefer mongrel over lighttpd. #5541 [mike@clarkware.com]
1071
+
1072
+ * Don't assume Active Record is available. #5497 [bob@sporkmonger.com]
1073
+
1074
+ * Mongrel: script/server works on Win32. #5499 [jeremydurham@gmail.com]
1075
+
1076
+ * Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440. [Nick Sieger]
1077
+
1078
+ * Mongrel support for script/server. #5475 [jeremydurham@gmail.com]
1079
+
1080
+ * Fix script/plugin so it doesn't barf on invalid URLs [Rick Olson]
1081
+
1082
+ * Fix plugin install bug at dir with space. (closes #5359) [Yoshimasa NIWA]
1083
+
1084
+ * Fix bug with 'script/plugin install' so it reports unknown plugin names correctly. [Rick Olson]
1085
+
1086
+ * Added uninstall.rb hook to plugin handling, such that plugins have a way of removing assets and other artifacts on removal #5003 [takiuchi@drecom.co.jp]
1087
+
1088
+ * Create temporary dirs relative to RAILS_ROOT when running script/server #5014 [elliot@townx.org]
1089
+
1090
+ * Minor tweak to dispatcher to use recognize instead of recognize!, as per the new routes. [Jamis Buck]
1091
+
1092
+ * Make "script/plugin install" work with svn+ssh URLs. [Sam Stephenson]
1093
+
1094
+ * Added lib/ to the directories that will get application docs generated [David Heinemeier Hansson]
1095
+
1096
+ * Add observer generator. Closes #5167. [François Beausoleil]
1097
+
1098
+ * Session migration generator obeys pluralize_table_names. #5145 [James Adam]
1099
+
1100
+ * rake test:recent understands subdirectories. #2925 [jerrett@bravenet.com]
1101
+
1102
+ * The app generator detects the XAMPP package's MySQL socket location. #3832 [elliot@townx.org]
1103
+
1104
+ * The app generator sets a session key in application.rb so apps running on the same host may distinguish their cookies. #2967 [rcoder, rails-bug@owl.me.uk]
1105
+
1106
+ * Distinguish the spawners for different processes [David Heinemeier Hansson]
1107
+
1108
+ * Added -n/--process to script/process/spawner name the process pid (default is dispatch) [David Heinemeier Hansson]
1109
+
1110
+ * Namespaced OrderedHash so the Rails implementation does not clash with any others. (fixes #4911) [Julian Tarkhanov]
1111
+
1112
+ * Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
1113
+
1114
+ * Added script/process/inspector to do simple process status information on Rails dispatchers keeping pid files in tmp/pids [David Heinemeier Hansson]
1115
+
1116
+ * Added pid file usage to script/process/spawner and script/process/reaper along with a directive in default config/lighttpd.conf file to record the pid. They will all save their pid file in tmp/pids [David Heinemeier Hansson]
1117
+
1118
+
1119
+ *1.1.6* (August 10th, 2006)
1120
+
1121
+ * Additional security patch
1122
+
1123
+
1124
+ *1.1.5* (August 8th, 2006)
1125
+
1126
+ * Mention in docs that config.frameworks doesn't work when getting Rails via Gems. #4857 [Alisdair McDiarmid]
1127
+
1128
+ * Change the scaffolding layout to use yield rather than @content_for_layout. [Marcel Molina Jr.]
1129
+
1130
+ * Includes critical security patch
1131
+
1132
+
1133
+ *1.1.4* (June 29th, 2006)
1134
+
1135
+ * Remove use of opts.on { |options[:name] } style hash assignment. References #4440. [headius@headius.com]
1136
+
1137
+ * Updated to Action Pack 1.12.3, ActionWebService 1.1.4, ActionMailer 1.2.3
1138
+
1139
+
1140
+ *1.1.3* (June 27th, 2006)
1141
+
1142
+ * Updated to Active Record 1.14.3, Action Pack 1.12.2, ActionWebService 1.1.3, ActionMailer 1.2.2
1143
+
1144
+
1145
+ *1.1.2* (April 9th, 2006)
1146
+
1147
+ * Mention in docs that config.frameworks doesn't work when getting Rails via Gems. Closes #4857. [Alisdair McDiarmid]
1148
+
1149
+ * Change the scaffolding layout to use yield rather than @content_for_layout. [Marcel Molina Jr.]
1150
+
1151
+ * Added rake rails:update:configs to update config/boot.rb from the latest (also included in rake rails:update) [David Heinemeier Hansson]
1152
+
1153
+ * Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an uncommented RAILS_GEM_VERSION line, and not use require_gem [David Heinemeier Hansson]
1154
+
1155
+
1156
+ *1.1.1* (April 6th, 2006)
1157
+
1158
+ * Enhances plugin#discover allowing it to discover svn:// like URIs (closes #4565) [ruben.nine@gmail.com]
1159
+
1160
+ * Update to Prototype 1.5.0_rc0 [Sam Stephenson]
1161
+
1162
+ * Fixed that the -r/--ruby path option of the rails command was not being respected #4549 [ryan.raaum@gmail.com]
1163
+
1164
+ * Added that Dispatcher exceptions should not be shown to the user unless a default log has not been configured. Instead show public/500.html [David Heinemeier Hansson]
1165
+
1166
+ * Fixed that rake clone_structure_to_test should quit on pgsql if the dump is unsuccesful #4585 [augustz@augustz.com]
1167
+
1168
+ * Fixed that rails --version should have the return code of 0 (success) #4560 [blair@orcaware.com]
1169
+
1170
+ * Install alias so Rails::InfoController is accessible at /rails_info. Closes #4546. [Nicholas Seckar]
1171
+
1172
+ * Fixed that spawner should daemonize if running in repeat mode [David Heinemeier Hansson]
1173
+
1174
+ * Added TAG option for rake rails:freeze:edge, so you can say rake rails:freeze:edge TAG=rel_1-1-0 to lock to the 1.1.0 release [David Heinemeier Hansson]
1175
+
1176
+ * Applied Prototype $() performance patches (#4465, #4477) and updated script.aculo.us [Sam Stephenson, Thomas Fuchs]
1177
+
1178
+ * Use --simple-prompt instead of --prompt-mode simple for console compatibility with Windows/Ruby 1.8.2 #4532 [starr@starrnhorne.com]
1179
+
1180
+ * Make Rails::VERSION implicitly loadable #4491. [Nicholas Seckar]
1181
+
1182
+ * Fixed rake rails:freeze:gems #4518 [benji@silverinsanity.com]
1183
+
1184
+ * Added -f/--freeze option to rails command for freezing the application to the Rails version it was generated with [David Heinemeier Hansson]
1185
+
1186
+ * Added gem binding of apps generated through the rails command to the gems of they were generated with [Nicholas Seckar]
1187
+
1188
+ * Added expiration settings for JavaScript, CSS, HTML, and images to default lighttpd.conf [David Heinemeier Hansson]
1189
+
1190
+ * Added gzip compression for JavaScript, CSS, and HTML to default lighttpd.conf [David Heinemeier Hansson]
1191
+
1192
+ * Avoid passing escapeHTML non-string in Rails' info controller [Nicholas Seckar]
1193
+
1194
+
1195
+ *1.1.0* (March 27th, 2006)
1196
+
1197
+ * Allow db:fixtures:load to load a subset of the applications fixtures. [Chad Fowler]
1198
+
1199
+ ex.
1200
+
1201
+ rake db:fixtures:load FIXTURES=customers,plans
1202
+
1203
+ * Update to Prototype 1.5.0_pre1 [Sam Stephenson]
1204
+
1205
+ * Update to script.aculo.us 1.6 [Thomas Fuchs]
1206
+
1207
+ * Add an integration_test generator [Jamis Buck]
1208
+
1209
+ * Make all ActionView helpers available in the console from the helper method for debugging purposes. n.b.: Only an 80% solution. Some stuff won't work, most will. [Marcel Molina Jr.]
1210
+
1211
+ ex.
1212
+
1213
+ >> puts helper.options_for_select([%w(a 1), %w(b 2), %w(c 3)])
1214
+ <option value="1">a</option>
1215
+ <option value="2">b</option>
1216
+ <option value="3">c</option>
1217
+ => nil
1218
+
1219
+ * Replaced old session rake tasks with db:sessions:create to generate a migration, and db:sessions:clear to remove sessions. [Rick Olson]
1220
+
1221
+ * Reject Ruby 1.8.3 when loading Rails; extract version checking code. [Chad Fowler]
1222
+
1223
+ * Remove explicit loading of RailsInfo and RailsInfoController. [Nicholas Seckar]
1224
+
1225
+ * Move RailsInfo and RailsInfoController to Rails::Info and Rails::InfoController. [Nicholas Seckar]
1226
+
1227
+ * Extend load path with Railties' builtin directory to make adding support code easy. [Nicholas Seckar]
1228
+
1229
+ * Fix the rails_info controller by explicitly loading it, and marking it as not reloadable. [Nicholas Seckar]
1230
+
1231
+ * Fixed rails:freeze:gems for Windows #3274 [paul@paulbutcher.com]
1232
+
1233
+ * Added 'port open?' check to the spawner when running in repeat mode so we don't needlessly boot the dispatcher if the port is already in use anyway #4089 [guy.naor@famundo.com]
1234
+
1235
+ * Add verification to generated scaffolds, don't allow get for unsafe actions [Michael Koziarski]
1236
+
1237
+ * Don't replace application.js in public/javascripts if it already exists [Cody Fauser]
1238
+
1239
+ * Change test:uncommitted to delay execution of `svn status` by using internal Rake API's. [Nicholas Seckar]
1240
+
1241
+ * Use require_library_or_gem to load rake in commands/server.rb. Closes #4205. [rob.rasmussen@gmail.com]
1242
+
1243
+ * Use the Rake API instead of shelling out to create the tmp directory in commands/server.rb. [Chad Fowler]
1244
+
1245
+ * Added a backtrace to the evil WSOD (White Screen of Death). Closes #4073. TODO: Clearer exceptions [Rick Olson]
1246
+
1247
+ * Added tracking of database and framework versions in script/about #4088 [charles.gerungan@gmail.com/Rick Olson]
1248
+
1249
+ * Added public/javascripts/application.js as a sample since it'll automatically be included in javascript_include_tag :defaults [David Heinemeier Hansson]
1250
+
1251
+ * Added socket cleanup for lighttpd, both before and after [David Heinemeier Hansson]
1252
+
1253
+ * Added automatic creation of tmp/ when running script/server [David Heinemeier Hansson]
1254
+
1255
+ * Added silence_stream that'll work on both STDERR or STDOUT or any other stream and deprecated silence_stderr in the process [David Heinemeier Hansson]
1256
+
1257
+ * Added reload! method to script/console to reload all models and others that include Reloadable without quitting the console #4056 [esad@esse.at]
1258
+
1259
+ * Added that rake rails:freeze:edge will now just export all the contents of the frameworks instead of just lib, so stuff like rails:update:scripts, rails:update:javascripts, and script/server on lighttpd still just works #4047 [David Heinemeier Hansson]
1260
+
1261
+ * Added fix for upload problems with lighttpd from Safari/IE to config/lighttpd.conf #3999 [Thijs van der Vossen]
1262
+
1263
+ * Added test:uncommitted to test changes since last checkin to Subversion #4035 [technomancy@gmail.com]
1264
+
1265
+ * Help script/about print the correct svn revision when in a non-English locale. #4026 [babie7a0@ybb.ne.jp]
1266
+
1267
+ * Add 'app' accessor to script/console as an instance of Integration::Session [Jamis Buck]
1268
+
1269
+ * Generator::Base#usage takes an optional message argument which defaults to Generator::Base#usage_message. [Jeremy Kemper]
1270
+
1271
+ * Remove the extraneous AR::Base.threaded_connections setting from the webrick server. [Jeremy Kemper]
1272
+
1273
+ * Add integration test support to app generation and testing [Jamis Buck]
1274
+
1275
+ * Added namespaces to all tasks, so for example load_fixtures is now db:fixtures:load. All the old task names are still valid, they just point to the new namespaced names. "rake -T" will only show the namespaced ones, though [David Heinemeier Hansson]
1276
+
1277
+ * CHANGED DEFAULT: ActiveRecord::Base.schema_format is now :ruby by default instead of :sql. This means that we'll assume you want to live in the world of db/schema.rb where the grass is green and the girls are pretty. If your schema contains un-dumpable elements, such as constraints or database-specific column types, you just got an invitation to either 1) patch the dumper to include foreign key support, 2) stop being db specific, or 3) just change the default in config/environment.rb to config.active_record.schema_format = :sql -- we even include an example for that on new Rails skeletons now. Brought to you by the federation of opinionated framework builders! [David Heinemeier Hansson]
1278
+
1279
+ * Added -r/--repeat option to script/process/spawner that offers the same loop protection as the spinner did. This deprecates the script/process/spinner, so it's no longer included in the default Rails skeleton, but still available for backwards compatibility #3461 [ror@andreas-s.net]
1280
+
1281
+ * Added collision option to template generation in generators #3329 [anna@wota.jp]. Examples:
1282
+
1283
+ m.template "stuff.config" , "config/stuff.config" , :collision => :skip
1284
+ m.template "auto-stamping", "config/generator.log", :collision => :force
1285
+
1286
+ * Added more information to script/plugin's doings to ease debugging #3755 [Rick Olson]
1287
+
1288
+ * Changed the default configuration for lighttpd to use tmp/sockets instead of log/ for the FastCGI sockets [David Heinemeier Hansson]
1289
+
1290
+ * Added a default configuration of the FileStore for fragment caching if tmp/cache is available, which makes action/fragment caching ready to use out of the box with no additional configuration [David Heinemeier Hansson]
1291
+
1292
+ * Changed the default session configuration to place sessions in tmp/sessions, if that directory is available, instead of /tmp (this essentially means a goodbye to 9/10 White Screen of Death errors and should have web hosting firms around the world cheering) [David Heinemeier Hansson]
1293
+
1294
+ * Added tmp/sessions, tmp/cache, and tmp/sockets as default directories in the Rails skeleton [David Heinemeier Hansson]
1295
+
1296
+ * Added that script/generate model will now automatically create a migration file for the model created. This can be turned off by calling the generator with --skip-migration [David Heinemeier Hansson]
1297
+
1298
+ * Added -d/--database option to the rails command, so you can do "rails --database=sqlite2 myapp" to start a new application preconfigured to use SQLite2 as the database. Removed the configuration examples from SQLite and PostgreSQL from the default MySQL configuration [David Heinemeier Hansson]
1299
+
1300
+ * Allow script/server -c /path/to/lighttpd.conf [Jeremy Kemper]
1301
+
1302
+ * Remove hardcoded path to reaper script in script/server [Jeremy Kemper]
1303
+
1304
+ * Update script.aculo.us to V1.5.3 [Thomas Fuchs]
1305
+
1306
+ * Added SIGTRAP signal handler to RailsFCGIHandler that'll force the process into a breakpoint after the next request. This breakpoint can then be caught with script/breakpointer and give you access to the Ruby image inside that process. Useful for debugging memory leaks among other things [David Heinemeier Hansson]
1307
+
1308
+ * Changed default lighttpd.conf to use CWD from lighttpd 1.4.10 that allows the same configuration to be used for both detach and not. Also ensured that auto-repeaping of FCGIs only happens when lighttpd is not detached. [David Heinemeier Hansson]
1309
+
1310
+ * Added Configuration#after_initialize for registering a block which gets called after the framework is fully initialized. Useful for things like per-environment configuration of plugins. [Michael Koziarski]
1311
+
1312
+ * Added check for RAILS_FRAMEWORK_ROOT constant that allows the Rails framework to be found in a different place than vendor/rails. Should be set in boot.rb. [David Heinemeier Hansson]
1313
+
1314
+ * Fixed that static requests could unlock the mutex guarding dynamic requests in the WEBrick servlet #3433 [tom@craz8.com]
1315
+
1316
+ * Fixed documentation tasks to work with Rake 0.7.0 #3563 [kazuhiko@fdiary.net]
1317
+
1318
+ * Update to Prototype 1.5.0_pre0 [Sam Stephenson]
1319
+
1320
+ * Sort the list of plugins so we load in a consistent order [Rick Olson]
1321
+
1322
+ * Show usage when script/plugin is called without arguments [tom@craz8.com]
1323
+
1324
+ * Corrected problems with plugin loader where plugins set 'name' incorrectly #3297 [anna@wota.jp]
1325
+
1326
+ * Make migration generator only report on exact duplicate names, not partial dupliate names. #3442 [jeremy@planetargon.com Marcel Molina Jr.]
1327
+
1328
+ * Fix typo in mailer generator USAGE. #3458 [chriztian.steinmeier@gmail.com]
1329
+
1330
+ * Ignore version mismatch between pg_dump and the database server. #3457 [Simon Stapleton]
1331
+
1332
+ * Reap FCGI processes after lighttpd exits. [Sam Stephenson]
1333
+
1334
+ * Honor ActiveRecord::Base.pluralize_table_names when creating and destroying session store table. #3204. [rails@bencurtis.com, Marcel Molina Jr.]
1335
+
1336
+ *1.0.0* (December 13th, 2005)
1337
+
1338
+ * Update instructions on how to find and install generators. #3172. [Chad Fowler]
1339
+
1340
+ * Generator looks in vendor/generators also. [Chad Fowler]
1341
+
1342
+ * Generator copies files in binary mode. #3156 [minimudboy@gmail.com]
1343
+
1344
+ * Add builtin/ to the gemspec. Closes #3047. [Nicholas Seckar, Sam Stephenson]
1345
+
1346
+ * Add install.rb file to plugin generation which is loaded, if it exists, when you install a plugin. [Marcel Molina Jr.]
1347
+
1348
+ * Run initialize_logger in script/lighttpd to ensure the log file exists before tailing it. [Sam Stephenson]
1349
+
1350
+ * Make load_fixtures include csv fixtures. #3053. [me@mdaines.com]
1351
+
1352
+ * Fix freeze_gems so that the latest rails version is dumped by default. [Nicholas Seckar]
1353
+
1354
+ * script/plugin: handle root paths and plugin names which contain spaces. #2995 [justin@aspect.net]
1355
+
1356
+ * Model generator: correct relative path to test_helper in unit test. [Jeremy Kemper]
1357
+
1358
+ * Make the db_schema_dump task honor the SCHEMA environment variable if present the way db_schema_import does. #2931. [Blair Zajac]
1359
+
1360
+ * Have the lighttpd server script report the actual ip to which the server is bound. #2903. [Adam]
1361
+
1362
+ * Add plugin library directories to the load path after the lib directory so that libraries in the lib directory get precedence. #2910. [James Adam]
1363
+
1364
+ * Make help for the console command more explicit about how to specify the desired environment in which to run the console. #2911. [anonymous]
1365
+
1366
+ * PostgreSQL: the purge_test_database Rake task shouldn't explicitly specify the template0 template when creating a fresh test database. #2964 [Dreamer3]
1367
+
1368
+ * Introducing the session_migration generator. Creates an add_session_table migration. Allows generator to specify migrations directory. #2958, #2960 [Rick Olson]
1369
+
1370
+ * script/console uses RAILS_ENV environment variable if present. #2932 [Blair Zajac <blair@orcaware.com>
1371
+
1372
+ * Windows: eliminate the socket option in database.yml. #2924 [Wayne Vucenic <waynev@gmail.com>]
1373
+
1374
+ * Eliminate nil from newly generated logfiles. #2927 [Blair Zajac <blair@orcaware.com>]
1375
+
1376
+ * Rename Version constant to VERSION. #2802 [Marcel Molina Jr.]
1377
+
1378
+ * Eliminate Subversion dependencies in scripts/plugin. Correct install options. Introduce --force option to reinstall a plugin. Remove useless --long option for list. Use --quiet to quiet the download output and --revision to update to a specific svn revision. #2842 [Chad Fowler, Rick Olson]
1379
+
1380
+ * SQLite: the clone_structure_to_test and purge_test_database Rake tasks should always use the test environment. #2846 [Rick Olson]
1381
+
1382
+ * Make sure that legacy db tasks also reference :database for SQLite #2830 [kazuhiko@fdiary.net]
1383
+
1384
+ * Pass __FILE__ when evaluating plugins' init.rb. #2817 [James Adam]
1385
+
1386
+ * Better svn status matching for generators. #2814 [François Beausoleil <francois.beausoleil@gmail.com>, Blair Zajac <blair@orcaware.com>]
1387
+
1388
+ * Don't reload routes until plugins have been loaded so they have a chance to extend the routing capabilities [David Heinemeier Hansson]
1389
+
1390
+ * Don't detach or fork for script/server tailing [Nicholas Seckar]
1391
+
1392
+ * Changed all script/* to use #!/usr/bin/env ruby instead of hard-coded Ruby path. public/dispatcher.* still uses the hard-coded path for compatibility with web servers that don't have Ruby in path [David Heinemeier Hansson]
1393
+
1394
+ * Force RAILS_ENV to be "test" when running tests, so that ENV["RAILS_ENV"] = "production" in config/environment.rb doesn't wreck havok [David Heinemeier Hansson] #2660
1395
+
1396
+ * Correct versioning in :freeze_gems Rake task. #2778 [Jakob Skjerning, Jeremy Kemper]
1397
+
1398
+ * Added an omnipresent RailsInfoController with a properties action that 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. [Sam Stephenson]
1399
+
1400
+
1401
+ *0.14.3 (RC4)* (November 7th, 2005)
1402
+
1403
+ * Add 'add_new_scripts' rake task for adding new rails scripts to script/* [Jamis Buck]
1404
+
1405
+ * Remove bogus hyphen from script/process/reaper calls to 'ps'. #2767 [anonymous]
1406
+
1407
+ * Copy lighttpd.conf when it is first needed, instead of on app creation [Jamis Buck]
1408
+
1409
+ * Use require_library_or_gem 'fcgi' in script/server [Sam Stephenson]
1410
+
1411
+ * Added default lighttpd config in config/lighttpd.conf and added a default runner for lighttpd in script/server (works like script/server, but using lighttpd and FastCGI). It will use lighttpd if available, otherwise WEBrick. You can force either or using 'script/server lighttpd' or 'script/server webrick' [David Heinemeier Hansson]
1412
+
1413
+ * New configuration option config.plugin_paths which may be a single path like the default 'vendor/plugins' or an array of paths: ['vendor/plugins', 'lib/plugins']. [Jeremy Kemper]
1414
+
1415
+ * Plugins are discovered in nested paths, so you can organize your plugins directory as you like. [Jeremy Kemper]
1416
+
1417
+ * Refactor load_plugin from load_plugins. #2757 [alex.r.moon@gmail.com]
1418
+
1419
+ * Make use of silence_stderr in script/lighttpd, script/plugin, and Rails::Info [Sam Stephenson]
1420
+
1421
+ * Enable HTTP installation of plugins when svn isn't avaialable. Closes #2661. [Chad Fowler]
1422
+
1423
+ * Added script/about to display formatted Rails::Info output [Sam Stephenson]
1424
+
1425
+ * Added Rails::Info to catalog assorted information about a Rails application's environment [Sam Stephenson]
1426
+
1427
+ * Tail the logfile when running script/server lighttpd in the foreground [Sam Stephenson]
1428
+
1429
+ * Try to guess the port number from config/lighttpd.conf in script/server lighttpd [Sam Stephenson]
1430
+
1431
+ * Don't reap spawn-fcgi. #2727 [matthew@walker.wattle.id.au]
1432
+
1433
+ * Reaper knows how to find processes even if the dispatch path is very long. #2711 [matthew@walker.wattle.id.au]
1434
+
1435
+ * Make fcgi handler respond to TERM signals with an explicit exit [Jamis Buck]
1436
+
1437
+ * Added demonstration of fixture use to the test case generated by the model generator [David Heinemeier Hansson]
1438
+
1439
+ * If specified, pass PostgreSQL client character encoding to createdb. #2703 [Kazuhiko <kazuhiko@fdiary.net>]
1440
+
1441
+ * Catch CGI multipart parse errors. Wrap dispatcher internals in a failsafe response handler. [Jeremy Kemper]
1442
+
1443
+ * The freeze_gems Rake task accepts the VERSION environment variable to decide which version of Rails to pull into vendor/rails. [Chad Fowler, Jeremy Kemper]
1444
+
1445
+ * Removed script.aculo.us.js, builder.js and slider.js (preperation for move of scriptaculous extensions to plugins, core scriptaculous will remain in Railties) [Thomas Fuchs]
1446
+
1447
+ * The freeze_edge Rake task does smarter svn detection and can export a specific revision by passing the REVISION environment variable. For example: rake freeze_edge REVISION=1234. #2663 [Rick Olson]
1448
+
1449
+ * Comment database.yml and include PostgreSQL and SQLite examples. [Jeremy Kemper]
1450
+
1451
+ * Improve script/plugin on Windows. #2646 [Chad Fowler]
1452
+
1453
+ * The *_plugindoc Rake tasks look deeper into the plugins' lib directories. #2652 [bellis@deepthought.org]
1454
+
1455
+ * The PostgreSQL :db_structure_dump Rake task limits its dump to the schema search path in database.yml. [Anatol Pomozov <anatol.pomozov@gmail.com>]
1456
+
1457
+ * Add task to generate rdoc for all installed plugins. [Marcel Molina Jr.]
1458
+
1459
+ * Update script.aculo.us to V1.5_rc4 [Thomas Fuchs]
1460
+
1461
+ * Add default Mac + DarwinPorts MySQL socket locations to the app generator. [Jeremy Kemper]
1462
+
1463
+ * Migrations may be destroyed: script/destroy migration foo. #2635 [Charles M. Gerungan <charles.gerungan@gmail.com>, Jamis Buck, Jeremy Kemper]
1464
+
1465
+ * Added that plugins can carry generators and that generator stub files can be created along with new plugins using script/generate plugin <name> --with-generator [David Heinemeier Hansson]
1466
+
1467
+ * Removed app/apis as a default empty dir since its automatically created when using script/generate web_service [David Heinemeier Hansson]
1468
+
1469
+ * Added script/plugin to manage plugins (install, remove, list, etc) [Ryan Tomayko]
1470
+
1471
+ * Added test_plugins task: Run the plugin tests in vendor/plugins/**/test (or specify with PLUGIN=name) [David Heinemeier Hansson]
1472
+
1473
+ * Added plugin generator to create a stub structure for a new plugin in vendor/plugins (see "script/generate plugin" for help) [David Heinemeier Hansson]
1474
+
1475
+ * Fixed scaffold generator when started with only 1 parameter #2609 [self@mattmower.com]
1476
+
1477
+ * rake should run functional tests even if the unit tests have failures [Jim Weirich]
1478
+
1479
+ * Back off cleanpath to be symlink friendly. Closes #2533 [Nicholas Seckar]
1480
+
1481
+ * Load rake task files in alphabetical order so you can build dependencies and count on them #2554 [Blair Zajac]
1482
+
1483
+
1484
+ *0.14.2 (RC3)* (October 26th, 2005)
1485
+
1486
+ * Constants set in the development/test/production environment file are set in Object
1487
+
1488
+ * Scaffold generator pays attention to the controller name. #2562 [self@mattmower.com]
1489
+
1490
+ * Include tasks from vendor/plugins/*/tasks in the Rakefile #2545 [Rick Olson]
1491
+
1492
+
1493
+ *0.14.1 (RC2)* (October 19th, 2005)
1494
+
1495
+ * Don't clean RAILS_ROOT on windows
1496
+
1497
+ * Remove trailing '/' from RAILS_ROOT [Nicholas Seckar]
1498
+
1499
+ * Upgraded to Active Record 1.12.1 and Action Pack 1.10.1
1500
+
1501
+
1502
+ *0.14.0 (RC1)* (October 16th, 2005)
1503
+
1504
+ * Moved generator folder from RAILS_ROOT/generators to RAILS_ROOT/lib/generators [Tobias Lütke]
1505
+
1506
+ * Fix rake dev and related commands [Nicholas Seckar]
1507
+
1508
+ * The rails command tries to deduce your MySQL socket by running `mysql_config
1509
+ --socket`. If it fails, default to /path/to/your/mysql.sock
1510
+
1511
+ * Made the rails command use the application name for database names in the tailored database.yml file. Example: "rails ~/projects/blog" will use "blog_development" instead of "rails_development". [Florian Weber]
1512
+
1513
+ * Added Rails framework freezing tasks: freeze_gems (freeze to current gems), freeze_edge (freeze to Rails SVN trunk), unfreeze_rails (float with newest gems on system)
1514
+
1515
+ * Added update_javascripts task which will fetch all the latest js files from your current rails install. Use after updating rails. [Tobias Lütke]
1516
+
1517
+ * Added cleaning of RAILS_ROOT to useless elements such as '../non-dot-dot/'. Provides cleaner backtraces and error messages. [Nicholas Seckar]
1518
+
1519
+ * Made the instantiated/transactional fixtures settings be controlled through Rails::Initializer. Transactional and non-instantiated fixtures are default from now on. [Florian Weber]
1520
+
1521
+ * Support using different database adapters for development and test with ActiveRecord::Base.schema_format = :ruby [Sam Stephenson]
1522
+
1523
+ * Make webrick work with session(:off)
1524
+
1525
+ * Add --version, -v option to the Rails command. Closes #1840. [stancell]
1526
+
1527
+ * Update Prototype to V1.4.0_pre11, script.aculo.us to V1.5_rc3 [2504] and fix the rails generator to include the new .js files [Thomas Fuchs]
1528
+
1529
+ * Make the generator skip a file if it already exists and is identical to the new file.
1530
+
1531
+ * Add experimental plugin support #2335
1532
+
1533
+ * Made Rakefile aware of new .js files in script.aculo.us [Thomas Fuchs]
1534
+
1535
+ * Make table_name and controller_name in generators honor AR::Base.pluralize_table_names. #1216 #2213 [kazuhiko@fdiary.net]
1536
+
1537
+ * Clearly label functional and unit tests in rake stats output. #2297 [lasse.koskela@gmail.com]
1538
+
1539
+ * Make the migration generator only check files ending in *.rb when calculating the next file name #2317 [Chad Fowler]
1540
+
1541
+ * Added prevention of duplicate migrations from the generator #2240 [François Beausoleil]
1542
+
1543
+ * Add db_schema_dump and db_schema_import rake tasks to work with the new ActiveRecord::SchemaDumper (for dumping a schema to and reading a schema from a ruby file).
1544
+
1545
+ * Reformed all the config/environments/* files to conform to the new Rails::Configuration approach. Fully backwards compatible.
1546
+
1547
+ * Added create_sessions_table, drop_sessions_table, and purge_sessions_table as rake tasks for databases that supports migrations (MySQL, PostgreSQL, SQLite) to get a table for use with CGI::Session::ActiveRecordStore
1548
+
1549
+ * Added dump of schema version to the db_structure_dump task for databases that support migrations #1835 [Rick Olson]
1550
+
1551
+ * Fixed script/profiler for Ruby 1.8.2 #1863 [Rick Olson]
1552
+
1553
+ * Fixed clone_structure_to_test task for SQLite #1864 [jon@burningbush.us]
1554
+
1555
+ * Added -m/--mime-types option to the WEBrick server, so you can specify a Apache-style mime.types file to load #2059 [ask@develooper.com]
1556
+
1557
+ * Added -c/--svn option to the generator that'll add new files and remove destroyed files using svn add/revert/remove as appropriate #2064 [Kevin Clark]
1558
+
1559
+ * Added -c/--charset option to WEBrick server, so you can specify a default charset (which without changes is UTF-8) #2084 [wejn@box.cz]
1560
+
1561
+ * Make the default stats task extendable by modifying the STATS_DIRECTORIES constant
1562
+
1563
+ * Allow the selected environment to define RAILS_DEFAULT_LOGGER, and have Rails::Initializer use it if it exists.
1564
+
1565
+ * Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is empty and doesn't require updating.
1566
+
1567
+ * Added Rails::Initializer and Rails::Configuration to abstract all of the common setup out of config/environment.rb (uses config/boot.rb to bootstrap the initializer and paths)
1568
+
1569
+ * Fixed the scaffold generator to fail right away if the database isn't accessible instead of in mid-air #1169 [Chad Fowler]
1570
+
1571
+ * Corrected project-local generator location in scripts.rb #2010 [Michael Schuerig]
1572
+
1573
+ * Don't require the environment just to clear the logs #2093 [Scott Barron]
1574
+
1575
+ * Make the default rakefile read *.rake files from config/tasks (for easy extension of the rakefile by e.g. generators)
1576
+
1577
+ * Only load breakpoint in development mode and when BREAKPOINT_SERVER_PORT is defined.
1578
+
1579
+ * Allow the --toggle-spin switch on process/reaper to be negated
1580
+
1581
+ * Replace render_partial with render :partial in scaffold generator [Nicholas Seckar]
1582
+
1583
+ * Added -w flag to ps in process/reaper #1934 [Scott Barron]
1584
+
1585
+ * Allow ERb in the database.yml file (just like with fixtures), so you can pull out the database configuration in environment variables #1822 [Duane Johnson]
1586
+
1587
+ * Added convenience controls for FCGI processes (especially when managed remotely): spinner, spawner, and reaper. They reside in script/process. More details can be had by calling them with -h/--help.
1588
+
1589
+ * Added load_fixtures task to the Rakefile, which will load all the fixtures into the database for the current environment #1791 [Marcel Molina Jr.]
1590
+
1591
+ * Added an empty robots.txt to public/, so that web servers asking for it won't trigger a dynamic call, like favicon.ico #1738 [Michael Schubert]
1592
+
1593
+ * Dropped the 'immediate close-down' of FCGI processes since it didn't work consistently and produced bad responses when it didn't. So now a TERM ensures exit after the next request (just as if the process is handling a request when it receives the signal). This means that you'll have to 'nudge' all FCGI processes with a request in order to ensure that they have all reloaded. This can be done by something like ./script/process/repear --nudge 'http://www.myapp.com' --instances 10, which will load the myapp site 10 times (and thus hit all of the 10 FCGI processes once, enough to shut down).
1594
+
1595
+
1596
+ *0.13.1* (11 July, 2005)
1597
+
1598
+ * Look for app-specific generators in RAILS_ROOT/generators rather than the clunky old RAILS_ROOT/script/generators. Nobody really uses this feature except for the unit tests, so it's a negligible-impact change. If you want to work with third-party generators, drop them in ~/.rails/generators or simply install gems.
1599
+
1600
+ * Fixed that each request with the WEBrick adapter would open a new database connection #1685 [Sam Stephenson]
1601
+
1602
+ * Added support for SQL Server in the database rake tasks #1652 [Ken Barker] Note: osql and scptxfr may need to be installed on your development environment. This involves getting the .exes and a .rll (scptxfr) from a production SQL Server (not developer level SQL Server). Add their location to your Environment PATH and you are all set.
1603
+
1604
+ * Added a VERSION parameter to the migrate task that allows you to do "rake migrate VERSION=34" to migrate to the 34th version traveling up or down depending on the current version
1605
+
1606
+ * Extend Ruby version check to include RUBY_RELEASE_DATE >= '2005-12-25', the final Ruby 1.8.2 release #1674 [court3nay]
1607
+
1608
+ * Improved documentation for environment config files #1625 [court3nay]
1609
+
1610
+
1611
+ *0.13.0* (6 July, 2005)
1612
+
1613
+ * Changed the default logging level in config/environment.rb to INFO for production (so SQL statements won't be logged)
1614
+
1615
+ * Added migration generator: ./script/generate migration add_system_settings
1616
+
1617
+ * Added "migrate" as rake task to execute all the pending migrations from db/migrate
1618
+
1619
+ * Fixed that model generator would make fixtures plural, even if ActiveRecord::Base.pluralize_table_names was false #1185 [Marcel Molina Jr.]
1620
+
1621
+ * Added a DOCTYPE of HTML transitional to the HTML files generated by Rails #1124 [Michael Koziarski]
1622
+
1623
+ * SIGTERM also gracefully exits dispatch.fcgi. Ignore SIGUSR1 on Windows.
1624
+
1625
+ * Add the option to manually manage garbage collection in the FastCGI dispatcher. Set the number of requests between GC runs in your public/dispatch.fcgi [Stefan Kaes]
1626
+
1627
+ * Allow dynamic application reloading for dispatch.fcgi processes by sending a SIGHUP. If the process is currently handling a request, the request will be allowed to complete first. This allows production fcgi's to be reloaded without having to restart them.
1628
+
1629
+ * RailsFCGIHandler (dispatch.fcgi) no longer tries to explicitly flush $stdout (CgiProcess#out always calls flush)
1630
+
1631
+ * Fixed rakefile actions against PostgreSQL when the password is all numeric #1462 [Michael Schubert]
1632
+
1633
+ * ActionMailer::Base subclasses are reloaded with the other rails components #1262
1634
+
1635
+ * Made the WEBrick adapter not use a mutex around action performance if ActionController::Base.allow_concurrency is true (default is false)
1636
+
1637
+ * Fixed that mailer generator generated fixtures/plural while units expected fixtures/singular #1457 [Scott Barron]
1638
+
1639
+ * Added a 'whiny nil' that's aim to ensure that when users pass nil to methods where that isn't appropriate, instead of NoMethodError? and the name of some method used by the framework users will see a message explaining what type of object was expected. Only active in test and development environments by default #1209 [Michael Koziarski]
1640
+
1641
+ * Fixed the test_helper.rb to be safe for requiring controllers from multiple spots, like app/controllers/article_controller.rb and app/controllers/admin/article_controller.rb, without reloading the environment twice #1390 [Nicholas Seckar]
1642
+
1643
+ * Fixed Webrick to escape + characters in URL's the same way that lighttpd and apache do #1397 [Nicholas Seckar]
1644
+
1645
+ * Added -e/--environment option to script/runner #1408 [François Beausoleil]
1646
+
1647
+ * Modernize the scaffold generator to use the simplified render and test methods and to change style from @params["id"] to params[:id]. #1367
1648
+
1649
+ * Added graceful exit from pressing CTRL-C during the run of the rails command #1150 [Caleb Tennis]
1650
+
1651
+ * Allow graceful exits for dispatch.fcgi processes by sending a SIGUSR1. If the process is currently handling a request, the request will be allowed to complete and then will terminate itself. If a request is not being handled, the process is terminated immediately (via #exit). This basically works like restart graceful on Apache. [Jamis Buck]
1652
+
1653
+ * Made dispatch.fcgi more robust by catching fluke errors and retrying unless its a permanent condition. [Jamis Buck]
1654
+
1655
+ * Added console --profile for profiling an IRB session #1154 [Jeremy Kemper]
1656
+
1657
+ * Changed console_sandbox into console --sandbox #1154 [Jeremy Kemper]
1658
+
1659
+
1660
+ *0.12.1* (20th April, 2005)
1661
+
1662
+ * Upgraded to Active Record 1.10.1, Action Pack 1.8.1, Action Mailer 0.9.1, Action Web Service 0.7.1
1663
+
1664
+
1665
+ *0.12.0* (19th April, 2005)
1666
+
1667
+ * Fixed that purge_test_database would use database settings from the development environment when recreating the test database #1122 [rails@cogentdude.com]
1668
+
1669
+ * Added script/benchmarker to easily benchmark one or more statement a number of times from within the environment. Examples:
1670
+
1671
+ # runs the one statement 10 times
1672
+ script/benchmarker 10 'Person.expensive_method(10)'
1673
+
1674
+ # pits the two statements against each other with 50 runs each
1675
+ script/benchmarker 50 'Person.expensive_method(10)' 'Person.cheap_method(10)'
1676
+
1677
+ * Added script/profiler to easily profile a single statement from within the environment. Examples:
1678
+
1679
+ script/profiler 'Person.expensive_method(10)'
1680
+ script/profiler 'Person.expensive_method(10)' 10 # runs the statement 10 times
1681
+
1682
+ * Added Rake target clear_logs that'll truncate all the *.log files in log/ to zero #1079 [Lucas Carlson]
1683
+
1684
+ * Added lazy typing for generate, such that ./script/generate cn == ./script/generate controller and the likes #1051 [k@v2studio.com]
1685
+
1686
+ * Fixed that ownership is brought over in pg_dump during tests for PostgreSQL #1060 [pburleson]
1687
+
1688
+ * Upgraded to Active Record 1.10.0, Action Pack 1.8.0, Action Mailer 0.9.0, Action Web Service 0.7.0, Active Support 1.0.4
1689
+
1690
+
1691
+ *0.11.1* (27th March, 2005)
1692
+
1693
+ * Fixed the dispatch.fcgi use of a logger
1694
+
1695
+ * Upgraded to Active Record 1.9.1, Action Pack 1.7.0, Action Mailer 0.8.1, Action Web Service 0.6.2, Active Support 1.0.3
1696
+
1697
+
1698
+ *0.11.0* (22th March, 2005)
1699
+
1700
+ * Removed SCRIPT_NAME from the WEBrick environment to prevent conflicts with PATH_INFO #896 [Nicholas Seckar]
1701
+
1702
+ * Removed ?$1 from the dispatch.f/cgi redirect line to get rid of 'complete/path/from/request.html' => nil being in the @params now that the ENV["REQUEST_URI"] is used to determine the path #895 [dblack/Nicholas Seckar]
1703
+
1704
+ * Added additional error handling to the FastCGI dispatcher to catch even errors taking down the entire process
1705
+
1706
+ * Improved the generated scaffold code a lot to take advantage of recent Rails developments #882 [Tobias Lütke]
1707
+
1708
+ * Combined the script/environment.rb used for gems and regular files version. If vendor/rails/* has all the frameworks, then files version is used, otherwise gems #878 [Nicholas Seckar]
1709
+
1710
+ * Changed .htaccess to allow dispatch.* to be called from a sub-directory as part of the push with Action Pack to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Lütke]
1711
+
1712
+ * Added script/runner which can be used to run code inside the environment by eval'ing the first parameter. Examples:
1713
+
1714
+ ./script/runner 'ReminderService.deliver'
1715
+ ./script/runner 'Mailer.receive(STDIN.read)'
1716
+
1717
+ This makes it easier to do CRON and postfix scripts without actually making a script just to trigger 1 line of code.
1718
+
1719
+ * Fixed webrick_server cookie handling to allow multiple cookes to be set at once #800, #813 [dave@cherryville.org]
1720
+
1721
+ * Fixed the Rakefile's interaction with postgresql to:
1722
+
1723
+ 1. Use PGPASSWORD and PGHOST in the environment to fix prompting for
1724
+ passwords when connecting to a remote db and local socket connections.
1725
+ 2. Add a '-x' flag to pg_dump which stops it dumping privileges #807 [rasputnik]
1726
+ 3. Quote the user name and use template0 when dumping so the functions doesn't get dumped too #855 [pburleson]
1727
+ 4. Use the port if available #875 [madrobby]
1728
+
1729
+ * Upgraded to Active Record 1.9.0, Action Pack 1.6.0, Action Mailer 0.8.0, Action Web Service 0.6.1, Active Support 1.0.2
1730
+
1731
+
1732
+ *0.10.1* (7th March, 2005)
1733
+
1734
+ * Fixed rake stats to ignore editor backup files like model.rb~ #791 [Sebastian Kanthak]
1735
+
1736
+ * Added exception shallowing if the DRb server can't be started (not worth making a fuss about to distract new users) #779 [Tobias Lütke]
1737
+
1738
+ * Added an empty favicon.ico file to the public directory of new applications (so the logs are not spammed by its absence)
1739
+
1740
+ * Fixed that scaffold generator new template should use local variable instead of instance variable #778 [Dan Peterson]
1741
+
1742
+ * Allow unit tests to run on a remote server for PostgreSQL #781 [adamm@galacticasoftware.com]
1743
+
1744
+ * Added web_service generator (run ./script/generate web_service for help) #776 [Leon Bredt]
1745
+
1746
+ * Added app/apis and components to code statistics report #729 [Scott Barron]
1747
+
1748
+ * Fixed WEBrick server to use ABSOLUTE_RAILS_ROOT instead of working_directory #687 [Nicholas Seckar]
1749
+
1750
+ * Fixed rails_generator to be usable without RubyGems #686 [Cristi BALAN]
1751
+
1752
+ * Fixed -h/--help for generate and destroy generators #331
1753
+
1754
+ * Added begin/rescue around the FCGI dispatcher so no uncaught exceptions can bubble up to kill the process (logs to log/fastcgi.crash.log)
1755
+
1756
+ * Fixed that association#count would produce invalid sql when called sequentialy #659 [kanis@comcard.de]
1757
+
1758
+ * Fixed test/mocks/testing to the correct test/mocks/test #740
1759
+
1760
+ * Added early failure if the Ruby version isn't 1.8.2 or above #735
1761
+
1762
+ * Removed the obsolete -i/--index option from the WEBrick servlet #743
1763
+
1764
+ * Upgraded to Active Record 1.8.0, Action Pack 1.5.1, Action Mailer 0.7.1, Action Web Service 0.6.0, Active Support 1.0.1
1765
+
1766
+
1767
+ *0.10.0* (24th February, 2005)
1768
+
1769
+ * Changed default IP binding for WEBrick from 127.0.0.1 to 0.0.0.0 so that the server is accessible both locally and remotely #696 [Marcel Molina Jr.]
1770
+
1771
+ * Fixed that script/server -d was broken so daemon mode couldn't be used #687 [Nicholas Seckar]
1772
+
1773
+ * Upgraded to breakpoint 92 which fixes:
1774
+
1775
+ * overload IRB.parse_opts(), fixes #443
1776
+ => breakpoints in tests work even when running them via rake
1777
+ * untaint handlers, might fix an issue discussed on the Rails ML
1778
+ * added verbose mode to breakpoint_client
1779
+ * less noise caused by breakpoint_client by default
1780
+ * ignored TerminateLineInput exception in signal handler
1781
+ => quiet exit on Ctrl-C
1782
+
1783
+ * Added support for independent components residing in /components. Example:
1784
+
1785
+ Controller: components/list/items_controller.rb
1786
+ (holds a List::ItemsController class with uses_component_template_root called)
1787
+
1788
+ Model : components/list/item.rb
1789
+ (namespace is still shared, so an Item model in app/models will take precedence)
1790
+
1791
+ Views : components/list/items/show.rhtml
1792
+
1793
+
1794
+ * Added --sandbox option to script/console that'll roll back all changes made to the database when you quit #672 [Jeremy Kemper]
1795
+
1796
+ * Added 'recent' as a rake target that'll run tests for files that changed in the last 10 minutes #612 [Jeremy Kemper]
1797
+
1798
+ * Changed script/console to default to development environment and drop --no-inspect #650 [Jeremy Kemper]
1799
+
1800
+ * Added that the 'fixture :posts' syntax can be used for has_and_belongs_to_many fixtures where a model doesn't exist #572 [Jeremy Kemper]
1801
+
1802
+ * Added that running test_units and test_functional now performs the clone_structure_to_test as well #566 [rasputnik]
1803
+
1804
+ * Added new generator framework that informs about its doings on generation and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [Jeremy Kemper]
1805
+
1806
+ * Added Action Web Service as a new add-on framework for Action Pack [Leon Bredt]
1807
+
1808
+ * Added Active Support as an independent utility and standard library extension bundle
1809
+
1810
+ * Upgraded to Active Record 1.7.0, Action Pack 1.5.0, Action Mailer 0.7.0
1811
+
1812
+
1813
+ *0.9.5* (January 25th, 2005)
1814
+
1815
+ * Fixed dependency reloading by switching to a remove_const approach where all Active Records, Active Record Observers, and Action Controllers are reloading by undefining their classes. This enables you to remove methods in all three types and see the change reflected immediately and it fixes #539. This also means that only those three types of classes will benefit from the const_missing and reloading approach. If you want other classes (like some in lib/) to reload, you must use require_dependency to do it.
1816
+
1817
+ * Added Florian Gross' latest version of Breakpointer and friends that fixes a variaty of bugs #441 [Florian Gross]
1818
+
1819
+ * Fixed skeleton Rakefile to work with sqlite3 out of the box #521 [rasputnik]
1820
+
1821
+ * Fixed that script/breakpointer didn't get the Ruby path rewritten as the other scripts #523 [brandt@kurowski.net]
1822
+
1823
+ * Fixed handling of syntax errors in models that had already been succesfully required once in the current interpreter
1824
+
1825
+ * Fixed that models that weren't referenced in associations weren't being reloaded in the development mode by reinstating the reload
1826
+
1827
+ * Fixed that generate scaffold would produce bad functional tests
1828
+
1829
+ * Fixed that FCGI can also display SyntaxErrors
1830
+
1831
+ * Upgraded to Active Record 1.6.0, Action Pack 1.4.0
1832
+
1833
+
1834
+ *0.9.4.1* (January 18th, 2005)
1835
+
1836
+ * Added 5-second timeout to WordNet alternatives on creating reserved-word models #501 [Marcel Molina Jr.]
1837
+
1838
+ * Fixed binding of caller #496 [Alexey]
1839
+
1840
+ * Upgraded to Active Record 1.5.1, Action Pack 1.3.1, Action Mailer 0.6.1
1841
+
1842
+
1843
+ *0.9.4* (January 17th, 2005)
1844
+
1845
+ * Added that ApplicationController will catch a ControllerNotFound exception if someone attempts to access a url pointing to an unexisting controller [Tobias Lütke]
1846
+
1847
+ * Flipped code-to-test ratio around to be more readable #468 [Scott Baron]
1848
+
1849
+ * Fixed log file permissions to be 666 instead of 777 (so they're not executable) #471 [Lucas Carlson]
1850
+
1851
+ * Fixed that auto reloading would some times not work or would reload the models twice #475 [Tobias Lütke]
1852
+
1853
+ * Added rewrite rules to deal with caching to public/.htaccess
1854
+
1855
+ * Added the option to specify a controller name to "generate scaffold" and made the default controller name the plural form of the model.
1856
+
1857
+ * Added that rake clone_structure_to_test, db_structure_dump, and purge_test_database tasks now pick up the source database to use from
1858
+ RAILS_ENV instead of just forcing development #424 [Tobias Lütke]
1859
+
1860
+ * Fixed script/console to work with Windows (that requires the use of irb.bat) #418 [Chris McGrath]
1861
+
1862
+ * Fixed WEBrick servlet slowdown over time by restricting the load path reloading to mod_ruby
1863
+
1864
+ * Removed Fancy Indexing as a default option on the WEBrick servlet as it made it harder to use various caching schemes
1865
+
1866
+ * Upgraded to Active Record 1.5, Action Pack 1.3, Action Mailer 0.6
1867
+
1868
+
1869
+ *0.9.3* (January 4th, 2005)
1870
+
1871
+ * Added support for SQLite in the auto-dumping/importing of schemas for development -> test #416
1872
+
1873
+ * Added automated rewriting of the shebang lines on installs through the gem rails command #379 [Manfred Stienstra]
1874
+
1875
+ * Added ActionMailer::Base.deliver_method = :test to the test environment so that mail objects are available in ActionMailer::Base.deliveries
1876
+ for functional testing.
1877
+
1878
+ * Added protection for creating a model through the generators with a name of an existing class, like Thread or Date.
1879
+ It'll even offer you a synonym using wordnet.princeton.edu as a look-up. No, I'm not kidding :) [Florian Gross]
1880
+
1881
+ * Fixed dependency management to happen in a unified fashion for Active Record and Action Pack using the new Dependencies module. This means that
1882
+ the environment options needs to change from:
1883
+
1884
+ Before in development.rb:
1885
+ ActionController::Base.reload_dependencies = true  
1886
+ ActiveRecord::Base.reload_associations     = true
1887
+
1888
+ Now in development.rb:
1889
+ Dependencies.mechanism = :load
1890
+
1891
+ Before in production.rb and test.rb:
1892
+ ActionController::Base.reload_dependencies = false
1893
+ ActiveRecord::Base.reload_associations     = false
1894
+
1895
+ Now in production.rb and test.rb:
1896
+ Dependencies.mechanism = :require
1897
+
1898
+ * Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #351
1899
+
1900
+ * Fixed that generated action_mailers doesnt need to require the action_mailer since thats already done in the environment #382 [Lucas Carlson]
1901
+
1902
+ * Upgraded to Action Pack 1.2.0 and Active Record 1.4.0
1903
+
1904
+
1905
+ *0.9.2*
1906
+
1907
+ * Fixed CTRL-C exists from the Breakpointer to be a clean affair without error dumping [Kent Sibilev]
1908
+
1909
+ * Fixed "rake stats" to work with sub-directories in models and controllers and to report the code to test ration [Scott Baron]
1910
+
1911
+ * Added that Active Record associations are now reloaded instead of cleared to work with the new const_missing hook in Active Record.
1912
+
1913
+ * Added graceful handling of an inaccessible log file by redirecting output to STDERR with a warning #330 [rainmkr]
1914
+
1915
+ * Added support for a -h/--help parameter in the generator #331 [Ulysses]
1916
+
1917
+ * Fixed that File.expand_path in config/environment.rb would fail when dealing with symlinked public directories [mjobin]
1918
+
1919
+ * Upgraded to Action Pack 1.1.0 and Active Record 1.3.0
1920
+
1921
+
1922
+ *0.9.1*
1923
+
1924
+ * Upgraded to Action Pack 1.0.1 for important bug fix
1925
+
1926
+ * Updated gem dependencies
1927
+
1928
+
1929
+ *0.9.0*
1930
+
1931
+ * Renamed public/dispatch.servlet to script/server -- it wasn't really dispatching anyway as its delegating calls to public/dispatch.rb
1932
+
1933
+ * Renamed AbstractApplicationController and abstract_application.rb to ApplicationController and application.rb, so that it will be possible
1934
+ for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb
1935
+
1936
+ * Added script/console that makes it even easier to start an IRB session for interacting with the domain model. Run with no-args to
1937
+ see help.
1938
+
1939
+ * Added breakpoint support through the script/breakpointer client. This means that you can break out of execution at any point in
1940
+ the code, investigate and change the model, AND then resume execution! Example:
1941
+
1942
+ class WeblogController < ActionController::Base
1943
+ def index
1944
+ @posts = Post.find_all
1945
+ breakpoint "Breaking out from the list"
1946
+ end
1947
+ end
1948
+
1949
+ So the controller will accept the action, run the first line, then present you with a IRB prompt in the breakpointer window.
1950
+ Here you can do things like:
1951
+
1952
+ Executing breakpoint "Breaking out from the list" at .../webrick_server.rb:16 in 'breakpoint'
1953
+
1954
+ >> @posts.inspect
1955
+ => "[#<Post:0x14a6be8 @attributes={\"title\"=>nil, \"body\"=>nil, \"id\"=>\"1\"}>,
1956
+ #<Post:0x14a6620 @attributes={\"title\"=>\"Rails you know!\", \"body\"=>\"Only ten..\", \"id\"=>\"2\"}>]"
1957
+ >> @posts.first.title = "hello from a breakpoint"
1958
+ => "hello from a breakpoint"
1959
+
1960
+ ...and even better is that you can examine how your runtime objects actually work:
1961
+
1962
+ >> f = @posts.first
1963
+ => #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>
1964
+ >> f.
1965
+ Display all 152 possibilities? (y or n)
1966
+
1967
+ Finally, when you're ready to resume execution, you press CTRL-D
1968
+
1969
+ * Changed environments to be configurable through an environment variable. By default, the environment is "development", but you
1970
+ can change that and set your own by configuring the Apache vhost with a string like (mod_env must be available on the server):
1971
+
1972
+ SetEnv RAILS_ENV production
1973
+
1974
+ ...if you're using WEBrick, you can pick the environment to use with the command-line parameters -e/--environment, like this:
1975
+
1976
+ ruby public/dispatcher.servlet -e production
1977
+
1978
+ * Added a new default environment called "development", which leaves the production environment to be tuned exclusively for that.
1979
+
1980
+ * Added a start_server in the root of the Rails application to make it even easier to get started
1981
+
1982
+ * Fixed public/.htaccess to use RewriteBase and share the same rewrite rules for all the dispatch methods
1983
+
1984
+ * Fixed webrick_server to handle requests in a serialized manner (the Rails reloading infrastructure is not thread-safe)
1985
+
1986
+ * Added support for controllers in directories. So you can have:
1987
+
1988
+ app/controllers/account_controller.rb # URL: /account/
1989
+ app/controllers/admin/account_controller.rb # URL: /admin/account/
1990
+
1991
+ NOTE: You need to update your public/.htaccess with the new rules to pick it up
1992
+
1993
+ * Added reloading for associations and dependencies under cached environments like FastCGI and mod_ruby. This makes it possible to use
1994
+ those environments for development. This is turned on by default, but can be turned off with
1995
+ ActiveRecord::Base.reload_associations = false and ActionController::Base.reload_dependencies = false in production environments.
1996
+
1997
+ * Added support for sub-directories in app/models. So now you can have something like Basecamp with:
1998
+
1999
+ app/models/accounting
2000
+ app/models/project
2001
+ app/models/participants
2002
+ app/models/settings
2003
+
2004
+ It's poor man's namespacing, but only for file-system organization. You still require files just like before.
2005
+ Nothing changes inside the files themselves.
2006
+
2007
+
2008
+ * Fixed a few references in the tests generated by new_mailer [Jeremy Kemper]
2009
+
2010
+ * Added support for mocks in testing with test/mocks
2011
+
2012
+ * Cleaned up the environments a bit and added global constant RAILS_ROOT
2013
+
2014
+
2015
+ *0.8.5* (9)
2016
+
2017
+ * Made dev-util available to all tests, so you can insert breakpoints in any test case to get an IRB prompt at that point [Jeremy Kemper]:
2018
+
2019
+ def test_complex_stuff
2020
+ @david.projects << @new_project
2021
+ breakpoint "Let's have a closer look at @david"
2022
+ end
2023
+
2024
+ You need to install dev-utils yourself for this to work ("gem install dev-util").
2025
+
2026
+ * Added shared generator behavior so future upgrades should be possible without manually copying over files [Jeremy Kemper]
2027
+
2028
+ * Added the new helper style to both controller and helper templates [Jeremy Kemper]
2029
+
2030
+ * Added new_crud generator for creating a model and controller at the same time with explicit scaffolding [Jeremy Kemper]
2031
+
2032
+ * Added configuration of Test::Unit::TestCase.fixture_path to test_helper to concide with the new AR fixtures style
2033
+
2034
+ * Fixed that new_model was generating singular table/fixture names
2035
+
2036
+ * Upgraded to Action Mailer 0.4.0
2037
+
2038
+ * Upgraded to Action Pack 0.9.5
2039
+
2040
+ * Upgraded to Active Record 1.1.0
2041
+
2042
+
2043
+ *0.8.0 (15)*
2044
+
2045
+ * Removed custom_table_name option for new_model now that the Inflector is as powerful as it is
2046
+
2047
+ * Changed the default rake action to just do testing and separate API generation and coding statistics into a "doc" task.
2048
+
2049
+ * Fixed WEBrick dispatcher to handle missing slashes in the URLs gracefully [alexey]
2050
+
2051
+ * Added user option for all postgresql tool calls in the rakefile [elvstone]
2052
+
2053
+ * Fixed problem with running "ruby public/dispatch.servlet" instead of "cd public; ruby dispatch.servlet" [alexey]
2054
+
2055
+ * Fixed WEBrick server so that it no longer hardcodes the ruby interpreter used to "ruby" but will get the one used based
2056
+ on the Ruby runtime configuration. [Marcel Molina Jr.]
2057
+
2058
+ * Fixed Dispatcher so it'll route requests to magic_beans to MagicBeansController/magic_beans_controller.rb [Caio Chassot]
2059
+
2060
+ * "new_controller MagicBeans" and "new_model SubscriptionPayments" will now both behave properly as they use the new Inflector.
2061
+
2062
+ * Fixed problem with MySQL foreign key constraint checks in Rake :clone_production_structure_to_test target [Andreas Schwarz]
2063
+
2064
+ * Changed WEBrick server to by default be auto-reloading, which is slower but makes source changes instant.
2065
+ Class compilation cache can be turned on with "-c" or "--cache-classes".
2066
+
2067
+ * Added "-b/--binding" option to WEBrick dispatcher to bind the server to a specific IP address (default: 127.0.0.1) [Kevin Temp]
2068
+
2069
+ * dispatch.fcgi now DOESN'T set FCGI_PURE_RUBY as it was slowing things down for now reason [Andreas Schwarz]
2070
+
2071
+ * Added new_mailer generator to work with Action Mailer
2072
+
2073
+ * Included new framework: Action Mailer 0.3
2074
+
2075
+ * Upgraded to Action Pack 0.9.0
2076
+
2077
+ * Upgraded to Active Record 1.0.0
2078
+
2079
+
2080
+ *0.7.0*
2081
+
2082
+ * Added an optional second argument to the new_model script that allows the programmer to specify the table name,
2083
+ which will used to generate a custom table_name method in the model and will also be used in the creation of fixtures.
2084
+ [Kevin Radloff]
2085
+
2086
+ * script/new_model now turns AccountHolder into account_holder instead of accountholder [Kevin Radloff]
2087
+
2088
+ * Fixed the faulty handleing of static files with WEBrick [Andreas Schwarz]
2089
+
2090
+ * Unified function_test_helper and unit_test_helper into test_helper
2091
+
2092
+ * Fixed bug with the automated production => test database dropping on PostgreSQL [dhawkins]
2093
+
2094
+ * create_fixtures in both the functional and unit test helper now turns off the log during fixture generation
2095
+ and can generate more than one fixture at a time. Which makes it possible for assignments like:
2096
+
2097
+ @people, @projects, @project_access, @companies, @accounts =
2098
+ create_fixtures "people", "projects", "project_access", "companies", "accounts"
2099
+
2100
+ * Upgraded to Action Pack 0.8.5 (locally-scoped variables, partials, advanced send_file)
2101
+
2102
+ * Upgraded to Active Record 0.9.5 (better table_name guessing, cloning, find_all_in_collection)
2103
+
2104
+
2105
+ *0.6.5*
2106
+
2107
+ * No longer specifies a template for rdoc, so it'll use whatever is default (you can change it in the rakefile)
2108
+
2109
+ * The new_model generator will now use the same rules for plural wordings as Active Record
2110
+ (so Category will give categories, not categorys) [Kevin Radloff]
2111
+
2112
+ * dispatch.fcgi now sets FCGI_PURE_RUBY to true to ensure that it's the Ruby version that's loaded [danp]
2113
+
2114
+ * Made the GEM work with Windows
2115
+
2116
+ * Fixed bug where mod_ruby would "forget" the load paths added when switching between controllers
2117
+
2118
+ * PostgreSQL are now supported for the automated production => test database dropping [Kevin Radloff]
2119
+
2120
+ * Errors thrown by the dispatcher are now properly handled in FCGI.
2121
+
2122
+ * Upgraded to Action Pack 0.8.0 (lots and lots and lots of fixes)
2123
+
2124
+ * Upgraded to Active Record 0.9.4 (a bunch of fixes)
2125
+
2126
+
2127
+ *0.6.0*
2128
+
2129
+ * Added AbstractionApplicationController as a superclass for all controllers generated. This class can be used
2130
+ to carry filters and methods that are to be shared by all. It has an accompanying ApplicationHelper that all
2131
+ controllers will also automatically have available.
2132
+
2133
+ * Added environments that can be included from any script to get the full Active Record and Action Controller
2134
+ context running. This can be used by maintenance scripts or to interact with the model through IRB. Example:
2135
+
2136
+ require 'config/environments/production'
2137
+
2138
+ for account in Account.find_all
2139
+ account.recalculate_interests
2140
+ end
2141
+
2142
+ A short migration script for an account model that had it's interest calculation strategy changed.
2143
+
2144
+ * Accessing the index of a controller with "/weblog" will now redirect to "/weblog/" (only on Apache, not WEBrick)
2145
+
2146
+ * Simplified the default Apache config so even remote requests are served off CGI as a default.
2147
+ You'll now have to do something specific to activate mod_ruby and FCGI (like using the force urls).
2148
+ This should make it easier for new comers that start on an external server.
2149
+
2150
+ * Added more of the necessary Apache options to .htaccess to make it easier to setup
2151
+
2152
+ * Upgraded to Action Pack 0.7.9 (lots of fixes)
2153
+
2154
+ * Upgraded to Active Record 0.9.3 (lots of fixes)
2155
+
2156
+
2157
+ *0.5.7*
2158
+
2159
+ * Fixed bug in the WEBrick dispatcher that prevented it from getting parameters from the URL
2160
+ (through GET requests or otherwise)
2161
+
2162
+ * Added lib in root as a place to store app specific libraries
2163
+
2164
+ * Added lib and vendor to load_path, so anything store within can be loaded directly.
2165
+ Hence lib/redcloth.rb can be loaded with require "redcloth"
2166
+
2167
+ * Upgraded to Action Pack 0.7.8 (lots of fixes)
2168
+
2169
+ * Upgraded to Active Record 0.9.2 (minor upgrade)
2170
+
2171
+
2172
+ *0.5.6*
2173
+
2174
+ * Upgraded to Action Pack 0.7.7 (multipart form fix)
2175
+
2176
+ * Updated the generated template stubs to valid XHTML files
2177
+
2178
+ * Ensure that controllers generated are capitalized, so "new_controller TodoLists"
2179
+ gives the same as "new_controller Todolists" and "new_controller todolists".
2180
+
2181
+
2182
+ *0.5.5*
2183
+
2184
+ * Works on Windows out of the box! (Dropped symlinks)
2185
+
2186
+ * Added webrick dispatcher: Try "ruby public/dispatch.servlet --help" [Florian Gross]
2187
+
2188
+ * Report errors about initialization to browser (instead of attempting to use uninitialized logger)
2189
+
2190
+ * Upgraded to Action Pack 0.7.6
2191
+
2192
+ * Upgraded to Active Record 0.9.1
2193
+
2194
+ * Added distinct 500.html instead of reusing 404.html
2195
+
2196
+ * Added MIT license
2197
+
2198
+
2199
+ *0.5.0*
2200
+
2201
+ * First public release