rails 2.2.2 → 3.0.0

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

Potentially problematic release.


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

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