rails 1.0.0 → 7.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 (156) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +103 -0
  3. metadata +228 -294
  4. data/CHANGELOG +0 -865
  5. data/MIT-LICENSE +0 -20
  6. data/README +0 -153
  7. data/Rakefile +0 -422
  8. data/bin/about +0 -3
  9. data/bin/breakpointer +0 -3
  10. data/bin/console +0 -3
  11. data/bin/destroy +0 -3
  12. data/bin/generate +0 -3
  13. data/bin/performance/benchmarker +0 -3
  14. data/bin/performance/profiler +0 -3
  15. data/bin/plugin +0 -3
  16. data/bin/process/reaper +0 -3
  17. data/bin/process/spawner +0 -3
  18. data/bin/process/spinner +0 -3
  19. data/bin/rails +0 -21
  20. data/bin/runner +0 -3
  21. data/bin/server +0 -3
  22. data/builtin/controllers/rails_info_controller.rb +0 -11
  23. data/configs/apache.conf +0 -40
  24. data/configs/database.yml +0 -85
  25. data/configs/empty.log +0 -0
  26. data/configs/lighttpd.conf +0 -40
  27. data/configs/routes.rb +0 -19
  28. data/dispatches/dispatch.fcgi +0 -24
  29. data/dispatches/dispatch.rb +0 -10
  30. data/dispatches/gateway.cgi +0 -97
  31. data/doc/README_FOR_APP +0 -2
  32. data/environments/boot.rb +0 -19
  33. data/environments/development.rb +0 -19
  34. data/environments/environment.rb +0 -53
  35. data/environments/production.rb +0 -19
  36. data/environments/test.rb +0 -19
  37. data/fresh_rakefile +0 -10
  38. data/helpers/application.rb +0 -4
  39. data/helpers/application_helper.rb +0 -3
  40. data/helpers/test_helper.rb +0 -28
  41. data/html/404.html +0 -8
  42. data/html/500.html +0 -8
  43. data/html/favicon.ico +0 -0
  44. data/html/images/rails.png +0 -0
  45. data/html/index.html +0 -277
  46. data/html/javascripts/controls.js +0 -750
  47. data/html/javascripts/dragdrop.js +0 -584
  48. data/html/javascripts/effects.js +0 -854
  49. data/html/javascripts/prototype.js +0 -1785
  50. data/html/robots.txt +0 -1
  51. data/lib/binding_of_caller.rb +0 -85
  52. data/lib/breakpoint.rb +0 -523
  53. data/lib/breakpoint_client.rb +0 -196
  54. data/lib/code_statistics.rb +0 -107
  55. data/lib/commands/about.rb +0 -2
  56. data/lib/commands/breakpointer.rb +0 -1
  57. data/lib/commands/console.rb +0 -23
  58. data/lib/commands/destroy.rb +0 -6
  59. data/lib/commands/generate.rb +0 -6
  60. data/lib/commands/ncgi/listener +0 -86
  61. data/lib/commands/ncgi/tracker +0 -69
  62. data/lib/commands/performance/benchmarker.rb +0 -24
  63. data/lib/commands/performance/profiler.rb +0 -34
  64. data/lib/commands/plugin.rb +0 -823
  65. data/lib/commands/process/reaper.rb +0 -130
  66. data/lib/commands/process/spawner.rb +0 -52
  67. data/lib/commands/process/spinner.rb +0 -57
  68. data/lib/commands/runner.rb +0 -27
  69. data/lib/commands/server.rb +0 -28
  70. data/lib/commands/servers/lighttpd.rb +0 -60
  71. data/lib/commands/servers/webrick.rb +0 -59
  72. data/lib/commands/update.rb +0 -4
  73. data/lib/commands.rb +0 -17
  74. data/lib/console_sandbox.rb +0 -6
  75. data/lib/dispatcher.rb +0 -99
  76. data/lib/fcgi_handler.rb +0 -189
  77. data/lib/initializer.rb +0 -553
  78. data/lib/rails_generator/base.rb +0 -203
  79. data/lib/rails_generator/commands.rb +0 -509
  80. data/lib/rails_generator/generators/applications/app/USAGE +0 -16
  81. data/lib/rails_generator/generators/applications/app/app_generator.rb +0 -140
  82. data/lib/rails_generator/generators/components/controller/USAGE +0 -30
  83. data/lib/rails_generator/generators/components/controller/controller_generator.rb +0 -38
  84. data/lib/rails_generator/generators/components/controller/templates/controller.rb +0 -10
  85. data/lib/rails_generator/generators/components/controller/templates/functional_test.rb +0 -18
  86. data/lib/rails_generator/generators/components/controller/templates/helper.rb +0 -2
  87. data/lib/rails_generator/generators/components/controller/templates/view.rhtml +0 -2
  88. data/lib/rails_generator/generators/components/mailer/USAGE +0 -18
  89. data/lib/rails_generator/generators/components/mailer/mailer_generator.rb +0 -32
  90. data/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml +0 -3
  91. data/lib/rails_generator/generators/components/mailer/templates/mailer.rb +0 -13
  92. data/lib/rails_generator/generators/components/mailer/templates/unit_test.rb +0 -37
  93. data/lib/rails_generator/generators/components/mailer/templates/view.rhtml +0 -3
  94. data/lib/rails_generator/generators/components/migration/USAGE +0 -14
  95. data/lib/rails_generator/generators/components/migration/migration_generator.rb +0 -7
  96. data/lib/rails_generator/generators/components/migration/templates/migration.rb +0 -7
  97. data/lib/rails_generator/generators/components/model/USAGE +0 -17
  98. data/lib/rails_generator/generators/components/model/model_generator.rb +0 -18
  99. data/lib/rails_generator/generators/components/model/templates/fixtures.yml +0 -5
  100. data/lib/rails_generator/generators/components/model/templates/model.rb +0 -2
  101. data/lib/rails_generator/generators/components/model/templates/unit_test.rb +0 -10
  102. data/lib/rails_generator/generators/components/plugin/USAGE +0 -33
  103. data/lib/rails_generator/generators/components/plugin/plugin_generator.rb +0 -33
  104. data/lib/rails_generator/generators/components/plugin/templates/README +0 -4
  105. data/lib/rails_generator/generators/components/plugin/templates/Rakefile +0 -22
  106. data/lib/rails_generator/generators/components/plugin/templates/USAGE +0 -8
  107. data/lib/rails_generator/generators/components/plugin/templates/generator.rb +0 -8
  108. data/lib/rails_generator/generators/components/plugin/templates/init.rb +0 -1
  109. data/lib/rails_generator/generators/components/plugin/templates/plugin.rb +0 -1
  110. data/lib/rails_generator/generators/components/plugin/templates/tasks.rake +0 -4
  111. data/lib/rails_generator/generators/components/plugin/templates/unit_test.rb +0 -8
  112. data/lib/rails_generator/generators/components/scaffold/USAGE +0 -32
  113. data/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +0 -184
  114. data/lib/rails_generator/generators/components/scaffold/templates/controller.rb +0 -54
  115. data/lib/rails_generator/generators/components/scaffold/templates/form.rhtml +0 -3
  116. data/lib/rails_generator/generators/components/scaffold/templates/form_scaffolding.rhtml +0 -1
  117. data/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb +0 -98
  118. data/lib/rails_generator/generators/components/scaffold/templates/helper.rb +0 -2
  119. data/lib/rails_generator/generators/components/scaffold/templates/layout.rhtml +0 -13
  120. data/lib/rails_generator/generators/components/scaffold/templates/style.css +0 -74
  121. data/lib/rails_generator/generators/components/scaffold/templates/view_edit.rhtml +0 -9
  122. data/lib/rails_generator/generators/components/scaffold/templates/view_list.rhtml +0 -27
  123. data/lib/rails_generator/generators/components/scaffold/templates/view_new.rhtml +0 -8
  124. data/lib/rails_generator/generators/components/scaffold/templates/view_show.rhtml +0 -8
  125. data/lib/rails_generator/generators/components/session_migration/USAGE +0 -15
  126. data/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb +0 -12
  127. data/lib/rails_generator/generators/components/session_migration/templates/migration.rb +0 -15
  128. data/lib/rails_generator/generators/components/web_service/USAGE +0 -28
  129. data/lib/rails_generator/generators/components/web_service/templates/api_definition.rb +0 -5
  130. data/lib/rails_generator/generators/components/web_service/templates/controller.rb +0 -8
  131. data/lib/rails_generator/generators/components/web_service/templates/functional_test.rb +0 -19
  132. data/lib/rails_generator/generators/components/web_service/web_service_generator.rb +0 -29
  133. data/lib/rails_generator/lookup.rb +0 -210
  134. data/lib/rails_generator/manifest.rb +0 -53
  135. data/lib/rails_generator/options.rb +0 -140
  136. data/lib/rails_generator/scripts/destroy.rb +0 -7
  137. data/lib/rails_generator/scripts/generate.rb +0 -7
  138. data/lib/rails_generator/scripts/update.rb +0 -12
  139. data/lib/rails_generator/scripts.rb +0 -83
  140. data/lib/rails_generator/simple_logger.rb +0 -46
  141. data/lib/rails_generator/spec.rb +0 -44
  142. data/lib/rails_generator.rb +0 -43
  143. data/lib/rails_info.rb +0 -104
  144. data/lib/rails_version.rb +0 -9
  145. data/lib/railties_path.rb +0 -1
  146. data/lib/rubyprof_ext.rb +0 -35
  147. data/lib/tasks/databases.rake +0 -158
  148. data/lib/tasks/documentation.rake +0 -76
  149. data/lib/tasks/framework.rake +0 -71
  150. data/lib/tasks/javascripts.rake +0 -6
  151. data/lib/tasks/misc.rake +0 -19
  152. data/lib/tasks/rails.rb +0 -8
  153. data/lib/tasks/statistics.rake +0 -16
  154. data/lib/tasks/testing.rake +0 -50
  155. data/lib/test_help.rb +0 -17
  156. data/lib/webrick_server.rb +0 -170
