CHANGELOG

Path: vendor/rails/railties/CHANGELOG
Last Update: Wed Aug 16 15:17:00 UTC 2006

*1.1.2* (April 9th, 2005)

  • Added rake rails:update:configs to update config/boot.rb from the latest (also included in rake rails:update) [DHH]
  • Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an uncommented RAILS_GEM_VERSION line, and not use require_gem [DHH]

*1.1.1* (April 6th, 2005)

  • Enhances plugindiscover allowing it to discover svn:// like URIs (closes 4565) [ruben.nine@gmail.com]
  • Update to Prototype 1.5.0_rc0 [Sam Stephenson]
  • Fixed that the -r/—ruby path option of the rails command was not being respected 4549 [ryan.raaum@gmail.com]
  • 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]
  • Fixed that rake clone_structure_to_test should quit on pgsql if the dump is unsuccesful 4585 [augustz@augustz.com]
  • Fixed that rails —version should have the return code of 0 (success) 4560 [blair@orcaware.com]
  • Install alias so Rails::InfoController is accessible at /rails_info. Closes 4546. [Nicholas Seckar]
  • Fixed that spawner should daemonize if running in repeat mode [DHH]
  • 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]
  • Applied Prototype $() performance patches (4465, 4477) and updated script.aculo.us [Sam Stephenson, Thomas Fuchs]
  • Use —simple-prompt instead of —prompt-mode simple for console compatibility with Windows/Ruby 1.8.2 4532 [starr@starrnhorne.com]
  • Make Rails::VERSION implicitly loadable 4491. [Nicholas Seckar]
  • Fixed rake rails:freeze:gems 4518 [benji@silverinsanity.com]
  • Added -f/—freeze option to rails command for freezing the application to the Rails version it was generated with [DHH]
  • Added gem binding of apps generated through the rails command to the gems of they were generated with [Nicholas Seckar]
  • Added expiration settings for JavaScript, CSS, HTML, and images to default lighttpd.conf [DHH]
  • Added gzip compression for JavaScript, CSS, and HTML to default lighttpd.conf [DHH]
  • Avoid passing escapeHTML non-string in Rails’ info controller [Nicholas Seckar]

