Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/trunk/railties/CHANGELOG

Revision 9240, 98.4 kB (checked in by rick, 5 months ago)

Don't require rails/gem_builder during rails initialization, it's only needed for the gems:build task. [rick]

<
Line 
1 *SVN*
2
3 * Don't require rails/gem_builder during rails initialization, it's only needed for the gems:build task. [rick]
4
5 * script/performance/profiler compatibility with the ruby-prof >= 0.5.0. Closes #9176. [Catfish]
6
7 * Flesh out rake gems:unpack to unpack all gems, and add rake gems:build for native extensions. #11513 [ddollar]
8
9   rake gems:unpack             # unpacks all gems
10   rake gems:unpack GEM=mygem   # unpacks only the gem 'mygem'
11  
12   rake gems:build              # builds all unpacked gems
13   rake gems:build GEM=mygem    # builds only the gem 'mygem'
14
15 * Add config.active_support for future configuration options.  Also, add more new Rails 3 config settings to new_rails_defaults.rb [rick]
16
17 * Add Rails.logger, Rails.root, Rails.env and Rails.cache shortcuts for RAILS_* constants [pratik]
18
19 * Allow files in plugins to be reloaded like the rest of the application.  [rick]
20
21   Enables or disables plugin reloading.
22  
23     config.reload_plugins = true
24  
25   You can get around this setting per plugin.
26   If #reload_plugins? == false (DEFAULT), add this to your plugin's init.rb to make it reloadable:
27  
28     Dependencies.load_once_paths.delete lib_path
29  
30   If #reload_plugins? == true, add this to your plugin's init.rb to only load it once:
31  
32     Dependencies.load_once_paths << lib_path
33
34 * Small tweak to allow plugins to specify gem dependencies.  [rick]
35
36   # OLD open_id_authentication plugin init.rb
37   require 'yadis'
38   require 'openid'
39   ActionController::Base.send :include, OpenIdAuthentication
40
41   # NEW
42   config.gem "ruby-openid", :lib => "openid", :version => "1.1.4"
43   config.gem "ruby-yadis",  :lib => "yadis",  :version => "0.3.4"
44
45   config.after_initialize do
46     ActionController::Base.send :include, OpenIdAuthentication
47   end
48
49 * Added config.gem for specifying which gems are required by the application, as well as rake tasks for installing and freezing gems. [rick]
50
51   Rails::Initializer.run do |config|
52     config.gem "bj"
53     config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
54     config.gem "aws-s3", :lib => "aws/s3"
55   end
56  
57   # List required gems.
58   rake gems
59  
60   # Install all required gems:
61   rake gems:install
62  
63   # Unpack specified gem to vendor/gems/gem_name-x.x.x
64   rake gems:unpack GEM=bj
65
66 * Removed the default .htaccess configuration as there are so many good deployment options now (kept it as an example in README) [DHH]
67
68 * config.time_zone accepts TZInfo::Timezone identifiers as well as Rails TimeZone identifiers [Geoff Buesing]
69
70 * 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]
71
72 * Stop adding the antiquated test/mocks/* directories and only add them to the path if they're still there for legacy reasons [DHH]
73
74 * Added that gems can now be plugins if they include rails/init.rb #11444 [jbarnette]
75
76 * Added Plugin#about method to programmatically access the about.yml in a plugin #10979 [lazyatom]
77
78     plugin = Rails::Plugin.new(path_to_my_plugin)
79     plugin.about["author"] # => "James Adam"
80     plugin.about["url"] # => "http://interblah.net"
81
82 * Improve documentation. [Radar, Jan De Poorter, chuyeow, xaviershay, danger, miloops, Xavier Noria,  Sunny Ripert]
83
84 * Added config.time_zone = 'UTC' in the default environment.rb [Geoff Buesing]
85
86 * 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]
87
88 * Add config.time_zone for configuring the default Time.zone value.  #10982 [Geoff Buesing]
89
90 * Added support for installing plugins hosted at git repositories #11294 [danger]
91
92 * Fixed that script/generate would not look for plugin generators in plugin_paths #11000 [glv]
93
94 * Fixed database rake tasks to work with charset/collation and show proper error messages on failure. Closes #11301 [matt]
95
96 * Added a -e/--export to script/plugin install, uses svn export. #10847 [jon@blankpad.net)]
97
98 * Reshuffle load order so that routes and observers are initialized after plugins and app initializers.  Closes #10980 [rick]
99
100 * Git support for script/generate.  #10690 [ssoroka]
101
102 * Update scaffold to use labels instead of bold tags.  Closes #10757 [zach-inglis-lt3]
103
104 * Resurrect WordNet synonym lookups.  #10710 [tom./, matt]
105
106 * 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]
107
108 * 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]
109
110 * SQLite: db:drop:all doesn't fail silently if the database is already open.  #10577 [Cheah Chu Yeow, mrichman]
111
112 * Introduce native mongrel handler and push mutex into dispatcher.  [Jeremy Kemper]
113
114 * Ruby 1.9 compatibility.  #1689, #10546 [Cheah Chu Yeow, frederico]
115
116
117 *2.0.2* (December 16th, 2007)
118
119 * 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]
120
121 * 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]
122
123 * Introduce `rake secret` to output a crytographically secure secret key for use with cookie sessions #10363 [revans]
124
125 * Fixed that local database creation should consider 127.0.0.1 local #9026 [parcelbrat]
126
127 * Fixed that functional tests generated for scaffolds should use fixture calls instead of hard-coded IDs #10435 [boone]
128
129 * Added db:migrate:redo and db:migrate:reset for rerunning existing migrations #10431, #10432  [matt]
130
131 * RAILS_GEM_VERSION may be double-quoted also.  #10443 [James Cox]
132
133 * Update rails:freeze:gems to work with RubyGems 0.9.5.  [Jeremy Kemper]
134
135
136 *2.0.1* (December 7th, 2007)
137
138 * Fixed Active Record bug
139
140
141 *2.0.0* (December 6th, 2007)
142
143 * The test task stops with a warning if you have pending migrations.  #10377 [Josh Knowles]
144
145 * Add warning to documentation about using transactional fixtures when the code under test uses transactions itself. Closes #7548 [thijsv]
146
147 * Update Prototype to 1.6.0.1.  [sam]
148
149 * Update script.aculo.us to 1.8.0.1.  [madrobby]
150
151 * Added db:fixtures:identity as a way of locating what ID a foxy fixture was assigned #10332 [jbarnette]
152
153 * Generated fixtures should not specify ids since theyre expected to be foxy fixtures #10330 [jbarnette]
154
155 * Update to Prototype -r8232.  [sam]
156
157 * Introduce SecretKeyGenerator for more secure session secrets than CGI::Session's pseudo-random id generator. Consider extracting to Active Support later.  #10286 [Hongli Lai]
158
159 * RAILS_GEM_VERSION may be set to any valid gem version specifier.  #10057 [Chad Woolley, Cheah Chu Yeow]
160
161 * Load config/preinitializer.rb, if present, before loading the environment.  #9943 [Chad Woolley]
162
163 * FastCGI handler ignores unsupported signals like USR2 on Windows.  [Grzegorz Derebecki]
164
165 * Only load ActionMailer::TestCase if ActionMailer is loaded.  Closes #10137 [defunkt]
166
167 * Fixed that db:reset would use migrations instead of loading db/schema.rb [DHH]
168
169 * Ensure the plugin loader only loads plugins once.  Closes #10102 [haruki_zaemon]
170
171 * Refactor Plugin Loader.  Add plugin lib paths early, and add lots of tests.  Closes #9795 [lazyatom]
172
173 * Added --skip-timestamps to generators that produce models #10036 [Tim Pope]
174
175 * Update Prototype to 1.6.0 and script.aculo.us to 1.8.0.  [sam, madrobby]
176
177 * Added db:rollback to rollback the schema one version (or multiple as specified by STEP) [Jeffrey Allan Hardy]
178
179 * Fix typo in test_helper. Closes #9925 [viktor tron]
180
181 * Request profiler.  [Jeremy Kemper]
182
183 * config/boot.rb correctly detects RAILS_GEM_VERSION.  #9834 [alexch, thewoolleyman]
184
185 * Fixed incorrect migration number if script/generate executed outside of Rails root #7080 [jeremymcanally]
186
187 * Update Prototype to 1.6.0_rc1 and script.aculo.us to 1.8.0 preview 0.  [sam, madrobby]
188
189 * Generated fixtures use the actual primary key instead of id.  #4343 [Frederick Ros, Tarmo TÀnav]
190
191 * Extend the console +helper+ method to allow you to include custom helpers.  e.g:
192   >> helper :posts
193   >> helper.some_method_from_posts_helper(Post.find(1))
194
195 * db:create works with remote databases whereas db:create:all only creates
196 databases on localhost.  #9753 [Trevor Wennblom]
197
198 * Removed calls to fixtures in generated tests as fixtures :all is now present by default in test_helper.rb [DHH]
199
200 * Add --prefix option to script/server when using mongrel. [dacat]
201
202
203 *2.0.0 [Preview Release]* (September 29th, 2007) [Includes duplicates of changes from 1.1.4 - 1.2.3]
204
205 * Fixed that installing plugins from SVN repositories that use trunk/ will work #8188 [evan]
206
207 * Moved the SourceAnnotationExtractor to a separate file in case libraries try to load the rails rake tasks twice. [Rick]
208
209 * Moved Dispatcher to ActionController::Dispatcher.  [Jeremy Kemper]
210
211 * 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).)
212
213 * Added a default 422.html page to be rendered when ActiveRecord::RecordInvalid, ActiveRecord::RecordNotSaved, or ActionController::InvalidAuthenticityToken is raised [DHH]
214
215 * Added --skip-fixture option to script/generate model #6862 [sandofsky]
216
217 * Print Rails version when starting console #7440 [eyematz]
218
219 * Fixed the placement of fixture files for nested models when generating through script/generate model #7547 [jkit]
220
221 * Added TEMPLATE option to rake doc:app to set a custom output template #7737 [Jakob S]
222
223 * Added VERBOSE option to rake db:migrate to turn off output #8204 [jbarnette]
224
225 * Fixed that rake doc:app should use UTF-8 #8906 [farzy]
226
227 * Fixes rake annotations to search erb and builder files as well #9150 [m.langenberg]
228
229 * Removed web_service generator [Koz]
230
231 * Added the :all option to config.plugins that'll include the rest of the plugins not already explicitly named #9613 [Frederick Cheung]. Example:
232
233     # Loads :classic_pagination before all the other plugins
234     config.plugins = [ :classic_pagination, :all ]
235
236 * Added symbols as a legal way of specifying plugins in config.plugins #9629 [tom]
237
238 * Removed deprecated task names, like clear_logs, in favor of the new namespaced style [DHH]
239
240 * Support multiple config.after_initialize blocks so plugins and apps can more easily cooperate.  #9582 [zdennis]
241
242 * Added db:drop:all to drop all databases declared in config/database.yml [DHH]
243
244 * Use attribute pairs instead of the migration name to create add and remove column migrations.  Closes #9166 [Pratik Naik]
245
246         For example:
247
248         ruby script/generation migration AddSomeStuffToCustomers first_name:string last_name:string
249        
250         or
251        
252         ruby script/generation migration RemoveSomeStuffFromCustomers first_name:string last_name:string
253
254 * Add ActiveResource to Rails::Info.  Closes #8741 [kampers]
255
256 * use Gem.find_name instead of search when freezing gems.  Prevent false positives for other gems with rails in the name. Closes #8729 [wselman]
257
258 * Automatically generate add/remove column commands in specially named migrations like AddLocationToEvent.  Closes #9006 [zenspider]
259
260 * Default to plural table name in Rails Generator if ActiveRecord is not present.  Closes #8963 [evan]
261
262 * Added rake routes for listing all the defined routes in the system.  #8795 [Josh Peek]
263
264 * 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]
265
266 * 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]
267
268 * MySQL, PostgreSQL: database.yml defaults to utf-8.  #8701 [matt]
269
270 * Added db:version to get the current schema number [via Err The Blog]
271
272 * Added --skip-migration option to scaffold and resource generators #8656 [Michael Glaesemann]
273
274 * Fix that FCGIs would leave log files open when asked to shut down by USR2.  #3028 [Sebastian Kanthak, Josh Peek]
275
276 * Fixed that dispatcher preparation callbacks only run once in production mode.  Mock Routes.reload so that dispatcher preparation callback tests run. [Rick]
277
278 * Fix syntax error in dispatcher than wrecked failsafe responses.  #8625 [mtitorenko]
279
280 * Scaffolded validation errors set the appropriate HTTP status for XML responses.  #6946, #8622 [Manfred Stienstra, mmmultiworks]
281
282 * Sexy migrations for the session_migration generator.  #8561 [Vladislav]
283
284 * Console reload! runs to_prepare callbacks also.  #8393 [f.svehla]
285
286 * Generated migrations include timestamps by default.  #8501 [Shane Vitarana]
287
288 * Drop Action Web Service from rails:freeze:edge.  [Jeremy Kemper]
289
290 * Add db:create, drop, reset, charset, and collation tasks.  #8448 [matt]
291
292 * Scaffold generator depends on model generator instead of duplicating it.  #7222 [bscofield]
293
294 * Scaffold generator tests.  #8443 [pelle]
295
296 * Generated scaffold functional tests use assert_difference.  #8421 [Norbert Crombach]
297
298 * Update to Prototype 1.5.1.  [Sam Stephenson]
299
300 * Update to script.aculo.us 1.7.1_beta3.  [Thomas Fuchs]
301
302 * Generators use *.html.erb view template naming.  #8278 [Tim Pope]
303
304 * Updated resource_scaffold and model generators to use short-hand style migrations [DHH]
305
306 * Updated initializer to only load #{RAILS_ENV}.rb once. Added deprecation warning for config.breakpoint_server. [Nicholas Seckar]
307
308 * 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]
309
310   To use the new debugger, start your server with script/server --debugger and insert a call to  'debugger'
311   (instead of 'breakpoint') where you want to jump into the debugger.
312  
313   BACKWARDS INCOMPATIBILITY NOTE: You must remove the default line 12 from config/environments/development.rb:
314  
315     config.breakpoint_server = true
316  
317   This configuration option is no longer available. Rails will fail to start in development mode as long as
318   that's still present.
319
320 * Resource scaffolding returns the created entity.to_xml.  [Jeremy Kemper]
321
322 * Resource scaffolding responds to new.xml.  #8185 [Eric Mill]
323
324 * Include Active Resource in rails:freeze:edge rake task.  [Thomas Fuchs]
325
326 * Include Active Resource instead of Action Web Service [DHH] You can add AWS back with this in config/environment.rb:
327
328     config.load_paths += %W( #{RAILS_ROOT}/vendor/rails/actionwebservice/lib )
329  
330   ...or just gem 'actionwebservice'
331
332 * Give generate scaffold a more descriptive database message.  Closes #7316 [jeremymcanally]
333
334 * 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]
335
336 * Deprecation: remove components from controller paths.  [Jeremy Kemper]
337
338 * Add environment variable RAILS_DEFAULT_DATABASE, which allows the builtin default of 'mysql' to be overridden. [Nicholas Seckar]
339
340 * Windows: include MinGW in RUBY_PLATFORM check.  #2982 [okkez000@gmail.com, Kaspar Schiess]
341
342 * 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.]
343
344 * 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.]
345
346 * Added assumption that all plugin creators desire to be sharing individuals and release their work under the MIT license [DHH]
347
348 * 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.
349
350 * Added fixtures :all to test_helper.rb to assume that most people just want all their fixtures loaded all the time [DHH]
351
352 * 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]
353
354 * For new apps, generate a random secret for the cookie-based session store.  [Jeremy Kemper]
355
356 * Stop swallowing errors during rake test [Koz]
357
358 * Update Rails Initializer to use ActionController::Base#view_paths [Rick]
359
360 * Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ [Chad Fowler]
361
362 * Plugins may be symlinked in vendor/plugins.  #4245 [brandon, progrium@gmail.com]
363
364 * Resource generator depends on the model generator rather than duplicating it.  #7269 [bscofield]
365
366 * Add/Update usage documentation for script/destroy, resource generator and scaffold_resource generator.  Closes #7092, #7271, #7267.  [bscofield]
367
368 * Update to script.aculo.us 1.7.0.  [Thomas Fuchs]
369
370 * Update to Prototype 1.5.0. [Sam Stephenson]
371
372 * Generator: use destination path for diff tempfiles.  #7015 [alfeld]
373
374 * Fixed that webrick would strip leading newlines and hang connection #4156 [psross]
375
376 * Ensure plugins are in the Dependencies.load_once_paths collection by default.  [Rick]
377   If you really want your plugins to reload, add this to the very top of init.rb:
378  
379     Dependencies.load_once_paths.delete(lib_path)
380
381 * Allow config.to_prepare to work, make the dispatcher safe to 're require'. [Koz, Nicholas Seckar]
382
383 * Fix scaffold_resource generator so it respects the --pretend argument when creating the routes file.  Closes #6852 [fearoffish]
384
385 * Fix Webrick Daemon dispatching bug regarding a bad current working directory.  Closes #4899 [Rick Olson]
386
387 * 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]
388
389 * Don't generate a components directory in new Rails apps.  [Jeremy Kemper]
390
391 * Fixed script/process/spawner to work properly with Mongrel including in -r (daemonize mode) [DHH]
392
393 * 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]
394
395 * Fixed that script/server running against Mongrel should tail the proper log regardless of the environment [DHH]
396
397 * Update initializer to load Rails::VERSION as soon as possible. Closes #6698. [Nicholas Seckar]
398
399 * 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]
400
401 * Made RAILS_GEM_VERSION work for beta gems too, so specifying 1.1.6 will give you 1.1.6.4520 if available [DHH]
402
403 * Update to Prototype and script.aculo.us [5579]. [Thomas Fuchs]
404
405 * Made script/server work with -e and -d when using Mongrel [DHH]
406
407 * Update to Prototype 1.5.0_rc2 [5550] which makes it work in Opera again [Thomas Fuchs]
408
409 * Make sure that exceptions which are thrown outside of the user code try their best to be handeled in ApplicationController#rescue_action [Tobias Luetke]
410
411 * Rails::VERSION::STRING should always be available without having to require 'rails/version'.  #6244 [fearoffish]
412
413 * Update to Prototype 1.5.0_rc2. [Sam Stephenson]
414
415 * Add grep-based fallback to reaper, to work in pidless setups [Jamis Buck]
416
417 * 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]
418
419 * Alter prior change to use require_dependency instead of require_or_load. Causes ApplicationController to be reloaded again. Closes #6587. [Nicholas Seckar]
420
421 * Rake: use absolute paths to load lib and vendor tasks so they may be run outside of RAILS_ROOT.  #6584 [jchris]
422
423 * Remove temporary crutch to help ApplicationController be unloaded. Closes #6496. [Nicholas Seckar]
424
425 * scaffold_resource generator uses _path named routes and head instead of render :nothing => true.  #6545 [Josh Susser]
426
427 * Generator can show diff on file collision to help you decide whether to skip or overwrite.  #6364 [jeffw, Jeremy Kemper]
428
429 * Generated directories are recursively svn added, like mkdir -p.  #6416 [NeilW]
430
431 * resource and scaffold_resource generators add a restful route to config/routes.rb  [Jeremy Kemper]
432
433 * Revert environment changes for autoload_paths. [Koz]
434
435 * 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]
436
437 * Clean up the output of rake stats,  de-emphasise components and apis, and remove the indents for tests [Koz]
438
439 * Added option to script/process/spawner of specifying the binding address #5133 [zsombor]
440
441 * Update environment.rb comments to include config.autoload_paths. Closes #6478 [caio]
442
443 * Update scaffold to use new form_tag block functionality.  Closes #6480. [BobSilva]
444
445 * Plugin generator: check for class collisions.  #4833 [vinbarnes@gmail.com]
446
447 * Mailer generator: handle mailers in modules, set mime_version in unit test.  [Jeremy Kemper]
448
449 * Set $KCODE to 'u' by default to enable the multibyte safe String#chars proxy. [Koz]
450
451 * 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:
452
453     config.plugins = %w[ routing_navigator simply_helpful ]
454
455 * Clean up html on included error pages. [Tim Lucas]
456
457 * Fixed default 404.html and 500.htmls to remove extreme ugliness and include human language [DHH]
458
459 * Update to latest Prototype and script.aculo.us trunk versions [Thomas Fuchs]
460
461 * PostgreSQL: db:test:purge closes open database connections first.  #6236 [alex]
462
463 * Fixed test:uncommitted on Windows (backslash issue) #4999 [paul@paulbutcher.com]
464
465 * Fixed migration creation to work with namespaced models, so script/generate model Gallery::Image will use create_table :gallery_images #6327 [BobSilva]
466
467 * Fixed rename_table on SQLite tables with indexes defined #5942 [brandon@opensoul.org]
468
469 * Added default timeout setting of 5 seconds to SQLite3 database.yml configurations [DHH]
470
471 * Added generated attribute options to script/generate model, like the one found in scaffold_resource and resource [DHH]. Examples:
472
473     ./script/generate model post title:string created_on:date body:text published:boolean
474
475 * Added script/generate resource which works just like scaffold_resource, but creates empty placeholders instead of predefined [DHH]
476
477 * script/runner can run files, pass on arguments, and be used as a shebang.  #6286 [Tuxie, dlpond]
478     #!/usr/bin/env /path/to/my/app/script/runner
479     # Example: just start using your models as if you are in script/console
480     Product.find(:all).each { |product| product.check_inventory }
481
482 * Look for rake tasks in plugin subdirs.  #6259 [obrie]
483
484 * Added map.connect ':controller/:action/:id.:format' as a default route to config/routes.rb [DHH]
485
486 * Updated prototype.js to 1.5.0_rc1 with latest fixes. [Rick Olson]
487
488   - XPATH support
489   - Make Form.getElements() return elements in the correct order
490   - fix broken Form.serialize return
491
492 * session_migration generator adds an index on updated_at.  #6207 [grg]
493
494 * script/server creates the tmp/pids directory.  #6204 [jonathan]
495
496 * Fix script/console --sandbox for internal transactions changes.  #5738 [chris@octopod.info, charles.gerungan@gmail.com]
497
498 * 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
499 documented in initializer.rb, the workaround is:
500  
501   config.autoload_paths += Dir[RAILS_ROOT + '/app/models/*/']
502  
503 References #6031. [Nicholas Seckar]
504
505 * Update to script.aculo.us 1.6.3 [Thomas Fuchs]
506
507 * Update to Prototype 1.5.0_rc1 [sam]
508
509 * Formally Deprecate the old rake tasks. [Koz]
510
511 * Thoroughly test the FCGI dispatcher.  #5970 [Kevin Clark]
512
513 * Remove Dir.chdir in the Webrick DispatchServlet#initialize method.  Fix bad path errors when trying to load config/routes.rb.  [Rick Olson]
514
515 * Tighten rescue clauses.  #5985 [james@grayproductions.net]
516
517 * Cleaning up tests. [Kevin Clark, Jeremy Kemper]
518
519 * Add Dependencies.load_once_paths. [Nicholas Seckar]
520
521 * Updated to script.aculo.us 1.6.2 [Thomas Fuchs]
522
523 * Assign Routing.controller_paths; fix script/about and rails info controller. [Nicholas Seckar]
524
525 * Don't warn dispatcher of Reloadable deprecations. [Nicholas Seckar]
526
527 * Rearrange application resetting and preparation, fix bug with leaking subclasses hash in ActiveRecord::Base [Rick Olson]
528
529   ActiveRecord::Base.reset_subclasses is called before Dependencies are cleared and classes removed.
530   ActiveRecord::Base.instantiate_observers is called during a Dispatcher preparation callback.
531
532 * Add missing mock directories from the autoload_paths configuration.  [Rick Olson]
533
534 * Nested controller scaffolding also nests the generated layout. [iain d broadfoot]
535
536 * Add "require 'dispatcher'" to webrick server in the continuing quest to squash webrick weirdness. [Nicholas Seckar]
537
538 * Add autoload_paths support to Initializer. [Nicholas Seckar]
539
540 * Fix Dispatcher.reset_application! so that AR subclasses are removed and Observers re-initialized *after* Reloadable classes are removed. Closes #5743.  [Rick Olson]
541
542 * Clarify usage of script/plugin source. Closes #5344. [james.adam@gmail.com]
543
544 * Add Dispatcher.to_prepare and config.to_prepare to provide a pre-request hook. [Nicholas Seckar]
545
546 * Tweak the Rails load order so observers are loaded after plugins, and reloaded in development mode. Closed #5279.  [Rick Olson]
547
548 * Added that you can change the web server port in config/lighttpd.conf from script/server --port/-p #5465 [mats@imediatec.co.uk]
549
550 * script/performance/profiler compatibility with the new ruby-prof, including an option to choose the results printer.  #5679 [shugo@ruby-lang.org]
551
552 * Fixed the failsafe response so it uses either the current recognized controller or ApplicationController.  [Rick Olson]
553
554 * Make sure script/reaper only reaps dispatcher pids by default, and not the spawner's pid. [Jamis Buck]
555
556 * Fix script/plugin about so it uses about.yml and not meta.yml.  [James Adam]
557
558 * Dispatcher processes rescued actions with the same controller that processed the request. #4625 [sd@notso.net]
559
560 * rails -d frontbase to create a new project with a frontbase database.yml. #4945 [mlaster@metavillage.com]
561
562 * Ensure the logger is initialized. #5629 [mike@clarkware.com]
563
564 * Added Mongrel-spawning capabilities to script/process/spawner. Mongrel will be the default choice if installed, otherwise FCGI is tried [DHH]. Examples:
565
566     spawner               # starts instances on 8000, 8001, and 8002 using Mongrel if available
567     spawner fcgi          # starts instances on 8000, 8001, and 8002 using FCGI
568     spawner mongrel -i 5  # starts instances on 8000, 8001, 8002, 8003, and 8004 using Mongrel
569     spawner -p 9100 -i 10 # starts 10 instances counting from 9100 to 9109 using Mongrel if available
570     spawner -p 9100 -r 5  # starts 3 instances counting from 9100 to 9102 and attempts start them every 5 seconds
571
572   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.
573
574 * Update scaffolding functional tests to use :id => people(:first) instead of :id => 1. #5612 [evan@protest.net]
575
576 * db:test:clone should remove existing tables before reloading the schema. #5607 [sveit@tradeharbor.com]
577
578 * Fixed migration generation for class names like ACLController #5197 [brad@madriska.com]
579
580 * Added show_source_list and show_call_stack to breakpoints to make it easier to get context #5476 [takiuchi@drecom.co.jp]. Examples:
581
582     irb(#<TopController:0x40822a68>):002:0> show_source_list
583     0001  class TopController < ApplicationController
584     0002    def show
585     0003->    breakpoint
586     0004    end
587     0005   
588     0006    def index
589     0007    end
590     0008   
591     => "/path/to/rails/root/app/controllers/top_controller.rb"
592
593     irb(#<TopController:0x40822a68>):004:0> show_call_stack 3
594     vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
595     vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
596     app/controllers/top_controller.rb:3:in `show'
597     => "/path/to/rails/root/app/controllers/top_controller.rb:3"
598
599 * Generate scaffold layout in subdirectory appropriate to its module nesting. #5511 [nils@alumni.rice.edu]
600
601 * Mongrel: script/server tails the rails log like it does with lighttpd. Prefer mongrel over lighttpd. #5541 [mike@clarkware.com]
602
603 * Don't assume Active Record is available. #5497 [bob@sporkmonger.com]
604
605 * Mongrel: script/server works on Win32. #5499 [jeremydurham@gmail.com]
606
607 * Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440. [nicksieger@gmail.com]
608
609 * Mongrel support for script/server.  #5475 [jeremydurham@gmail.com]
610
611 * Fix script/plugin so it doesn't barf on invalid URLs [Rick]
612
613 * Fix plugin install bug at dir with space. (closes #5359) [Yoshimasa NIWA]
614
615 * Fix bug with 'script/plugin install' so it reports unknown plugin names correctly.  [Rick]
616
617 * 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]
618
619 * Create temporary dirs relative to RAILS_ROOT when running script/server #5014 [elliot@townx.org]
620
621 * Minor tweak to dispatcher to use recognize instead of recognize!, as per the new routes. [Jamis Buck]
622
623 * Make "script/plugin install" work with svn+ssh URLs. [Sam Stephenson]
624
625 * Added lib/ to the directories that will get application docs generated [DHH]
626
627 * Add observer generator. Closes #5167. [francois.beausoleil@gmail.com]
628
629 * Session migration generator obeys pluralize_table_names. #5145 [james.adam@gmail.com]
630
631 * rake test:recent understands subdirectories. #2925 [jerrett@bravenet.com]
632
633 * The app generator detects the XAMPP package's MySQL socket location. #3832 [elliot@townx.org]
634
635 * 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]
636
637 * Distinguish the spawners for different processes [DHH]
638
639 * Added -n/--process to script/process/spawner name the process pid (default is dispatch) [DHH]
640
641 * Namespaced OrderedHash so the Rails implementation does not clash with any others. (fixes #4911) [Julian Tarkhanov]
642
643 * Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
644
645 * Added script/process/inspector to do simple process status information on Rails dispatchers keeping pid files in tmp/pids [DHH]
646
647 * 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]
648
649
650 *1.2.3* (March 12th, 2007)
651
652 * Ruby 1.8.6 compatibility
653
654 * Windows: include MinGW in RUBY_PLATFORM check.  #2982 [okkez000@gmail.com, Kaspar Schiess]
655
656 * Stop swallowing errors during rake test [Koz]
657
658
659 *1.2.2* (February 5th, 2007)
660
661 * Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ [Chad Fowler]
662
663 * Require the dispatcher for Rails::Configuration#to_prepare.  [Rick]
664
665
666 *1.2.1* (January 16th, 2007)
667
668 * Updated to Active Record 1.15.1, Action Pack 1.13.1, Action Mailer 1.3.1, Action Web Service 1.2.1
669
670
671 *1.2.0* (January 16th, 2007)
672
673 * Update to Prototype 1.5.0. [Sam Stephenson]
674
675 * Generator: use destination path for diff tempfiles.  #7015 [alfeld]
676
677 * Fixed that webrick would strip leading newlines and hang connection #4156 [psross]
678
679 * Ensure plugins are in the Dependencies.load_once_paths collection by default.  [Rick]
680   If you really want your plugins to reload, add this to the very top of init.rb:
681  
682     Dependencies.load_once_paths.delete(lib_path)
683
684 * Fix scaffold_resource generator so it respects the --pretend argument when creating the routes file.  Closes #6852 [fearoffish]
685
686 * Fix Webrick Daemon dispatching bug regarding a bad current working directory.  Closes #4899 [Rick Olson]
687
688 * 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]
689
690 * Don't generate a components directory in new Rails apps.  [Jeremy Kemper]
691
692 * Fixed script/process/spawner to work properly with Mongrel including in -r (daemonize mode) [DHH]
693
694 * Deprecated the name route "root" as it'll be used as a shortcut for map.connect '' in Rails 2.0 [DHH]
695
696 * Fixed that script/server running against Mongrel should tail the proper log regardless of the environment [DHH]
697
698 * Update initializer to load Rails::VERSION as soon as possible. Closes #6698. [Nicholas Seckar]
699
700 * 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]
701
702 * Made RAILS_GEM_VERSION work for beta gems too, so specifying 1.1.6 will give you 1.1.6.4520 if available [DHH]
703
704 * Update to Prototype and script.aculo.us [5579]. [Sam Stephenson, Thomas Fuchs]
705
706 * Made script/server work with -e and -d when using Mongrel [DHH]
707
708 * Make sure that exceptions which are thrown outside of the user code try their best to be handeled in ApplicationController#rescue_action [Tobias Luetke]
709
710 * Rails::VERSION::STRING should always be available without having to require 'rails/version'.  #6244 [fearoffish]
711
712 * Add grep-based fallback to reaper, to work in pidless setups [Jamis Buck]
713
714 * 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]
715
716 * Alter prior change to use require_dependency instead of require_or_load. Causes ApplicationController to be reloaded again. Closes #6587. [Nicholas Seckar]
717
718 * Rake: use absolute paths to load lib and vendor tasks so they may be run outside of RAILS_ROOT.  #6584 [jchris]
719
720 * scaffold_resource generator uses _path named routes and head instead of render :nothing => true.  #6545 [Josh Susser]
721
722 * Generator can show diff on file collision to help you decide whether to skip or overwrite.  #6364 [jeffw, Jeremy Kemper]
723
724 * Generated directories are recursively svn added, like mkdir -p.  #6416 [NeilW]
725
726 * resource and scaffold_resource generators add a restful route to config/routes.rb  [Jeremy Kemper]
727
728 * Revert environment changes for autoload_paths. [Koz]
729
730 * Clean up the output of rake stats,  de-emphasise components and apis, and remove the indents for tests [Koz]
731
732 * Added option to script/process/spawner of specifying the binding address #5133 [zsombor]
733
734 * Update environment.rb comments to include config.autoload_paths. Closes #6478 [caio]
735
736 * Update scaffold to use new form_tag block functionality.  Closes #6480. [BobSilva]
737
738 * Plugin generator: check for class collisions.  #4833 [vinbarnes@gmail.com]
739
740 * Mailer generator: handle mailers in modules, set mime_version in unit test.  [Jeremy Kemper]
741
742 * Set $KCODE to 'u' by default to enable the multibyte safe String#chars proxy. [Koz]
743
744 * 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:
745
746     config.plugins = %w[ routing_navigator simply_helpful ]
747
748 * Clean up html on included error pages. [Tim Lucas]
749
750 * Fixed default 404.html and 500.htmls to remove extreme ugliness and include human language [DHH]
751
752 * Update to latest Prototype and script.aculo.us trunk versions [Thomas Fuchs]
753
754 * PostgreSQL: db:test:purge closes open database connections first.  #6236 [alex]
755
756 * Fixed test:uncommitted on Windows (backslash issue) #4999 [paul@paulbutcher.com]
757
758 * Fixed migration creation to work with namespaced models, so script/generate model Gallery::Image will use create_table :gallery_images #6327 [BobSilva]
759
760 * Fixed rename_table on SQLite tables with indexes defined #5942 [brandon@opensoul.org]
761
762 * Added default timeout setting of 5 seconds to SQLite3 database.yml configurations [DHH]
763
764 * Added generated attribute options to script/generate model, like the one found in scaffold_resource and resource [DHH]. Examples:
765
766     ./script/generate model post title:string created_on:date body:text published:boolean
767
768 * Added script/generate resource which works just like scaffold_resource, but creates empty placeholders instead of predefined [DHH]
769
770 * script/runner can run files, pass on arguments, and be used as a shebang.  #6286 [Tuxie, dlpond]
771     #!/usr/bin/env /path/to/my/app/script/runner
772     # Example: just start using your models as if you are in script/console
773     Product.find(:all).each { |product| product.check_inventory }
774
775 * Look for rake tasks in plugin subdirs.  #6259 [obrie]
776
777 * Added map.connect ':controller/:action/:id.:format' as a default route to config/routes.rb [DHH]
778
779 * session_migration generator adds an index on updated_at.  #6207 [grg]
780
781 * script/server creates the tmp/pids directory.  #6204 [jonathan]
782
783 * Fix script/console --sandbox for internal transactions changes.  #5738 [chris@octopod.info, charles.gerungan@gmail.com]
784
785 * 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
786 documented in initializer.rb, the workaround is:
787  
788   config.autoload_paths += Dir[RAILS_ROOT + '/app/models/*/']
789  
790 References #6031. [Nicholas Seckar]
791
792 * Update to script.aculo.us 1.6.3 [Thomas Fuchs]
793
794 * Formally Deprecate the old rake tasks. [Koz]
795
796 * Thoroughly test the FCGI dispatcher.  #5970 [Kevin Clark]
797
798 * Remove Dir.chdir in the Webrick DispatchServlet#initialize method.  Fix bad path errors when trying to load config/routes.rb.  [Rick Olson]
799
800 * Tighten rescue clauses.  #5985 [james@grayproductions.net]
801
802 * Cleaning up tests. [Kevin Clark, Jeremy Kemper]
803
804 * Add Dependencies.load_once_paths. [Nicholas Seckar]
805
806 * Assign Routing.controller_paths; fix script/about and rails info controller. [Nicholas Seckar]
807
808 * Don't warn dispatcher of Reloadable deprecations. [Nicholas Seckar]
809
810 * Rearrange application resetting and preparation, fix bug with leaking subclasses hash in ActiveRecord::Base [Rick Olson]
811
812   ActiveRecord::Base.reset_subclasses is called before Dependencies are cleared and classes removed.
813   ActiveRecord::Base.instantiate_observers is called during a Dispatcher preparation callback.
814
815 * Add missing mock directories from the autoload_paths configuration.  [Rick Olson]
816
817 * Nested controller scaffolding also nests the generated layout. [iain d broadfoot]
818
819 * Add "require 'dispatcher'" to webrick server in the continuing quest to squash webrick weirdness. [Nicholas Seckar]
820
821 * Add autoload_paths support to Initializer. [Nicholas Seckar]
822
823 * Fix Dispatcher.reset_application! so that AR subclasses are removed and Observers re-initialized *after* Reloadable classes are removed. Closes #5743.  [Rick Olson]
824
825 * Clarify usage of script/plugin source. Closes #5344. [james.adam@gmail.com]
826
827 * Add Dispatcher.to_prepare and config.to_prepare to provide a pre-request hook. [Nicholas Seckar]
828
829 * Tweak the Rails load order so observers are loaded after plugins, and reloaded in development mode. Closed #5279.  [Rick Olson]
830
831 * Added that you can change the web server port in config/lighttpd.conf from script/server --port/-p #5465 [mats@imediatec.co.uk]
832
833 * script/performance/profiler compatibility with the new ruby-prof, including an option to choose the results printer.  #5679 [shugo@ruby-lang.org]
834
835 * Fixed the failsafe response so it uses either the current recognized controller or ApplicationController.  [Rick Olson]
836
837 * Make sure script/reaper only reaps dispatcher pids by default, and not the spawner's pid. [Jamis Buck]
838
839 * Fix script/plugin about so it uses about.yml and not meta.yml.  [James Adam]
840
841 * Dispatcher processes rescued actions with the same controller that processed the request. #4625 [sd@notso.net]
842
843 * rails -d frontbase to create a new project with a frontbase database.yml. #4945 [mlaster@metavillage.com]
844
845 * Ensure the logger is initialized. #5629 [mike@clarkware.com]
846
847 * Added Mongrel-spawning capabilities to script/process/spawner. Mongrel will be the default choice if installed, otherwise FCGI is tried [DHH]. Examples:
848
849     spawner               # starts instances on 8000, 8001, and 8002 using Mongrel if available
850     spawner fcgi          # starts instances on 8000, 8001, and 8002 using FCGI
851     spawner mongrel -i 5  # starts instances on 8000, 8001, 8002, 8003, and 8004 using Mongrel
852     spawner -p 9100 -i 10 # starts 10 instances counting from 9100 to 9109 using Mongrel if available
853     spawner -p 9100 -r 5  # starts 3 instances counting from 9100 to 9102 and attempts start them every 5 seconds
854
855   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.
856
857 * Update scaffolding functional tests to use :id => people(:first) instead of :id => 1. #5612 [evan@protest.net]
858
859 * db:test:clone should remove existing tables before reloading the schema. #5607 [sveit@tradeharbor.com]
860
861 * Fixed migration generation for class names like ACLController #5197 [brad@madriska.com]
862
863 * Added show_source_list and show_call_stack to breakpoints to make it easier to get context #5476 [takiuchi@drecom.co.jp]. Examples:
864
865     irb(#<TopController:0x40822a68>):002:0> show_source_list
866     0001  class TopController < ApplicationController
867     0002    def show
868     0003->    breakpoint
869     0004    end
870     0005   
871     0006    def index
872     0007    end
873     0008   
874     => "/path/to/rails/root/app/controllers/top_controller.rb"
875
876     irb(#<TopController:0x40822a68>):004:0> show_call_stack 3
877     vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
878     vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
879     app/controllers/top_controller.rb:3:in `show'
880     => "/path/to/rails/root/app/controllers/top_controller.rb:3"
881
882 * Generate scaffold layout in subdirectory appropriate to its module nesting. #5511 [nils@alumni.rice.edu]
883
884 * Mongrel: script/server tails the rails log like it does with lighttpd. Prefer mongrel over lighttpd. #5541 [mike@clarkware.com]
885
886 * Don't assume Active Record is available. #5497 [bob@sporkmonger.com]
887
888 * Mongrel: script/server works on Win32. #5499 [jeremydurham@gmail.com]
889
890 * Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440. [nicksieger@gmail.com]
891
892 * Mongrel support for script/server.  #5475 [jeremydurham@gmail.com]
893
894 * Fix script/plugin so it doesn't barf on invalid URLs [Rick]
895
896 * Fix plugin install bug at dir with space. (closes #5359) [Yoshimasa NIWA]
897
898 * Fix bug with 'script/plugin install' so it reports unknown plugin names correctly.  [Rick]
899
900 * 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]
901
902 * Create temporary dirs relative to RAILS_ROOT when running script/server #5014 [elliot@townx.org]
903
904 * Minor tweak to dispatcher to use recognize instead of recognize!, as per the new routes. [Jamis Buck]
905
906 * Make "script/plugin install" work with svn+ssh URLs. [Sam Stephenson]
907
908 * Added lib/ to the directories that will get application docs generated [DHH]
909
910 * Add observer generator. Closes #5167. [francois.beausoleil@gmail.com]
911
912 * Session migration generator obeys pluralize_table_names. #5145 [james.adam@gmail.com]
913
914 * rake test:recent understands subdirectories. #2925 [jerrett@bravenet.com]
915
916 * The app generator detects the XAMPP package's MySQL socket location. #3832 [elliot@townx.org]
917
918 * 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]
919
920 * Distinguish the spawners for different processes [DHH]
921
922 * Added -n/--process to script/process/spawner name the process pid (default is dispatch) [DHH]
923
924 * Namespaced OrderedHash so the Rails implementation does not clash with any others. (fixes #4911) [Julian Tarkhanov]
925
926 * Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
927
928 * Added script/process/inspector to do simple process status information on Rails dispatchers keeping pid files in tmp/pids [DHH]
929
930 * 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]
931
932
933 *1.1.6* (August 10th, 2006)
934
935 * Additional security patch
936
937
938 *1.1.5* (August 8th, 2006)
939
940 * Mention in docs that config.frameworks doesn't work when getting Rails via Gems.  #4857 [Alisdair McDiarmid]
941
942 * Change the scaffolding layout to use yield rather than @content_for_layout. [Marcel Molina Jr.]
943
944 * Includes critical security patch
945
946
947 *1.1.4* (June 29th, 2006)
948
949 * Remove use of opts.on { |options[:name] } style hash assignment. References #4440. [headius@headius.com]
950
951 * Updated to Action Pack 1.12.3, ActionWebService 1.1.4, ActionMailer 1.2.3
952
953
954 *1.1.3* (June 27th, 2006)
955
956 * Updated to Active Record 1.14.3, Action Pack 1.12.2, ActionWebService 1.1.3, ActionMailer 1.2.2
957
958
959 *1.1.2* (April 9th, 2006)
960
961 * Mention in docs that config.frameworks doesn't work when getting Rails via Gems. Closes #4857. [Alisdair McDiarmid]
962
963 * Change the scaffolding layout to use yield rather than @content_for_layout. [Marcel Molina Jr.]
964
965 * Added rake rails:update:configs to update config/boot.rb from the latest (also included in rake rails:update) [DHH]
966
967 * Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an uncommented RAILS_GEM_VERSION line, and not use require_gem [DHH]
968
969
970 *1.1.1* (April 6th, 2006)
971
972 * Enhances plugin#discover allowing it to discover svn:// like URIs (closes #4565) [ruben.nine@gmail.com]
973
974 * Update to Prototype 1.5.0_rc0 [Sam Stephenson]
975
976 * Fixed that the -r/--ruby path option of the rails command was not being respected #4549 [ryan.raaum@gmail.com]
977
978 * 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]
979
980 * Fixed that rake clone_structure_to_test should quit on pgsql if the dump is unsuccesful #4585 [augustz@augustz.com]
981
982 * Fixed that rails --version should have the return code of 0 (success) #4560 [blair@orcaware.com]
983
984 * Install alias so Rails::InfoController is accessible at /rails_info. Closes #4546. [Nicholas Seckar]
985
986 * Fixed that spawner should daemonize if running in repeat mode [DHH]
987
988 * 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]
989
990 * Applied Prototype $() performance patches (#4465, #4477) and updated script.aculo.us [Sam Stephenson, Thomas Fuchs]
991
992 * Use --simple-prompt instead of --prompt-mode simple for console compatibility with Windows/Ruby 1.8.2 #4532 [starr@starrnhorne.com]
993
994 * Make Rails::VERSION implicitly loadable #4491. [Nicholas Seckar]
995
996 * Fixed rake rails:freeze:gems #4518 [benji@silverinsanity.com]
997
998 * Added -f/--freeze option to rails command for freezing the application to the Rails version it was generated with [DHH]
999
1000 * Added gem binding of apps generated through the rails command to the gems of they were generated with [Nicholas Seckar]
1001
1002 * Added expiration settings for JavaScript, CSS, HTML, and images to default lighttpd.conf [DHH]
1003
1004 * Added gzip compression for JavaScript, CSS, and HTML to default lighttpd.conf [DHH]
1005
1006 * Avoid passing escapeHTML non-string in Rails' info controller [Nicholas Seckar]
1007
1008
1009 *1.1.0* (March 27th, 2006)
1010
1011 * Allow db:fixtures:load to load a subset of the applications fixtures. [Chad Fowler]
1012
1013   ex.
1014
1015    rake db:fixtures:load FIXTURES=customers,plans
1016
1017 * Update to Prototype 1.5.0_pre1 [Sam Stephenson]
1018
1019 * Update to script.aculo.us 1.6 [Thomas Fuchs]
1020
1021 * Add an integration_test generator [Jamis Buck]
1022
1023 * 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.]
1024
1025   ex.
1026
1027     >> puts helper.options_for_select([%w(a 1), %w(b 2), %w(c 3)])
1028     <option value="1">a</option>
1029     <option value="2">b</option>
1030     <option value="3">c</option>
1031     => nil
1032
1033 * Replaced old session rake tasks with db:sessions:create to generate a migration, and db:sessions:clear to remove sessions. [Rick Olson]
1034
1035 * Reject Ruby 1.8.3 when loading Rails; extract version checking code. [Chad Fowler]
1036
1037 * Remove explicit loading of RailsInfo and RailsInfoController. [Nicholas Seckar]
1038
1039 * Move RailsInfo and RailsInfoController to Rails::Info and Rails::InfoController. [Nicholas Seckar]
1040
1041 * Extend load path with Railties' builtin directory to make adding support code easy. [Nicholas Seckar]
1042
1043 * Fix the rails_info controller by explicitly loading it, and marking it as not reloadable. [Nicholas Seckar]
1044
1045 * Fixed rails:freeze:gems for Windows #3274 [paul@paulbutcher.com]
1046
1047 * 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]
1048
1049 * Add verification to generated scaffolds,  don't allow get for unsafe actions [Michael Koziarski]
1050
1051 * Don't replace application.js in public/javascripts if it already exists [Cody Fauser]
1052
1053 * Change test:uncommitted to delay execution of `svn status` by using internal Rake API's. [Nicholas Seckar]
1054
1055 * Use require_library_or_gem to load rake in commands/server.rb.  Closes #4205.  [rob.rasmussen@gmail.com]
1056
1057 * Use the Rake API instead of shelling out to create the tmp directory in commands/server.rb. [Chad Fowler]
1058
1059 * Added a backtrace to the evil WSOD (White Screen of Death).  Closes #4073. TODO: Clearer exceptions [Rick Olson]
1060
1061 * Added tracking of database and framework versions in script/about #4088 [charles.gerungan@gmail.com/Rick Olson]
1062
1063 * Added public/javascripts/application.js as a sample since it'll automatically be included in javascript_include_tag :defaults [DHH]
1064
1065 * Added socket cleanup for lighttpd, both before and after [DHH]
1066
1067 * Added automatic creation of tmp/ when running script/server [DHH]
1068
1069 * Added silence_stream that'll work on both STDERR or STDOUT or any other stream and deprecated silence_stderr in the process [DHH]
1070
1071 * Added reload! method to script/console to reload all models and others that include Reloadable without quitting the console #4056 [esad@esse.at]
1072
1073 * 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]
1074
1075 * Added fix for upload problems with lighttpd from Safari/IE to config/lighttpd.conf #3999 [thijs@fngtps.com]
1076
1077 * Added test:uncommitted to test changes since last checkin to Subversion #4035 [technomancy@gmail.com]
1078
1079 * Help script/about print the correct svn revision when in a non-English locale.  #4026 [babie7a0@ybb.ne.jp]
1080
1081 * Add 'app' accessor to script/console as an instance of Integration::Session [Jamis Buck]
1082
1083 * Generator::Base#usage takes an optional message argument which defaults to Generator::Base#usage_message. [Jeremy Kemper]
1084
1085 * Remove the extraneous AR::Base.threaded_connections setting from the webrick server. [Jeremy Kemper]
1086
1087 * Add integration test support to app generation and testing [Jamis Buck]
1088
1089 * 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]
1090
1091 * 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]
1092
1093 * 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]
1094
1095 * Added collision option to template generation in generators #3329 [anna@wota.jp]. Examples:
1096
1097     m.template "stuff.config" , "config/stuff.config" , :collision => :skip
1098     m.template "auto-stamping", "config/generator.log", :collision => :force
1099
1100 * Added more information to script/plugin's doings to ease debugging #3755 [Rick Olson]
1101
1102 * Changed the default configuration for lighttpd to use tmp/sockets instead of log/ for the FastCGI sockets [DHH]
1103
1104 * 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]
1105
1106 * 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]
1107
1108 * Added tmp/sessions, tmp/cache, and tmp/sockets as default directories in the Rails skeleton [DHH]
1109
1110 * 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]
1111
1112 * 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]
1113
1114 * Allow script/server -c /path/to/lighttpd.conf [Jeremy Kemper]
1115
1116 * Remove hardcoded path to reaper script in script/server [Jeremy Kemper]
1117