data/CHANGELOG DELETED
@@ -1,865 +0,0 @@
1
- *1.0.0* (December 13th, 2005)
2
-
3
- * Update to script.aculo.us 1.5.0 final (equals 1.5.0_rc6) [Thomas Fuchs]
4
-
5
- * Update to Prototype 1.4.0 final [Sam Stephenson]
6
-
7
- * Update instructions on how to find and install generators. #3172. [Chad Fowler]
8
-
9
- * Generator looks in vendor/generators also. [Chad Fowler]
10
-
11
- * Generator copies files in binary mode. #3156 [minimudboy@gmail.com]
12
-
13
-
14
- *0.14.4 (RC5)* (December 7th, 2005)
15
-
16
- * Add builtin/ to the gemspec. Closes #3047. [Nicholas Seckar, Sam Stephenson]
17
-
18
- * Run initialize_logger in script/lighttpd to ensure the log file exists before tailing it. [Sam Stephenson]
19
-
20
- * Make load_fixtures include csv fixtures. #3053. [me@mdaines.com]
21
-
22
- * Fix freeze_gems so that the latest rails version is dumped by default. [Nicholas Seckar]
23
-
24
- * Model generator: correct relative path to test_helper in unit test. [Jeremy Kemper]
25
-
26
- * Make the db_schema_dump task honor the SCHEMA environment variable if present the way db_schema_import does. #2931. [Blair Zajac]
27
-
28
- * Make help for the console command more explicit about how to specify the desired environment in which to run the console. #2911. [anonymous]
29
-
30
- * PostgreSQL: the purge_test_database Rake task shouldn't explicitly specify the template0 template when creating a fresh test database. #2964 [dreamer3@gmail.com]
31
-
32
- * Introducing the session_migration generator. Creates an add_session_table migration. Allows generator to specify migrations directory. #2958, #2960 [Rick Olson]
33
-
34
- * Update to Prototype 1.4.0_rc4. Closes #2943 (old Array.prototype.reverse behavior can be obtained by passing false as an argument). [Sam Stephenson]
35
-
36
- * Eliminate nil from newly generated logfiles. #2927 [Blair Zajac <blair@orcaware.com>]
37
-
38
- * Update to Prototype 1.4.0_rc3. Closes #1893, #2505, #2550, #2748, #2783. [Sam Stephenson]
39
-
40
- * Rename Version constant to VERSION. #2802 [Marcel Molina Jr.]
41
-
42
- * Update to latest script.aculo.us version (as of [3031])
43
-
44
- * SQLite: the clone_structure_to_test and purge_test_database Rake tasks should always use the test environment. #2846 [Rick Olson]
45
-
46
- * Make sure that legacy db tasks also reference :database for SQLite #2830 [kazuhiko@fdiary.net]
47
-
48
- * Pass __FILE__ when evaluating plugins' init.rb. #2817 [james.adam@gmail.com]
49
-
50
- * Better svn status matching for generators. #2814 [François Beausoleil <francois.beausoleil@gmail.com>, Blair Zajac <blair@orcaware.com>]
51
-
52
- * Don't reload routes until plugins have been loaded so they have a chance to extend the routing capabilities [DHH]
53
-
54
- * Don't detach or fork for script/server tailing [Nicholas Seckar]
55
-
56
- * 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]
57
-
58
- * 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
59
-
60
- * Correct versioning in :freeze_gems Rake task. #2778 [jakob@mentalized.net, Jeremy Kemper]
61
-
62
- * 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]
63
-
64
-
65
- *0.14.3 (RC4)* (November 7th, 2005)
66
-
67
- * Add 'add_new_scripts' rake task for adding new rails scripts to script/* [Jamis Buck]
68
-
69
- * Remove bogus hyphen from script/process/reaper calls to 'ps'. #2767 [anonymous]
70
-
71
- * Copy lighttpd.conf when it is first needed, instead of on app creation [Jamis Buck]
72
-
73
- * Use require_library_or_gem 'fcgi' in script/server [Sam Stephenson]
74
-
75
- * 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]
76
-
77
- * 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]
78
-
79
- * Plugins are discovered in nested paths, so you can organize your plugins directory as you like. [Jeremy Kemper]
80
-
81
- * Refactor load_plugin from load_plugins. #2757 [alex.r.moon@gmail.com]
82
-
83
- * Make use of silence_stderr in script/lighttpd, script/plugin, and Rails::Info [Sam Stephenson]
84
-
85
- * Enable HTTP installation of plugins when svn isn't avaialable. Closes #2661. [Chad Fowler]
86
-
87
- * Added script/about to display formatted Rails::Info output [Sam Stephenson]
88
-
89
- * Added Rails::Info to catalog assorted information about a Rails application's environment [Sam Stephenson]
90
-
91
- * Tail the logfile when running script/server lighttpd in the foreground [Sam Stephenson]
92
-
93
- * Try to guess the port number from config/lighttpd.conf in script/server lighttpd [Sam Stephenson]
94
-
95
- * Don't reap spawn-fcgi. #2727 [matthew@walker.wattle.id.au]
96
-
97
- * Reaper knows how to find processes even if the dispatch path is very long. #2711 [matthew@walker.wattle.id.au]
98
-
99
- * Make fcgi handler respond to TERM signals with an explicit exit [Jamis Buck]
100
-
101
- * Added demonstration of fixture use to the test case generated by the model generator [DHH]
102
-
103
- * If specified, pass PostgreSQL client character encoding to createdb. #2703 [Kazuhiko <kazuhiko@fdiary.net>]
104
-
105
- * Catch CGI multipart parse errors. Wrap dispatcher internals in a failsafe response handler. [Jeremy Kemper]
106
-
107
- * 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]
108
-
109
- * 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]
110
-
111
- * 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]
112
-
113
- * Comment database.yml and include PostgreSQL and SQLite examples. [Jeremy Kemper]
114
-
115
- * Improve script/plugin on Windows. #2646 [Chad Fowler]
116
-
117
- * The *_plugindoc Rake tasks look deeper into the plugins' lib directories. #2652 [bellis@deepthought.org]
118
-
119
- * The PostgreSQL :db_structure_dump Rake task limits its dump to the schema search path in database.yml. [Anatol Pomozov <anatol.pomozov@gmail.com>]
120
-
121
- * Add task to generate rdoc for all installed plugins. [Marcel Molina]
122
-
123
- * Update script.aculo.us to V1.5_rc4 [Thomas Fuchs]
124
-
125
- * Add default Mac + DarwinPorts MySQL socket locations to the app generator. [Jeremy Kemper]
126
-
127
- * Migrations may be destroyed: script/destroy migration foo. #2635 [Charles M. Gerungan <charles.gerungan@gmail.com>, Jamis Buck, Jeremy Kemper]
128
-
129
- * 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]
130
-
131
- * Removed app/apis as a default empty dir since its automatically created when using script/generate web_service [DHH]
132
-
133
- * Added script/plugin to manage plugins (install, remove, list, etc) [Ryan Tomayko]
134
-
135
- * Added test_plugins task: Run the plugin tests in vendor/plugins/**/test (or specify with PLUGIN=name) [DHH]
136
-
137
- * Added plugin generator to create a stub structure for a new plugin in vendor/plugins (see "script/generate plugin" for help) [DHH]
138
-
139
- * Fixed scaffold generator when started with only 1 parameter #2609 [self@mattmower.com]
140
-
141
- * rake should run functional tests even if the unit tests have failures [Jim Weirich]
142
-
143
- * Back off cleanpath to be symlink friendly. Closes #2533 [Nicholas Seckar]
144
-
145
- * Load rake task files in alphabetical order so you can build dependencies and count on them #2554 [Blair Zajac]
146
-
147
-
148
- *0.14.2 (RC3)* (October 26th, 2005)
149
-
150
- * Constants set in the development/test/production environment file are set in Object
151
-
152
- * Scaffold generator pays attention to the controller name. #2562 [self@mattmower.com]
153
-
154
- * Include tasks from vendor/plugins/*/tasks in the Rakefile #2545 [Rick Olson]
155
-
156
-
157
- *0.14.1 (RC2)* (October 19th, 2005)
158
-
159
- * Don't clean RAILS_ROOT on windows
160
-
161
- * Remove trailing '/' from RAILS_ROOT [Nicholas Seckar]
162
-
163
- * Upgraded to Active Record 1.12.1 and Action Pack 1.10.1
164
-
165
-
166
- *0.14.0 (RC1)* (October 16th, 2005)
167
-
168
- * Moved generator folder from RAILS_ROOT/generators to RAILS_ROOT/lib/generators [Tobias Luetke]
169
-
170
- * Fix rake dev and related commands [Nicholas Seckar]
171
-
172
- * The rails command tries to deduce your MySQL socket by running `mysql_config
173
- --socket`. If it fails, default to /path/to/your/mysql.sock
174
-
175
- * 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]
176
-
177
- * 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)
178
-
179
- * Added update_javascripts task which will fetch all the latest js files from your current rails install. Use after updating rails. [Tobias Luetke]
180
-
181
- * Added cleaning of RAILS_ROOT to useless elements such as '../non-dot-dot/'. Provides cleaner backtraces and error messages. [Nicholas Seckar]
182
-
183
- * Made the instantiated/transactional fixtures settings be controlled through Rails::Initializer. Transactional and non-instantiated fixtures are default from now on. [Florian Weber]
184
-
185
- * Support using different database adapters for development and test with ActiveRecord::Base.schema_format = :ruby [Sam Stephenson]
186
-
187
- * Make webrick work with session(:off)
188
-
189
- * Add --version, -v option to the Rails command. Closes #1840. [stancell]
190
-
191
- * 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]
192
-
193
- * Make the generator skip a file if it already exists and is identical to the new file.
194
-
195
- * Add experimental plugin support #2335
196
-
197
- * Made Rakefile aware of new .js files in script.aculo.us [Thomas Fuchs]
198
-
199
- * Make table_name and controller_name in generators honor AR::Base.pluralize_table_names. #1216 #2213 [kazuhiko@fdiary.net]
200
-
201
- * Clearly label functional and unit tests in rake stats output. #2297 [lasse.koskela@gmail.com]
202
-
203
- * Make the migration generator only check files ending in *.rb when calculating the next file name #2317 [Chad Fowler]
204
-
205
- * Added prevention of duplicate migrations from the generator #2240 [fbeausoleil@ftml.net]
206
-
207
- * 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).
208
-
209
- * Reformed all the config/environments/* files to conform to the new Rails::Configuration approach. Fully backwards compatible.
210
-
211
- * 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
212
-
213
- * Added dump of schema version to the db_structure_dump task for databases that support migrations #1835 [Rick Olson]
214
-
215
- * Fixed script/profiler for Ruby 1.8.2 #1863 [Rick Olson]
216
-
217
- * Fixed clone_structure_to_test task for SQLite #1864 [jon@burningbush.us]
218
-
219
- * 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]
220
-
221
- * 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]
222
-
223
- * Added -c/--charset option to WEBrick server, so you can specify a default charset (which without changes is UTF-8) #2084 [wejn@box.cz]
224
-
225
- * Make the default stats task extendable by modifying the STATS_DIRECTORIES constant
226
-
227
- * Allow the selected environment to define RAILS_DEFAULT_LOGGER, and have Rails::Initializer use it if it exists.
228
-
229
- * Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is empty and doesn't require updating.
230
-
231
- * 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)
232
-
233
- * Fixed the scaffold generator to fail right away if the database isn't accessible instead of in mid-air #1169 [Chad Fowler]
234
-
235
- * Corrected project-local generator location in scripts.rb #2010 [Michael Schuerig]
236
-
237
- * Don't require the environment just to clear the logs #2093 [Scott Barron]
238
-
239
- * Make the default rakefile read *.rake files from config/tasks (for easy extension of the rakefile by e.g. generators)
240
-
241
- * Only load breakpoint in development mode and when BREAKPOINT_SERVER_PORT is defined.
242
-
243
- * Allow the --toggle-spin switch on process/reaper to be negated
244
-
245
- * Replace render_partial with render :partial in scaffold generator [Nicholas Seckar]
246
-
247
- * Added -w flag to ps in process/reaper #1934 [Scott Barron]
248
-
249
- * 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]
250
-
251
- * 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.
252
-
253
- * Added load_fixtures task to the Rakefile, which will load all the fixtures into the database for the current environment #1791 [Marcel Molina]
254
-
255
- * 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]
256
-
257
- * 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).
258
-
259
-
260
- *0.13.1* (11 July, 2005)
261
-
262
- * 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.
263
-
264
- * Fixed that each request with the WEBrick adapter would open a new database connection #1685 [Sam Stephenson]
265
-
266
- * 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.
267
-
268
- * 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
269
-
270
- * Extend Ruby version check to include RUBY_RELEASE_DATE >= '2005-12-25', the final Ruby 1.8.2 release #1674 [court3nay@gmail.com]
271
-
272
- * Improved documentation for environment config files #1625 [court3nay@gmail.com]
273
-
274
-
275
- *0.13.0* (6 July, 2005)
276
-
277
- * Changed the default logging level in config/environment.rb to INFO for production (so SQL statements won't be logged)
278
-
279
- * Added migration generator: ./script/generate migration add_system_settings
280
-
281
- * Added "migrate" as rake task to execute all the pending migrations from db/migrate
282
-
283
- * Fixed that model generator would make fixtures plural, even if ActiveRecord::Base.pluralize_table_names was false #1185 [Marcel Molina]
284
-
285
- * Added a DOCTYPE of HTML transitional to the HTML files generated by Rails #1124 [Michael Koziarski]
286
-
287
- * SIGTERM also gracefully exits dispatch.fcgi. Ignore SIGUSR1 on Windows.
288
-
289
- * 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]
290
-
291
- * 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.
292
-
293
- * RailsFCGIHandler (dispatch.fcgi) no longer tries to explicitly flush $stdout (CgiProcess#out always calls flush)
294
-
295
- * Fixed rakefile actions against PostgreSQL when the password is all numeric #1462 [michael@schubert.cx]
296
-
297
- * ActionMailer::Base subclasses are reloaded with the other rails components #1262
298
-
299
- * Made the WEBrick adapter not use a mutex around action performance if ActionController::Base.allow_concurrency is true (default is false)
300
-
301
- * Fixed that mailer generator generated fixtures/plural while units expected fixtures/singular #1457 [Scott Barron]
302
-
303
- * 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]
304
-
305
- * 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]
306
-
307
- * Fixed Webrick to escape + characters in URL's the same way that lighttpd and apache do #1397 [Nicholas Seckar]
308
-
309
- * Added -e/--environment option to script/runner #1408 [fbeausoleil@ftml.net]
310
-
311
- * Modernize the scaffold generator to use the simplified render and test methods and to change style from @params["id"] to params[:id]. #1367
312
-
313
- * Added graceful exit from pressing CTRL-C during the run of the rails command #1150 [Caleb Tennis]
314
-
315
- * 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]
316
-
317
- * Made dispatch.fcgi more robust by catching fluke errors and retrying unless its a permanent condition. [Jamis Buck]
318
-
319
- * Added console --profile for profiling an IRB session #1154 [Jeremy Kemper]
320
-
321
- * Changed console_sandbox into console --sandbox #1154 [Jeremy Kemper]
322
-
323
-
324
- *0.12.1* (20th April, 2005)
325
-
326
- * Upgraded to Active Record 1.10.1, Action Pack 1.8.1, Action Mailer 0.9.1, Action Web Service 0.7.1
327
-
328
-
329
- *0.12.0* (19th April, 2005)
330
-
331
- * Fixed that purge_test_database would use database settings from the development environment when recreating the test database #1122 [rails@cogentdude.com]
332
-
333
- * Added script/benchmarker to easily benchmark one or more statement a number of times from within the environment. Examples:
334
-
335
- # runs the one statement 10 times
336
- script/benchmarker 10 'Person.expensive_method(10)'
337
-
338
- # pits the two statements against each other with 50 runs each
339
- script/benchmarker 50 'Person.expensive_method(10)' 'Person.cheap_method(10)'
340
-
341
- * Added script/profiler to easily profile a single statement from within the environment. Examples:
342
-
343
- script/profiler 'Person.expensive_method(10)'
344
- script/profiler 'Person.expensive_method(10)' 10 # runs the statement 10 times
345
-
346
- * Added Rake target clear_logs that'll truncate all the *.log files in log/ to zero #1079 [Lucas Carlson]
347
-
348
- * Added lazy typing for generate, such that ./script/generate cn == ./script/generate controller and the likes #1051 [k@v2studio.com]
349
-
350
- * Fixed that ownership is brought over in pg_dump during tests for PostgreSQL #1060 [pburleson@gmail.com]
351
-
352
- * 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
353
-
354
-
355
- *0.11.1* (27th March, 2005)
356
-
357
- * Fixed the dispatch.fcgi use of a logger
358
-
359
- * 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
360
-
361
-
362
- *0.11.0* (22th March, 2005)
363
-
364
- * Removed SCRIPT_NAME from the WEBrick environment to prevent conflicts with PATH_INFO #896 [Nicholas Seckar]
365
-
366
- * 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]
367
-
368
- * Added additional error handling to the FastCGI dispatcher to catch even errors taking down the entire process
369
-
370
- * Improved the generated scaffold code a lot to take advantage of recent Rails developments #882 [Tobias Luetke]
371
-
372
- * 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]
373
-
374
- * 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]
375
-
376
- * Added script/runner which can be used to run code inside the environment by eval'ing the first parameter. Examples:
377
-
378
- ./script/runner 'ReminderService.deliver'
379
- ./script/runner 'Mailer.receive(STDIN.read)'
380
-
381
- This makes it easier to do CRON and postfix scripts without actually making a script just to trigger 1 line of code.
382
-
383
- * Fixed webrick_server cookie handling to allow multiple cookes to be set at once #800, #813 [dave@cherryville.org]
384
-
385
- * Fixed the Rakefile's interaction with postgresql to:
386
-
387
- 1. Use PGPASSWORD and PGHOST in the environment to fix prompting for
388
- passwords when connecting to a remote db and local socket connections.
389
- 2. Add a '-x' flag to pg_dump which stops it dumping privileges #807 [rasputnik]
390
- 3. Quote the user name and use template0 when dumping so the functions doesn't get dumped too #855 [pburleson]
391
- 4. Use the port if available #875 [madrobby]
392
-
393
- * 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
394
-
395
-
396
- *0.10.1* (7th March, 2005)
397
-
398
- * Fixed rake stats to ignore editor backup files like model.rb~ #791 [skanthak]
399
-
400
- * Added exception shallowing if the DRb server can't be started (not worth making a fuss about to distract new users) #779 [Tobias Luetke]
401
-
402
- * Added an empty favicon.ico file to the public directory of new applications (so the logs are not spammed by its absence)
403
-
404
- * Fixed that scaffold generator new template should use local variable instead of instance variable #778 [Dan Peterson]
405
-
406
- * Allow unit tests to run on a remote server for PostgreSQL #781 [adamm@galacticasoftware.com]
407
-
408
- * Added web_service generator (run ./script/generate web_service for help) #776 [Leon Bredt]
409
-
410
- * Added app/apis and components to code statistics report #729 [Scott Barron]
411
-
412
- * Fixed WEBrick server to use ABSOLUTE_RAILS_ROOT instead of working_directory #687 [Nicholas Seckar]
413
-
414
- * Fixed rails_generator to be usable without RubyGems #686 [Cristi BALAN]
415
-
416
- * Fixed -h/--help for generate and destroy generators #331
417
-
418
- * Added begin/rescue around the FCGI dispatcher so no uncaught exceptions can bubble up to kill the process (logs to log/fastcgi.crash.log)
419
-
420
- * Fixed that association#count would produce invalid sql when called sequentialy #659 [kanis@comcard.de]
421
-
422
- * Fixed test/mocks/testing to the correct test/mocks/test #740
423
-
424
- * Added early failure if the Ruby version isn't 1.8.2 or above #735
425
-
426
- * Removed the obsolete -i/--index option from the WEBrick servlet #743
427
-
428
- * 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
429
-
430
-
431
- *0.10.0* (24th February, 2005)
432
-
433
- * 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]
434
-
435
- * Fixed that script/server -d was broken so daemon mode couldn't be used #687 [Nicholas Seckar]
436
-
437
- * Upgraded to breakpoint 92 which fixes:
438
-
439
- * overload IRB.parse_opts(), fixes #443
440
- => breakpoints in tests work even when running them via rake
441
- * untaint handlers, might fix an issue discussed on the Rails ML
442
- * added verbose mode to breakpoint_client
443
- * less noise caused by breakpoint_client by default
444
- * ignored TerminateLineInput exception in signal handler
445
- => quiet exit on Ctrl-C
446
-
447
- * Added support for independent components residing in /components. Example:
448
-
449
- Controller: components/list/items_controller.rb
450
- (holds a List::ItemsController class with uses_component_template_root called)
451
-
452
- Model : components/list/item.rb
453
- (namespace is still shared, so an Item model in app/models will take precedence)
454
-
455
- Views : components/list/items/show.rhtml
456
-
457
-
458
- * Added --sandbox option to script/console that'll roll back all changes made to the database when you quit #672 [Jeremy Kemper]
459
-
460
- * Added 'recent' as a rake target that'll run tests for files that changed in the last 10 minutes #612 [Jeremy Kemper]
461
-
462
- * Changed script/console to default to development environment and drop --no-inspect #650 [Jeremy Kemper]
463
-
464
- * 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]
465
-
466
- * Added that running test_units and test_functional now performs the clone_structure_to_test as well #566 [rasputnik]
467
-
468
- * 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]
469
-
470
- * Added Action Web Service as a new add-on framework for Action Pack [Leon Bredt]
471
-
472
- * Added Active Support as an independent utility and standard library extension bundle
473
-
474
- * Upgraded to Active Record 1.7.0, Action Pack 1.5.0, Action Mailer 0.7.0
475
-
476
-
477
- *0.9.5* (January 25th, 2005)
478
-
479
- * 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.
480
-
481
- * Added Florian Gross' latest version of Breakpointer and friends that fixes a variaty of bugs #441 [Florian Gross]
482
-
483
- * Fixed skeleton Rakefile to work with sqlite3 out of the box #521 [rasputnik]
484
-
485
- * Fixed that script/breakpointer didn't get the Ruby path rewritten as the other scripts #523 [brandt@kurowski.net]
486
-
487
- * Fixed handling of syntax errors in models that had already been succesfully required once in the current interpreter
488
-
489
- * Fixed that models that weren't referenced in associations weren't being reloaded in the development mode by reinstating the reload
490
-
491
- * Fixed that generate scaffold would produce bad functional tests
492
-
493
- * Fixed that FCGI can also display SyntaxErrors
494
-
495
- * Upgraded to Active Record 1.6.0, Action Pack 1.4.0
496
-
497
-
498
- *0.9.4.1* (January 18th, 2005)
499
-
500
- * Added 5-second timeout to WordNet alternatives on creating reserved-word models #501 [Marcel Molina]
501
-
502
- * Fixed binding of caller #496 [Alexey]
503
-
504
- * Upgraded to Active Record 1.5.1, Action Pack 1.3.1, Action Mailer 0.6.1
505
-
506
-
507
- *0.9.4* (January 17th, 2005)
508
-
509
- * Added that ApplicationController will catch a ControllerNotFound exception if someone attempts to access a url pointing to an unexisting controller [Tobias Luetke]
510
-
511
- * Flipped code-to-test ratio around to be more readable #468 [Scott Baron]
512
-
513
- * Fixed log file permissions to be 666 instead of 777 (so they're not executable) #471 [Lucas Carlson]
514
-
515
- * Fixed that auto reloading would some times not work or would reload the models twice #475 [Tobias Luetke]
516
-
517
- * Added rewrite rules to deal with caching to public/.htaccess
518
-
519
- * Added the option to specify a controller name to "generate scaffold" and made the default controller name the plural form of the model.
520
-
521
- * Added that rake clone_structure_to_test, db_structure_dump, and purge_test_database tasks now pick up the source database to use from
522
- RAILS_ENV instead of just forcing development #424 [Tobias Luetke]
523
-
524
- * Fixed script/console to work with Windows (that requires the use of irb.bat) #418 [octopod]
525
-
526
- * Fixed WEBrick servlet slowdown over time by restricting the load path reloading to mod_ruby
527
-
528
- * Removed Fancy Indexing as a default option on the WEBrick servlet as it made it harder to use various caching schemes
529
-
530
- * Upgraded to Active Record 1.5, Action Pack 1.3, Action Mailer 0.6
531
-
532
-
533
- *0.9.3* (January 4th, 2005)
534
-
535
- * Added support for SQLite in the auto-dumping/importing of schemas for development -> test #416
536
-
537
- * Added automated rewriting of the shebang lines on installs through the gem rails command #379 [Manfred Stienstra]
538
-
539
- * Added ActionMailer::Base.deliver_method = :test to the test environment so that mail objects are available in ActionMailer::Base.deliveries
540
- for functional testing.
541
-
542
- * Added protection for creating a model through the generators with a name of an existing class, like Thread or Date.
543
- It'll even offer you a synonym using wordnet.princeton.edu as a look-up. No, I'm not kidding :) [Florian Gross]
544
-
545
- * Fixed dependency management to happen in a unified fashion for Active Record and Action Pack using the new Dependencies module. This means that
546
- the environment options needs to change from:
547
-
548
- Before in development.rb:
549
- ActionController::Base.reload_dependencies = true  
550
- ActiveRecord::Base.reload_associations     = true
551
-
552
- Now in development.rb:
553
- Dependencies.mechanism = :load
554
-
555
- Before in production.rb and test.rb:
556
- ActionController::Base.reload_dependencies = false
557
- ActiveRecord::Base.reload_associations     = false
558
-
559
- Now in production.rb and test.rb:
560
- Dependencies.mechanism = :require
561
-
562
- * Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #351
563
-
564
- * Fixed that generated action_mailers doesnt need to require the action_mailer since thats already done in the environment #382 [Lucas Carlson]
565
-
566
- * Upgraded to Action Pack 1.2.0 and Active Record 1.4.0
567
-
568
-
569
- *0.9.2*
570
-
571
- * Fixed CTRL-C exists from the Breakpointer to be a clean affair without error dumping [Kent Sibilev]
572
-
573
- * Fixed "rake stats" to work with sub-directories in models and controllers and to report the code to test ration [Scott Baron]
574
-
575
- * Added that Active Record associations are now reloaded instead of cleared to work with the new const_missing hook in Active Record.
576
-
577
- * Added graceful handling of an inaccessible log file by redirecting output to STDERR with a warning #330 [rainmkr]
578
-
579
- * Added support for a -h/--help parameter in the generator #331 [Ulysses]
580
-
581
- * Fixed that File.expand_path in config/environment.rb would fail when dealing with symlinked public directories [mjobin]
582
-
583
- * Upgraded to Action Pack 1.1.0 and Active Record 1.3.0
584
-
585
-
586
- *0.9.1*
587
-
588
- * Upgraded to Action Pack 1.0.1 for important bug fix
589
-
590
- * Updated gem dependencies
591
-
592
-
593
- *0.9.0*
594
-
595
- * Renamed public/dispatch.servlet to script/server -- it wasn't really dispatching anyway as its delegating calls to public/dispatch.rb
596
-
597
- * Renamed AbstractApplicationController and abstract_application.rb to ApplicationController and application.rb, so that it will be possible
598
- for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb
599
-
600
- * Added script/console that makes it even easier to start an IRB session for interacting with the domain model. Run with no-args to
601
- see help.
602
-
603
- * Added breakpoint support through the script/breakpointer client. This means that you can break out of execution at any point in
604
- the code, investigate and change the model, AND then resume execution! Example:
605
-
606
- class WeblogController < ActionController::Base
607
- def index
608
- @posts = Post.find_all
609
- breakpoint "Breaking out from the list"
610
- end
611
- end
612
-
613
- So the controller will accept the action, run the first line, then present you with a IRB prompt in the breakpointer window.
614
- Here you can do things like:
615
-
616
- Executing breakpoint "Breaking out from the list" at .../webrick_server.rb:16 in 'breakpoint'
617
-
618
- >> @posts.inspect
619
- => "[#<Post:0x14a6be8 @attributes={\"title\"=>nil, \"body\"=>nil, \"id\"=>\"1\"}>,
620
- #<Post:0x14a6620 @attributes={\"title\"=>\"Rails you know!\", \"body\"=>\"Only ten..\", \"id\"=>\"2\"}>]"
621
- >> @posts.first.title = "hello from a breakpoint"
622
- => "hello from a breakpoint"
623
-
624
- ...and even better is that you can examine how your runtime objects actually work:
625
-
626
- >> f = @posts.first
627
- => #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>
628
- >> f.
629
- Display all 152 possibilities? (y or n)
630
-
631
- Finally, when you're ready to resume execution, you press CTRL-D
632
-
633
- * Changed environments to be configurable through an environment variable. By default, the environment is "development", but you
634
- can change that and set your own by configuring the Apache vhost with a string like (mod_env must be available on the server):
635
-
636
- SetEnv RAILS_ENV production
637
-
638
- ...if you're using WEBrick, you can pick the environment to use with the command-line parameters -e/--environment, like this:
639
-
640
- ruby public/dispatcher.servlet -e production
641
-
642
- * Added a new default environment called "development", which leaves the production environment to be tuned exclusively for that.
643
-
644
- * Added a start_server in the root of the Rails application to make it even easier to get started
645
-
646
- * Fixed public/.htaccess to use RewriteBase and share the same rewrite rules for all the dispatch methods
647
-
648
- * Fixed webrick_server to handle requests in a serialized manner (the Rails reloading infrastructure is not thread-safe)
649
-
650
- * Added support for controllers in directories. So you can have:
651
-
652
- app/controllers/account_controller.rb # URL: /account/
653
- app/controllers/admin/account_controller.rb # URL: /admin/account/
654
-
655
- NOTE: You need to update your public/.htaccess with the new rules to pick it up
656
-
657
- * Added reloading for associations and dependencies under cached environments like FastCGI and mod_ruby. This makes it possible to use
658
- those environments for development. This is turned on by default, but can be turned off with
659
- ActiveRecord::Base.reload_associations = false and ActionController::Base.reload_dependencies = false in production environments.
660
-
661
- * Added support for sub-directories in app/models. So now you can have something like Basecamp with:
662
-
663
- app/models/accounting
664
- app/models/project
665
- app/models/participants
666
- app/models/settings
667
-
668
- It's poor man's namespacing, but only for file-system organization. You still require files just like before.
669
- Nothing changes inside the files themselves.
670
-
671
-
672
- * Fixed a few references in the tests generated by new_mailer [Jeremy Kemper]
673
-
674
- * Added support for mocks in testing with test/mocks
675
-
676
- * Cleaned up the environments a bit and added global constant RAILS_ROOT
677
-
678
-
679
- *0.8.5* (9)
680
-
681
- * 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]:
682
-
683
- def test_complex_stuff
684
- @david.projects << @new_project
685
- breakpoint "Let's have a closer look at @david"
686
- end
687
-
688
- You need to install dev-utils yourself for this to work ("gem install dev-util").
689
-
690
- * Added shared generator behavior so future upgrades should be possible without manually copying over files [Jeremy Kemper]
691
-
692
- * Added the new helper style to both controller and helper templates [Jeremy Kemper]
693
-
694
- * Added new_crud generator for creating a model and controller at the same time with explicit scaffolding [Jeremy Kemper]
695
-
696
- * Added configuration of Test::Unit::TestCase.fixture_path to test_helper to concide with the new AR fixtures style
697
-
698
- * Fixed that new_model was generating singular table/fixture names
699
-
700
- * Upgraded to Action Mailer 0.4.0
701
-
702
- * Upgraded to Action Pack 0.9.5
703
-
704
- * Upgraded to Active Record 1.1.0
705
-
706
-
707
- *0.8.0 (15)*
708
-
709
- * Removed custom_table_name option for new_model now that the Inflector is as powerful as it is
710
-
711
- * Changed the default rake action to just do testing and separate API generation and coding statistics into a "doc" task.
712
-
713
- * Fixed WEBrick dispatcher to handle missing slashes in the URLs gracefully [alexey]
714
-
715
- * Added user option for all postgresql tool calls in the rakefile [elvstone]
716
-
717
- * Fixed problem with running "ruby public/dispatch.servlet" instead of "cd public; ruby dispatch.servlet" [alexey]
718
-
719
- * Fixed WEBrick server so that it no longer hardcodes the ruby interpreter used to "ruby" but will get the one used based
720
- on the Ruby runtime configuration. [Marcel Molina Jr.]
721
-
722
- * Fixed Dispatcher so it'll route requests to magic_beans to MagicBeansController/magic_beans_controller.rb [Caio Chassot]
723
-
724
- * "new_controller MagicBeans" and "new_model SubscriptionPayments" will now both behave properly as they use the new Inflector.
725
-
726
- * Fixed problem with MySQL foreign key constraint checks in Rake :clone_production_structure_to_test target [Andreas Schwarz]
727
-
728
- * Changed WEBrick server to by default be auto-reloading, which is slower but makes source changes instant.
729
- Class compilation cache can be turned on with "-c" or "--cache-classes".
730
-
731
- * Added "-b/--binding" option to WEBrick dispatcher to bind the server to a specific IP address (default: 127.0.0.1) [Kevin Temp]
732
-
733
- * dispatch.fcgi now DOESN'T set FCGI_PURE_RUBY as it was slowing things down for now reason [Andreas Schwarz]
734
-
735
- * Added new_mailer generator to work with Action Mailer
736
-
737
- * Included new framework: Action Mailer 0.3
738
-
739
- * Upgraded to Action Pack 0.9.0
740
-
741
- * Upgraded to Active Record 1.0.0
742
-
743
-
744
- *0.7.0*
745
-
746
- * Added an optional second argument to the new_model script that allows the programmer to specify the table name,
747
- which will used to generate a custom table_name method in the model and will also be used in the creation of fixtures.
748
- [Kevin Radloff]
749
-
750
- * script/new_model now turns AccountHolder into account_holder instead of accountholder [Kevin Radloff]
751
-
752
- * Fixed the faulty handleing of static files with WEBrick [Andreas Schwarz]
753
-
754
- * Unified function_test_helper and unit_test_helper into test_helper
755
-
756
- * Fixed bug with the automated production => test database dropping on PostgreSQL [dhawkins]
757
-
758
- * create_fixtures in both the functional and unit test helper now turns off the log during fixture generation
759
- and can generate more than one fixture at a time. Which makes it possible for assignments like:
760
-
761
- @people, @projects, @project_access, @companies, @accounts =
762
- create_fixtures "people", "projects", "project_access", "companies", "accounts"
763
-
764
- * Upgraded to Action Pack 0.8.5 (locally-scoped variables, partials, advanced send_file)
765
-
766
- * Upgraded to Active Record 0.9.5 (better table_name guessing, cloning, find_all_in_collection)
767
-
768
-
769
- *0.6.5*
770
-
771
- * No longer specifies a template for rdoc, so it'll use whatever is default (you can change it in the rakefile)
772
-
773
- * The new_model generator will now use the same rules for plural wordings as Active Record
774
- (so Category will give categories, not categorys) [Kevin Radloff]
775
-
776
- * dispatch.fcgi now sets FCGI_PURE_RUBY to true to ensure that it's the Ruby version that's loaded [danp]
777
-
778
- * Made the GEM work with Windows
779
-
780
- * Fixed bug where mod_ruby would "forget" the load paths added when switching between controllers
781
-
782
- * PostgreSQL are now supported for the automated production => test database dropping [Kevin Radloff]
783
-
784
- * Errors thrown by the dispatcher are now properly handled in FCGI.
785
-
786
- * Upgraded to Action Pack 0.8.0 (lots and lots and lots of fixes)
787
-
788
- * Upgraded to Active Record 0.9.4 (a bunch of fixes)
789
-
790
-
791
- *0.6.0*
792
-
793
- * Added AbstractionApplicationController as a superclass for all controllers generated. This class can be used
794
- to carry filters and methods that are to be shared by all. It has an accompanying ApplicationHelper that all
795
- controllers will also automatically have available.
796
-
797
- * Added environments that can be included from any script to get the full Active Record and Action Controller
798
- context running. This can be used by maintenance scripts or to interact with the model through IRB. Example:
799
-
800
- require 'config/environments/production'
801
-
802
- for account in Account.find_all
803
- account.recalculate_interests
804
- end
805
-
806
- A short migration script for an account model that had it's interest calculation strategy changed.
807
-
808
- * Accessing the index of a controller with "/weblog" will now redirect to "/weblog/" (only on Apache, not WEBrick)
809
-
810
- * Simplified the default Apache config so even remote requests are served off CGI as a default.
811
- You'll now have to do something specific to activate mod_ruby and FCGI (like using the force urls).
812
- This should make it easier for new comers that start on an external server.
813
-
814
- * Added more of the necessary Apache options to .htaccess to make it easier to setup
815
-
816
- * Upgraded to Action Pack 0.7.9 (lots of fixes)
817
-
818
- * Upgraded to Active Record 0.9.3 (lots of fixes)
819
-
820
-
821
- *0.5.7*
822
-
823
- * Fixed bug in the WEBrick dispatcher that prevented it from getting parameters from the URL
824
- (through GET requests or otherwise)
825
-
826
- * Added lib in root as a place to store app specific libraries
827
-
828
- * Added lib and vendor to load_path, so anything store within can be loaded directly.
829
- Hence lib/redcloth.rb can be loaded with require "redcloth"
830
-
831
- * Upgraded to Action Pack 0.7.8 (lots of fixes)
832
-
833
- * Upgraded to Active Record 0.9.2 (minor upgrade)
834
-
835
-
836
- *0.5.6*
837
-
838
- * Upgraded to Action Pack 0.7.7 (multipart form fix)
839
-
840
- * Updated the generated template stubs to valid XHTML files
841
-
842
- * Ensure that controllers generated are capitalized, so "new_controller TodoLists"
843
- gives the same as "new_controller Todolists" and "new_controller todolists".
844
-
845
-
846
- *0.5.5*
847
-
848
- * Works on Windows out of the box! (Dropped symlinks)
849
-
850
- * Added webrick dispatcher: Try "ruby public/dispatch.servlet --help" [Florian Gross]
851
-
852
- * Report errors about initialization to browser (instead of attempting to use uninitialized logger)
853
-
854
- * Upgraded to Action Pack 0.7.6
855
-
856
- * Upgraded to Active Record 0.9.1
857
-
858
- * Added distinct 500.html instead of reusing 404.html
859
-
860
- * Added MIT license
861
-
862
-
863
- *0.5.0*
864
-
865
- * First public release