*1.1.0* (March 27th, 2005)

  • Allow db:fixtures:load to load a subset of the applications fixtures. [Chad Fowler]

    ex.

     rake db:fixtures:load FIXTURES=customers,plans
    
  • Update to Prototype 1.5.0_pre1 [Sam Stephenson]
  • Update to script.aculo.us 1.6 [Thomas Fuchs]
  • Add an integration_test generator [Jamis Buck]
  • 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.]

    ex.

      >> puts helper.options_for_select([%w(a 1), %w(b 2), %w(c 3)])
      <option value="1">a</option>
      <option value="2">b</option>
      <option value="3">c</option>
      => nil
    
  • Replaced old session rake tasks with db:sessions:create to generate a migration, and db:sessions:clear to remove sessions. [Rick Olson]
  • Reject Ruby 1.8.3 when loading Rails; extract version checking code. [Chad Fowler]
  • Remove explicit loading of RailsInfo and RailsInfoController. [Nicholas Seckar]
  • Move RailsInfo and RailsInfoController to Rails::Info and Rails::InfoController. [Nicholas Seckar]
  • Extend load path with Railties’ builtin directory to make adding support code easy. [Nicholas Seckar]
  • Fix the rails_info controller by explicitly loading it, and marking it as not reloadable. [Nicholas Seckar]
  • Fixed rails:freeze:gems for Windows 3274 [paul@paulbutcher.com]
  • 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]
  • Add verification to generated scaffolds, don’t allow get for unsafe actions [Michael Koziarski]
  • Don‘t replace application.js in public/javascripts if it already exists [Cody Fauser]
  • Change test:uncommitted to delay execution of `svn status` by using internal Rake API’s. [Nicholas Seckar]
  • Use require_library_or_gem to load rake in commands/server.rb. Closes 4205. [rob.rasmussen@gmail.com]
  • Use the Rake API instead of shelling out to create the tmp directory in commands/server.rb. [Chad Fowler]
  • Added a backtrace to the evil WSOD (White Screen of Death). Closes 4073. TODO: Clearer exceptions [Rick Olson]
  • Added tracking of database and framework versions in script/about 4088 [charles.gerungan@gmail.com/Rick Olson]
  • Added public/javascripts/application.js as a sample since it’ll automatically be included in javascript_include_tag :defaults [DHH]
  • Added socket cleanup for lighttpd, both before and after [DHH]
  • Added automatic creation of tmp/ when running script/server [DHH]
  • Added silence_stream that’ll work on both STDERR or STDOUT or any other stream and deprecated silence_stderr in the process [DHH]
  • Added reload! method to script/console to reload all models and others that include Reloadable without quitting the console 4056 [esad@esse.at]
  • 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]
  • Added fix for upload problems with lighttpd from Safari/IE to config/lighttpd.conf 3999 [thijs@fngtps.com]
  • Added test:uncommitted to test changes since last checkin to Subversion 4035 [technomancy@gmail.com]
  • Help script/about print the correct svn revision when in a non-English locale. 4026 [babie7a0@ybb.ne.jp]
  • Add ‘app’ accessor to script/console as an instance of Integration::Session [Jamis Buck]
  • Generator::Base#usage takes an optional message argument which defaults to Generator::Base#usage_message. [Jeremy Kemper]
  • Remove the extraneous AR::Base.threaded_connections setting from the webrick server. [Jeremy Kemper]
  • Add integration test support to app generation and testing [Jamis Buck]
  • 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]
  • 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]
  • 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]
  • Added collision option to template generation in generators 3329 [anna@wota.jp]. Examples:
      m.template "stuff.config" , "config/stuff.config" , :collision => :skip
      m.template "auto-stamping", "config/generator.log", :collision => :force
    
  • Added more information to script/plugin’s doings to ease debugging 3755 [Rick Olson]
  • Changed the default configuration for lighttpd to use tmp/sockets instead of log/ for the FastCGI sockets [DHH]
  • 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]
  • 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]
  • Added tmp/sessions, tmp/cache, and tmp/sockets as default directories in the Rails skeleton [DHH]
  • 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]
  • 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]
  • Allow script/server -c /path/to/lighttpd.conf [Jeremy Kemper]
  • Remove hardcoded path to reaper script in script/server [Jeremy Kemper]
  • Update script.aculo.us to V1.5.3 [Thomas Fuchs]
  • Added SIGTRAP signal handler to RailsFCGIHandler that’ll force the process into a breakpoint after the next request. This breakpoint can then be caught with script/breakpointer and give you access to the Ruby image inside that process. Useful for debugging memory leaks among other things [DHH]
  • Changed default lighttpd.conf to use CWD from lighttpd 1.4.10 that allows the same configuration to be used for both detach and not. Also ensured that auto-repeaping of FCGIs only happens when lighttpd is not detached. [DHH]
  • Added Configuration#after_initialize for registering a block which gets called after the framework is fully initialized. Useful for things like per-environment configuration of plugins. [Michael Koziarski]
  • Added check for RAILS_FRAMEWORK_ROOT constant that allows the Rails framework to be found in a different place than vendor/rails. Should be set in boot.rb. [DHH]
  • Fixed that static requests could unlock the mutex guarding dynamic requests in the WEBrick servlet 3433 [tom@craz8.com]
  • Fixed documentation tasks to work with Rake 0.7.0 3563 [kazuhiko@fdiary.net]
  • Update to Prototype 1.5.0_pre0 [Sam Stephenson]
  • Sort the list of plugins so we load in a consistent order [Rick Olson]
  • Show usage when script/plugin is called without arguments [tom@craz8.com]
  • Corrected problems with plugin loader where plugins set ‘name’ incorrectly 3297 [anna@wota.jp]
  • Make migration generator only report on exact duplicate names, not partial dupliate names. 3442 [jeremy@planetargon.com Marcel Molina Jr.]
  • Fix typo in mailer generator USAGE. 3458 [chriztian.steinmeier@gmail.com]
  • Ignore version mismatch between pg_dump and the database server. 3457 [simon.stapleton@gmail.com]
  • Reap FCGI processes after lighttpd exits. [Sam Stephenson]
  • Honor ActiveRecord::Base.pluralize_table_names when creating and destroying session store table. 3204. [rails@bencurtis.com, Marcel Molina Jr.]

