CHANGELOG

Path: vendor/rails/railties/CHANGELOG
Last Update: Wed Oct 10 11:44:27 +0000 2007

*1.2.4* (October 4th, 2007)

  • Add a new rake task to aid debugging of named routes.

    rake routes

  • use Gem.find_name instead of search when freezing gems. Prevent false positives for other gems with rails in the name. Closes 8729 [wselman]
  • Fix syntax error in dispatcher than wrecked failsafe responses. 8625 [mtitorenko]
  • Add Active Resource to rails:freeze:edge and drop Action Web Service. 8205 [underbluewaters, Jeremy Kemper]
  • Give generate scaffold a more descriptive database message. Closes 7316 [jeremymcanally]
  • 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]

*1.2.3* (March 12th, 2007)

  • Ruby 1.8.6 compatibility fixes. Upgrade rake dependency to 0.7.2.
  • Windows: include MinGW in RUBY_PLATFORM check. 2982 [okkez000@gmail.com, Kaspar Schiess]
  • Stop swallowing errors during rake test [Koz]

*1.2.2* (February 5th, 2007)

  • Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ [Chad Fowler]
  • Require the dispatcher for Rails::Configuration#to_prepare. [Rick]

*1.2.1* (January 16th, 2007)

  • Updated to Active Record 1.15.1, Action Pack 1.13.1, Action Mailer 1.3.1, Action Web Service 1.2.1

*1.2.0* (January 16th, 2007)

  • Update to Prototype 1.5.0. [Sam Stephenson]
  • Generator: use destination path for diff tempfiles. 7015 [alfeld]
  • Fixed that webrick would strip leading newlines and hang connection 4156 [psross]
  • Ensure plugins are in the Dependencies.load_once_paths collection by default. [Rick] If you really want your plugins to reload, add this to the very top of init.rb:
      Dependencies.load_once_paths.delete(lib_path)
    
  • Fix scaffold_resource generator so it respects the —pretend argument when creating the routes file. Closes 6852 [fearoffish]
  • Fix Webrick Daemon dispatching bug regarding a bad current working directory. Closes 4899 [Rick Olson]
  • 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]
  • Don‘t generate a components directory in new Rails apps. [Jeremy Kemper]
  • Fixed script/process/spawner to work properly with Mongrel including in -r (daemonize mode) [DHH]
  • Deprecated the name route "root" as it‘ll be used as a shortcut for map.connect ’’ in Rails 2.0 [DHH]
  • Fixed that script/server running against Mongrel should tail the proper log regardless of the environment [DHH]
  • Update initializer to load Rails::VERSION as soon as possible. Closes 6698. [Nicholas Seckar]
  • 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]
  • Made RAILS_GEM_VERSION work for beta gems too, so specifying 1.1.6 will give you 1.1.6.4520 if available [DHH]
  • Update to Prototype and script.aculo.us [5579]. [Sam Stephenson, Thomas Fuchs]
  • Made script/server work with -e and -d when using Mongrel [DHH]
  • Make sure that exceptions which are thrown outside of the user code try their best to be handeled in ApplicationController#rescue_action [Tobias Luetke]
  • Rails::VERSION::STRING should always be available without having to require ‘rails/version’. 6244 [fearoffish]
  • Add grep-based fallback to reaper, to work in pidless setups [Jamis Buck]
  • 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]
  • Alter prior change to use require_dependency instead of require_or_load. Causes ApplicationController to be reloaded again. Closes 6587. [Nicholas Seckar]
  • Rake: use absolute paths to load lib and vendor tasks so they may be run outside of RAILS_ROOT. 6584 [jchris]
  • scaffold_resource generator uses _path named routes and head instead of render :nothing => true. 6545 [Josh Susser]
  • Generator can show diff on file collision to help you decide whether to skip or overwrite. 6364 [jeffw, Jeremy Kemper]
  • Generated directories are recursively svn added, like mkdir -p. 6416 [NeilW]
  • resource and scaffold_resource generators add a restful route to config/routes.rb [Jeremy Kemper]
  • Revert environment changes for autoload_paths. [Koz]
  • Clean up the output of rake stats, de-emphasise components and apis, and remove the indents for tests [Koz]
  • Added option to script/process/spawner of specifying the binding address 5133 [zsombor]
  • Update environment.rb comments to include config.autoload_paths. Closes 6478 [caio]
  • Update scaffold to use new form_tag block functionality. Closes 6480. [BobSilva]
  • Plugin generator: check for class collisions. 4833 [vinbarnes@gmail.com]
  • Mailer generator: handle mailers in modules, set mime_version in unit test. [Jeremy Kemper]
  • Set $KCODE to ‘u’ by default to enable the multibyte safe String#chars proxy. [Koz]
  • 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:
      config.plugins = %w[ routing_navigator simply_helpful ]
    
  • Clean up html on included error pages. [Tim Lucas]
  • Fixed default 404.html and 500.htmls to remove extreme ugliness and include human language [DHH]
  • Update to latest Prototype and script.aculo.us trunk versions [Thomas Fuchs]
  • PostgreSQL: db:test:purge closes open database connections first. 6236 [alex]
  • Fixed test:uncommitted on Windows (backslash issue) 4999 [paul@paulbutcher.com]
  • Fixed migration creation to work with namespaced models, so script/generate model Gallery::Image will use create_table :gallery_images 6327 [BobSilva]
  • Fixed rename_table on SQLite tables with indexes defined 5942 [brandon@opensoul.org]
  • Added default timeout setting of 5 seconds to SQLite3 database.yml configurations [DHH]
  • Added generated attribute options to script/generate model, like the one found in scaffold_resource and resource [DHH]. Examples:
      ./script/generate model post title:string created_on:date body:text published:boolean
    
  • Added script/generate resource which works just like scaffold_resource, but creates empty placeholders instead of predefined [DHH]
  • script/runner can run files, pass on arguments, and be used as a shebang. 6286 [Tuxie, dlpond]
      #!/usr/bin/env /path/to/my/app/script/runner
      # Example: just start using your models as if you are in script/console
      Product.find(:all).each { |product| product.check_inventory }
    
  • Look for rake tasks in plugin subdirs. 6259 [obrie]
  • Added map.connect ’:controller/:action/:id.:format’ as a default route to config/routes.rb [DHH]
  • session_migration generator adds an index on updated_at. 6207 [grg]
  • script/server creates the tmp/pids directory. 6204 [jonathan]
  • Fix script/console —sandbox for internal transactions changes. 5738 [chris@octopod.info, charles.gerungan@gmail.com]
  • 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