*1.0.0* (December 13th, 2005)

  • Update instructions on how to find and install generators. 3172. [Chad Fowler]
  • Generator looks in vendor/generators also. [Chad Fowler]
  • Generator copies files in binary mode. 3156 [minimudboy@gmail.com]
  • Add builtin/ to the gemspec. Closes 3047. [Nicholas Seckar, Sam Stephenson]
  • Add install.rb file to plugin generation which is loaded, if it exists, when you install a plugin. [Marcel Molina Jr.]
  • Run initialize_logger in script/lighttpd to ensure the log file exists before tailing it. [Sam Stephenson]
  • Make load_fixtures include csv fixtures. 3053. [me@mdaines.com]
  • Fix freeze_gems so that the latest rails version is dumped by default. [Nicholas Seckar]
  • script/plugin: handle root paths and plugin names which contain spaces. 2995 [justin@aspect.net]
  • Model generator: correct relative path to test_helper in unit test. [Jeremy Kemper]
  • Make the db_schema_dump task honor the SCHEMA environment variable if present the way db_schema_import does. 2931. [Blair Zajac]
  • Have the lighttpd server script report the actual ip to which the server is bound. 2903. [Adam]
  • Add plugin library directories to the load path after the lib directory so that libraries in the lib directory get precedence. 2910. [james.adam@gmail.com]
  • Make help for the console command more explicit about how to specify the desired environment in which to run the console. 2911. [anonymous]
  • PostgreSQL: the purge_test_database Rake task shouldn’t explicitly specify the template0 template when creating a fresh test database. 2964 [dreamer3@gmail.com]
  • Introducing the session_migration generator. Creates an add_session_table migration. Allows generator to specify migrations directory. 2958, 2960 [Rick Olson]
  • script/console uses RAILS_ENV environment variable if present. 2932 [Blair Zajac <blair@orcaware.com>
  • Windows: eliminate the socket option in database.yml. 2924 [Wayne Vucenic <waynev@gmail.com>]
  • Eliminate nil from newly generated logfiles. 2927 [Blair Zajac <blair@orcaware.com>]
  • Rename Version constant to VERSION. 2802 [Marcel Molina Jr.]
  • Eliminate Subversion dependencies in scripts/plugin. Correct install options. Introduce —force option to reinstall a plugin. Remove useless —long option for list. Use —quiet to quiet the download output and —revision to update to a specific svn revision. 2842 [Chad Fowler, Rick Olson]
  • SQLite: the clone_structure_to_test and purge_test_database Rake tasks should always use the test environment. 2846 [Rick Olson]
  • Make sure that legacy db tasks also reference :database for SQLite 2830 [kazuhiko@fdiary.net]
  • Pass FILE when evaluating plugins’ init.rb. 2817 [james.adam@gmail.com]
  • Better svn status matching for generators. 2814 [François Beausoleil <francois.beausoleil@gmail.com>, Blair Zajac <blair@orcaware.com>]
  • Don‘t reload routes until plugins have been loaded so they have a chance to extend the routing capabilities [DHH]
  • Don‘t detach or fork for script/server tailing [Nicholas Seckar]
  • 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]
  • 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
  • Correct versioning in :freeze_gems Rake task. 2778 [jakob@mentalized.net, Jeremy Kemper]
  • 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]