documented in initializer.rb, the workaround is:

  config.autoload_paths += Dir[RAILS_ROOT + '/app/models/*/']

References 6031. [Nicholas Seckar]

  • Update to script.aculo.us 1.6.3 [Thomas Fuchs]
  • Formally Deprecate the old rake tasks. [Koz]
  • Thoroughly test the FCGI dispatcher. 5970 [Kevin Clark]
  • Remove Dir.chdir in the Webrick DispatchServlet#initialize method. Fix bad path errors when trying to load config/routes.rb. [Rick Olson]
  • Tighten rescue clauses. 5985 [james@grayproductions.net]
  • Cleaning up tests. [Kevin Clark, Jeremy Kemper]
  • Add Dependencies.load_once_paths. [Nicholas Seckar]
  • Assign Routing.controller_paths; fix script/about and rails info controller. [Nicholas Seckar]
  • Don‘t warn dispatcher of Reloadable deprecations. [Nicholas Seckar]
  • Rearrange application resetting and preparation, fix bug with leaking subclasses hash in ActiveRecord::Base [Rick Olson]

    ActiveRecord::Base.reset_subclasses is called before Dependencies are cleared and classes removed. ActiveRecord::Base.instantiate_observers is called during a Dispatcher preparation callback.

  • Add missing mock directories from the autoload_paths configuration. [Rick Olson]
  • Nested controller scaffolding also nests the generated layout. [iain d broadfoot]
  • Add "require ‘dispatcher’" to webrick server in the continuing quest to squash webrick weirdness. [Nicholas Seckar]
  • Add autoload_paths support to Initializer. [Nicholas Seckar]
  • Fix Dispatcher.reset_application! so that AR subclasses are removed and Observers re-initialized after Reloadable classes are removed. Closes 5743. [Rick Olson]
  • Clarify usage of script/plugin source. Closes 5344. [james.adam@gmail.com]
  • Add Dispatcher.to_prepare and config.to_prepare to provide a pre-request hook. [Nicholas Seckar]
  • Tweak the Rails load order so observers are loaded after plugins, and reloaded in development mode. Closed 5279. [Rick Olson]
  • Added that you can change the web server port in config/lighttpd.conf from script/server —port/-p 5465 [mats@imediatec.co.uk]
  • script/performance/profiler compatibility with the new ruby-prof, including an option to choose the results printer. 5679 [shugo@ruby-lang.org]
  • Fixed the failsafe response so it uses either the current recognized controller or ApplicationController. [Rick Olson]
  • Make sure script/reaper only reaps dispatcher pids by default, and not the spawner‘s pid. [Jamis Buck]
  • Fix script/plugin about so it uses about.yml and not meta.yml. [James Adam]
  • Dispatcher processes rescued actions with the same controller that processed the request. 4625 [sd@notso.net]
  • rails -d frontbase to create a new project with a frontbase database.yml. 4945 [mlaster@metavillage.com]
  • Ensure the logger is initialized. 5629 [mike@clarkware.com]
  • Added Mongrel-spawning capabilities to script/process/spawner. Mongrel will be the default choice if installed, otherwise FCGI is tried [DHH]. Examples:
      spawner               # starts instances on 8000, 8001, and 8002 using Mongrel if available
      spawner fcgi          # starts instances on 8000, 8001, and 8002 using FCGI
      spawner mongrel -i 5  # starts instances on 8000, 8001, 8002, 8003, and 8004 using Mongrel
      spawner -p 9100 -i 10 # starts 10 instances counting from 9100 to 9109 using Mongrel if available
      spawner -p 9100 -r 5  # starts 3 instances counting from 9100 to 9102 and attempts start them every 5 seconds
    

    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.

  • Update scaffolding functional tests to use :id => people(:first) instead of :id => 1. 5612 [evan@protest.net]
  • db:test:clone should remove existing tables before reloading the schema. 5607 [sveit@tradeharbor.com]
  • Fixed migration generation for class names like ACLController 5197 [brad@madriska.com]
  • Added show_source_list and show_call_stack to breakpoints to make it easier to get context 5476 [takiuchi@drecom.co.jp]. Examples:
      irb(#<TopController:0x40822a68>):002:0> show_source_list
      0001  class TopController < ApplicationController
      0002    def show
      0003->    breakpoint
      0004    end
      0005
      0006    def index
      0007    end
      0008
      => "/path/to/rails/root/app/controllers/top_controller.rb"
    
      irb(#<TopController:0x40822a68>):004:0> show_call_stack 3
      vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
      vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
      app/controllers/top_controller.rb:3:in `show'
      => "/path/to/rails/root/app/controllers/top_controller.rb:3"
    
  • Generate scaffold layout in subdirectory appropriate to its module nesting. 5511 [nils@alumni.rice.edu]
  • Mongrel: script/server tails the rails log like it does with lighttpd. Prefer mongrel over lighttpd. 5541 [mike@clarkware.com]
  • Don‘t assume Active Record is available. 5497 [bob@sporkmonger.com]
  • Mongrel: script/server works on Win32. 5499 [jeremydurham@gmail.com]
  • Remove opts.on { |options[:option_name] } style hash assignment. Closes 4440. [nicksieger@gmail.com]
  • Mongrel support for script/server. 5475 [jeremydurham@gmail.com]
  • Fix script/plugin so it doesn‘t barf on invalid URLs [Rick]
  • Fix plugin install bug at dir with space. (closes 5359) [Yoshimasa NIWA]
  • Fix bug with ‘script/plugin install’ so it reports unknown plugin names correctly. [Rick]
  • 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]
  • Create temporary dirs relative to RAILS_ROOT when running script/server 5014 [elliot@townx.org]
  • Minor tweak to dispatcher to use recognize instead of recognize!, as per the new routes. [Jamis Buck]
  • Make "script/plugin install" work with svn+ssh URLs. [Sam Stephenson]
  • Added lib/ to the directories that will get application docs generated [DHH]
  • Add observer generator. Closes 5167. [francois.beausoleil@gmail.com]
  • Session migration generator obeys pluralize_table_names. 5145 [james.adam@gmail.com]
  • rake test:recent understands subdirectories. 2925 [jerrett@bravenet.com]
  • The app generator detects the XAMPP package‘s MySQL socket location. 3832 [elliot@townx.org]
  • 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]
  • Distinguish the spawners for different processes [DHH]
  • Added -n/—process to script/process/spawner name the process pid (default is dispatch) [DHH]
  • Namespaced OrderedHash so the Rails implementation does not clash with any others. (fixes 4911) [Julian Tarkhanov]
  • Replace Ruby‘s deprecated append_features in favor of included. [Marcel Molina Jr.]
  • Added script/process/inspector to do simple process status information on Rails dispatchers keeping pid files in tmp/pids [DHH]
  • 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]

*1.1.6* (August 10th, 2006)

  • Additional security patch

*1.1.5* (August 8th, 2006)

  • Mention in docs that config.frameworks doesn‘t work when getting Rails via Gems. 4857 [Alisdair McDiarmid]
  • Change the scaffolding layout to use yield rather than @content_for_layout. [Marcel Molina Jr.]
  • Includes critical security patch

*1.1.4* (June 29th, 2006)

  • Remove use of opts.on { |options[:name] } style hash assignment. References 4440. [headius@headius.com]
  • Updated to Action Pack 1.12.3, ActionWebService 1.1.4, ActionMailer 1.2.3

*1.1.3* (June 27th, 2006)

  • Updated to Active Record 1.14.3, Action Pack 1.12.2, ActionWebService 1.1.3, ActionMailer 1.2.2

*1.1.2* (April 9th, 2005)

  • Mention in docs that config.frameworks doesn‘t work when getting Rails via Gems. Closes 4857. [Alisdair McDiarmid]
  • Change the scaffolding layout to use yield rather than @content_for_layout. [Marcel Molina Jr.]
  • 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, 2006)

  • Enhances plugin#discover 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, 2006)

  • 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]