*0.14.3 (RC4)* (November 7th, 2005)

  • Add ‘add_new_scripts’ rake task for adding new rails scripts to script/* [Jamis Buck]
  • Remove bogus hyphen from script/process/reaper calls to ‘ps’. 2767 [anonymous]
  • Copy lighttpd.conf when it is first needed, instead of on app creation [Jamis Buck]
  • Use require_library_or_gem ‘fcgi’ in script/server [Sam Stephenson]
  • 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]
  • 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]
  • Plugins are discovered in nested paths, so you can organize your plugins directory as you like. [Jeremy Kemper]
  • Refactor load_plugin from load_plugins. 2757 [alex.r.moon@gmail.com]
  • Make use of silence_stderr in script/lighttpd, script/plugin, and Rails::Info [Sam Stephenson]
  • Enable HTTP installation of plugins when svn isn’t avaialable. Closes 2661. [Chad Fowler]
  • Added script/about to display formatted Rails::Info output [Sam Stephenson]
  • Added Rails::Info to catalog assorted information about a Rails application’s environment [Sam Stephenson]
  • Tail the logfile when running script/server lighttpd in the foreground [Sam Stephenson]
  • Try to guess the port number from config/lighttpd.conf in script/server lighttpd [Sam Stephenson]
  • Don‘t reap spawn-fcgi. 2727 [matthew@walker.wattle.id.au]
  • Reaper knows how to find processes even if the dispatch path is very long. 2711 [matthew@walker.wattle.id.au]
  • Make fcgi handler respond to TERM signals with an explicit exit [Jamis Buck]
  • Added demonstration of fixture use to the test case generated by the model generator [DHH]
  • If specified, pass PostgreSQL client character encoding to createdb. 2703 [Kazuhiko <kazuhiko@fdiary.net>]
  • Catch CGI multipart parse errors. Wrap dispatcher internals in a failsafe response handler. [Jeremy Kemper]
  • 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]
  • 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]
  • 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]
  • Comment database.yml and include PostgreSQL and SQLite examples. [Jeremy Kemper]
  • Improve script/plugin on Windows. 2646 [Chad Fowler]
  • The *_plugindoc Rake tasks look deeper into the plugins’ lib directories. 2652 [bellis@deepthought.org]
  • The PostgreSQL :db_structure_dump Rake task limits its dump to the schema search path in database.yml. [Anatol Pomozov <anatol.pomozov@gmail.com>]
  • Add task to generate rdoc for all installed plugins. [Marcel Molina]
  • Update script.aculo.us to V1.5_rc4 [Thomas Fuchs]
  • Add default Mac + DarwinPorts MySQL socket locations to the app generator. [Jeremy Kemper]
  • Migrations may be destroyed: script/destroy migration foo. 2635 [Charles M. Gerungan <charles.gerungan@gmail.com>, Jamis Buck, Jeremy Kemper]
  • 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]
  • Removed app/apis as a default empty dir since its automatically created when using script/generate web_service [DHH]
  • Added script/plugin to manage plugins (install, remove, list, etc) [Ryan Tomayko]
  • Added test_plugins task: Run the plugin tests in vendor/plugins/**/test (or specify with PLUGIN=name) [DHH]
  • Added plugin generator to create a stub structure for a new plugin in vendor/plugins (see "script/generate plugin" for help) [DHH]
  • Fixed scaffold generator when started with only 1 parameter 2609 [self@mattmower.com]
  • rake should run functional tests even if the unit tests have failures [Jim Weirich]
  • Back off cleanpath to be symlink friendly. Closes 2533 [Nicholas Seckar]
  • Load rake task files in alphabetical order so you can build dependencies and count on them 2554 [Blair Zajac]

*0.14.2 (RC3)* (October 26th, 2005)

  • Constants set in the development/test/production environment file are set in Object
  • Scaffold generator pays attention to the controller name. 2562 [self@mattmower.com]
  • Include tasks from vendor/plugins/*/tasks in the Rakefile 2545 [Rick Olson]

*0.14.1 (RC2)* (October 19th, 2005)

  • Don‘t clean RAILS_ROOT on windows
  • Remove trailing ’/’ from RAILS_ROOT [Nicholas Seckar]
  • Upgraded to Active Record 1.12.1 and Action Pack 1.10.1

*0.14.0 (RC1)* (October 16th, 2005)

  • Moved generator folder from RAILS_ROOT/generators to RAILS_ROOT/lib/generators [Tobias Luetke]
  • Fix rake dev and related commands [Nicholas Seckar]
  • The rails command tries to deduce your MySQL socket by running `mysql_config

[Validate]