2006-04-27 20:00:50 -04:00
*SVN*
2007-06-25 14:01:15 -04:00
* MySQL, PostgreSQL: database.yml defaults to utf-8. #8701 [matt]
2007-06-25 11:20:28 -04:00
* Added db:version to get the current schema number [via Err The Blog]
2007-06-25 11:15:20 -04:00
2007-06-23 14:26:58 -04:00
* Added --skip-migration option to scaffold and resource generators #8656 [Michael Glaesemann]
2007-06-23 13:04:37 -04:00
* Fix that FCGIs would leave log files open when asked to shut down by USR2 #3028 [sebastian.kanthak/josh]
2007-06-15 19:28:51 -04:00
* Fixed that dispatcher preparation callbacks only run once in production mode. Mock Routes.reload so that dispatcher preparation callback tests run. [Rick]
2007-06-11 14:05:02 -04:00
* Fix syntax error in dispatcher than wrecked failsafe responses. #8625 [mtitorenko]
2007-06-10 21:06:04 -04:00
* Scaffolded validation errors set the appropriate HTTP status for XML responses. #6946, #8622 [Manfred Stienstra, mmmultiworks]
2007-06-10 19:04:19 -04:00
2007-06-04 22:42:57 -04:00
* Sexy migrations for the session_migration generator. #8561 [Vladislav]
2007-05-29 17:44:35 -04:00
* Console reload! runs to_prepare callbacks also. #8393 [f.svehla]
2007-05-28 22:13:53 -04:00
* Generated migrations include timestamps by default. #8501 [Shane Vitarana]
2007-05-28 20:11:56 -04:00
2007-05-27 18:21:20 -04:00
* Drop Action Web Service from rails:freeze:edge. [Jeremy Kemper]
2007-05-25 20:24:58 -04:00
* Add db:create, drop, reset, charset, and collation tasks. #8448 [matt]
2007-05-25 17:15:46 -04:00
* Scaffold generator depends on model generator instead of duplicating it. #7222 [bscofield]
2007-05-23 18:42:24 -04:00
* Scaffold generator tests. #8443 [pelle]
2007-05-22 05:41:28 -04:00
* Generated scaffold functional tests use assert_difference. #8421 [norbert]
2007-05-19 16:57:11 -04:00
* Update to Prototype 1.5.1. [Sam Stephenson]
2007-05-18 20:23:42 -04:00
* Update to script.aculo.us 1.7.1_beta3. [Thomas Fuchs]
2007-05-06 06:34:18 -04:00
* Generators use *.html.erb view template naming. #8278 [Tim Pope]
2007-05-05 21:48:19 -04:00
* Updated resource_scaffold and model generators to use short-hand style migrations [DHH]
2007-04-29 03:35:22 -04:00
* Updated initializer to only load #{RAILS_ENV}.rb once. Added deprecation warning for config.breakpoint_server. [Nicholas Seckar]
2007-04-28 11:57:29 -04:00
* 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]
To use the new debugger, start your server with script/server --debugger and insert a call to 'debugger'
(instead of 'breakpoint') where you want to jump into the debugger.
BACKWARDS INCOMPATIBILITY NOTE: You must remove the default line 12 from config/environments/development.rb:
config.breakpoint_server = true
This configuration option is no longer available. Rails will fail to start in development mode as long as
that's still present.
2007-04-25 18:08:07 -04:00
* Resource scaffolding returns the created entity.to_xml. [Jeremy Kemper]
2007-04-25 17:10:27 -04:00
* Resource scaffolding responds to new.xml. #8185 [Eric Mill]
2007-04-24 05:15:20 -04:00
* Include Active Resource in rails:freeze:edge rake task. [Thomas Fuchs]
2007-04-23 14:55:54 -04:00
* Include Active Resource instead of Action Web Service [DHH] You can add AWS back with this in config/environment.rb:
config.load_paths += %W( #{RAILS_ROOT}/vendor/rails/actionwebservice/lib )
...or just gem 'actionwebservice'
2007-03-27 10:04:06 -04:00
* Give generate scaffold a more descriptive database message. Closes #7316 [jeremymcanally]
2007-03-18 09:35:16 -04:00
* 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]
* Deprecation: remove components from controller paths. [Jeremy Kemper]
2007-03-14 19:45:17 -04:00
* Add environment variable RAILS_DEFAULT_DATABASE, which allows the builtin default of 'mysql' to be overridden. [Nicholas Seckar]
2007-03-06 04:22:07 -05:00
* Windows: include MinGW in RUBY_PLATFORM check. #2982 [okkez000@gmail.com, Kaspar Schiess]
2007-03-02 18:39:29 -05:00
* 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.]
2007-03-01 19:20:32 -05:00
* 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.]
2007-02-26 20:23:43 -05:00
* Added assumption that all plugin creators desire to be sharing individuals and release their work under the MIT license [DHH]
2007-02-25 14:40:37 -05:00
* 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.
2007-02-25 12:31:43 -05:00
* Added fixtures :all to test_helper.rb to assume that most people just want all their fixtures loaded all the time [DHH]
2007-02-22 19:32:27 -05:00
* 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]
2007-02-21 18:13:32 -05:00
* For new apps, generate a random secret for the cookie-based session store. [Jeremy Kemper]
2007-02-19 22:15:26 -05:00
* Stop swallowing errors during rake test [Koz]
2007-02-04 17:41:37 -05:00
* Update Rails Initializer to use ActionController::Base#view_paths [Rick]
2007-02-04 15:44:45 -05:00
* Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ [Chad Fowler]
2007-02-01 15:12:36 -05:00
* Plugins may be symlinked in vendor/plugins. #4245 [brandon, progrium@gmail.com]
2007-01-28 08:55:39 -05:00
* Resource generator depends on the model generator rather than duplicating it. #7269 [bscofield]
2007-01-23 00:01:05 -05:00
* Add/Update usage documentation for script/destroy, resource generator and scaffold_resource generator. Closes #7092, #7271, #7267. [bscofield]
2007-01-19 15:56:31 -05:00
* Update to script.aculo.us 1.7.0. [Thomas Fuchs]
2007-01-17 00:01:29 -05:00
* Update to Prototype 1.5.0. [Sam Stephenson]
2007-01-12 23:09:18 -05:00
* Generator: use destination path for diff tempfiles. #7015 [alfeld]
2007-01-04 23:09:38 -05:00
* Fixed that webrick would strip leading newlines and hang connection #4156 [psross]
2006-12-27 17:18:38 -05:00
* 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)
2006-12-26 18:56:00 -05:00
* Allow config.to_prepare to work, make the dispatcher safe to 're require'. [Koz, Nicholas Seckar]
2006-12-26 14:39:30 -05:00
* Fix scaffold_resource generator so it respects the --pretend argument when creating the routes file. Closes #6852 [fearoffish]
2006-12-25 04:01:41 -05:00
* Fix Webrick Daemon dispatching bug regarding a bad current working directory. Closes #4899 [Rick Olson]
2006-12-18 15:27:05 -05:00
* 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]
2006-12-06 17:10:09 -05:00
* Don't generate a components directory in new Rails apps. [Jeremy Kemper]
2006-12-03 22:50:57 -05:00
* Fixed script/process/spawner to work properly with Mongrel including in -r (daemonize mode) [DHH]
2006-11-30 19:08:33 -05:00
* 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]
2006-11-30 16:45:31 -05:00
* Fixed that script/server running against Mongrel should tail the proper log regardless of the environment [DHH]
2006-11-25 12:11:46 -05:00
* Update initializer to load Rails::VERSION as soon as possible. Closes #6698. [Nicholas Seckar]
2006-11-23 00:16:46 -05:00
* 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]
2006-11-22 23:40:48 -05:00
* Made RAILS_GEM_VERSION work for beta gems too, so specifying 1.1.6 will give you 1.1.6.4520 if available [DHH]
2006-11-19 18:01:32 -05:00
* Update to Prototype and script.aculo.us [5579]. [Thomas Fuchs]
2006-11-19 17:17:26 -05:00
* Made script/server work with -e and -d when using Mongrel [DHH]
2006-11-19 16:01:25 -05:00
2006-11-17 18:52:54 -05:00
* Update to Prototype 1.5.0_rc2 [5550] which makes it work in Opera again [Thomas Fuchs]
2006-11-13 15:23:00 -05:00
* Make sure that exceptions which are thrown outside of the user code try their best to be handeled in ApplicationController#rescue_action [Tobias Luetke]
2006-11-13 01:23:58 -05:00
* Rails::VERSION::STRING should always be available without having to require 'rails/version'. #6244 [fearoffish]
2006-11-11 22:44:35 -05:00
* Update to Prototype 1.5.0_rc2. [Sam Stephenson]
2006-11-11 17:46:00 -05:00
* Add grep-based fallback to reaper, to work in pidless setups [Jamis Buck]
2006-11-11 03:08:53 -05:00
* 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]
2006-11-09 13:22:44 -05:00
* Alter prior change to use require_dependency instead of require_or_load. Causes ApplicationController to be reloaded again. Closes #6587. [Nicholas Seckar]
2006-11-09 02:56:10 -05:00
* Rake: use absolute paths to load lib and vendor tasks so they may be run outside of RAILS_ROOT. #6584 [jchris]
2006-11-07 14:52:54 -05:00
* Remove temporary crutch to help ApplicationController be unloaded. Closes #6496. [Nicholas Seckar]
2006-11-04 21:14:36 -05:00
* scaffold_resource generator uses _path named routes and head instead of render :nothing => true. #6545 [Josh Susser]
2006-11-02 03:36:41 -05:00
* Generator can show diff on file collision to help you decide whether to skip or overwrite. #6364 [jeffw, Jeremy Kemper]
2006-11-02 02:55:04 -05:00
* Generated directories are recursively svn added, like mkdir -p. #6416 [NeilW]
2006-10-31 20:57:06 -05:00
* resource and scaffold_resource generators add a restful route to config/routes.rb [Jeremy Kemper]
2006-10-30 20:29:34 -05:00
* Revert environment changes for autoload_paths. [Koz]
2006-10-28 12:55:06 -04:00
* 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]
2006-10-26 21:26:11 -04:00
* Clean up the output of rake stats, de-emphasise components and apis, and remove the indents for tests [Koz]
2006-10-26 12:59:35 -04:00
* Added option to script/process/spawner of specifying the binding address #5133 [zsombor]
2006-10-24 03:26:18 -04:00
* Update environment.rb comments to include config.autoload_paths. Closes #6478 [caio]
2006-10-24 03:16:16 -04:00
* Update scaffold to use new form_tag block functionality. Closes #6480. [BobSilva]
2006-10-23 15:22:01 -04:00
* Plugin generator: check for class collisions. #4833 [vinbarnes@gmail.com]
2006-10-20 15:06:07 -04:00
* Mailer generator: handle mailers in modules, set mime_version in unit test. [Jeremy Kemper]
2006-10-17 19:11:47 -04:00
* Set $KCODE to 'u' by default to enable the multibyte safe String#chars proxy. [Koz]
2006-10-17 16:27:03 -04:00
* 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 ]
2006-10-15 19:32:30 -04:00
* Clean up html on included error pages. [Tim Lucas]
2006-10-10 14:18:27 -04:00
* Fixed default 404.html and 500.htmls to remove extreme ugliness and include human language [DHH]
2006-10-09 18:09:08 -04:00
* Update to latest Prototype and script.aculo.us trunk versions [Thomas Fuchs]
2006-10-09 02:34:57 -04:00
* PostgreSQL: db:test:purge closes open database connections first. #6236 [alex]
2006-10-08 22:23:03 -04:00
* Fixed test:uncommitted on Windows (backslash issue) #4999 [paul@paulbutcher.com]
2006-10-08 22:19:58 -04:00
* 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]
2006-10-08 22:02:27 -04:00
* Added default timeout setting of 5 seconds to SQLite3 database.yml configurations [DHH]
2006-10-08 20:08:13 -04:00
* 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]
2006-09-29 03:45:08 -04:00
* script/runner can run files, pass on arguments, and be used as a shebang. #6286 [Tuxie, dlpond]
2006-09-26 03:10:08 -04:00
#!/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 }
2006-09-21 20:03:05 -04:00
* Look for rake tasks in plugin subdirs. #6259 [obrie]
2006-09-20 05:33:59 -04:00
* Added map.connect ':controller/:action/:id.:format' as a default route to config/routes.rb [DHH]
2006-09-16 19:00:17 -04:00
* Updated prototype.js to 1.5.0_rc1 with latest fixes. [Rick Olson]
- XPATH support
- Make Form.getElements() return elements in the correct order
- fix broken Form.serialize return
2006-09-13 19:35:55 -04:00
* session_migration generator adds an index on updated_at. #6207 [grg]
2006-09-13 19:25:02 -04:00
* script/server creates the tmp/pids directory. #6204 [jonathan]
2006-09-11 21:17:11 -04:00
* Fix script/console --sandbox for internal transactions changes. #5738 [chris@octopod.info, charles.gerungan@gmail.com]
2006-09-07 12:53:58 -04:00
* 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/*/']
2006-09-07 12:55:59 -04:00
References #6031. [Nicholas Seckar]
2006-09-07 12:53:58 -04:00
2006-09-05 06:42:41 -04:00
* Update to script.aculo.us 1.6.3 [Thomas Fuchs]
2006-09-05 00:17:06 -04:00
* Update to Prototype 1.5.0_rc1 [sam]
2006-09-03 20:49:08 -04:00
* Formally Deprecate the old rake tasks. [Koz]
2006-09-02 20:18:31 -04:00
* Thoroughly test the FCGI dispatcher. #5970 [Kevin Clark]
2006-09-02 11:50:52 -04:00
* Remove Dir.chdir in the Webrick DispatchServlet#initialize method. Fix bad path errors when trying to load config/routes.rb. [Rick Olson]
2006-08-30 23:16:28 -04:00
* Tighten rescue clauses. #5985 [james@grayproductions.net]
2006-08-29 06:33:40 -04:00
* Cleaning up tests. [Kevin Clark, Jeremy Kemper]
2006-08-29 06:15:25 -04:00
2006-08-29 02:52:39 -04:00
* Add Dependencies.load_once_paths. [Nicholas Seckar]
2006-08-15 10:20:55 -04:00
* Updated to script.aculo.us 1.6.2 [Thomas Fuchs]
2006-08-14 21:28:06 -04:00
* Assign Routing.controller_paths; fix script/about and rails info controller. [Nicholas Seckar]
2006-08-14 14:15:44 -04:00
* Don't warn dispatcher of Reloadable deprecations. [Nicholas Seckar]
2006-08-09 12:52:42 -04:00
* 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.
2006-08-08 22:24:15 -04:00
* Add missing mock directories from the autoload_paths configuration. [Rick Olson]
* Nested controller scaffolding also nests the generated layout. [iain d broadfoot]
2006-08-08 22:22:04 -04:00
2006-08-08 17:21:04 -04:00
* Add "require 'dispatcher'" to webrick server in the continuing quest to squash webrick weirdness. [Nicholas Seckar]
* Add autoload_paths support to Initializer. [Nicholas Seckar]
2006-08-07 13:00:03 -04:00
* Fix Dispatcher.reset_application! so that AR subclasses are removed and Observers re-initialized *after* Reloadable classes are removed. Closes #5743. [Rick Olson]
2006-08-07 02:42:24 -04:00
* Clarify usage of script/plugin source. Closes #5344. [james.adam@gmail.com]
2006-08-05 22:51:53 -04:00
* Add Dispatcher.to_prepare and config.to_prepare to provide a pre-request hook. [Nicholas Seckar]
2006-08-05 22:12:53 -04:00
* Tweak the Rails load order so observers are loaded after plugins, and reloaded in development mode. Closed #5279. [Rick Olson]
2006-08-05 18:11:24 -04:00
* Added that you can change the web server port in config/lighttpd.conf from script/server --port/-p #5465 [mats@imediatec.co.uk]
2006-08-05 17:30:44 -04:00
* script/performance/profiler compatibility with the new ruby-prof, including an option to choose the results printer. #5679 [shugo@ruby-lang.org]
2006-07-28 19:09:29 -04:00
* Fixed the failsafe response so it uses either the current recognized controller or ApplicationController. [Rick Olson]
2006-07-18 13:48:06 -04:00
* Make sure script/reaper only reaps dispatcher pids by default, and not the spawner's pid. [Jamis Buck]
2006-07-17 15:17:50 -04:00
* Fix script/plugin about so it uses about.yml and not meta.yml. [James Adam]
2006-07-07 21:34:22 -04:00
* Dispatcher processes rescued actions with the same controller that processed the request. #4625 [sd@notso.net]
2006-07-07 21:22:48 -04:00
* rails -d frontbase to create a new project with a frontbase database.yml. #4945 [mlaster@metavillage.com]
2006-07-06 16:37:49 -04:00
* Ensure the logger is initialized. #5629 [mike@clarkware.com]
2006-07-06 13:35:37 -04:00
* 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.
2006-07-05 19:48:27 -04:00
* Update scaffolding functional tests to use :id => people(:first) instead of :id => 1. #5612 [evan@protest.net]
2006-07-05 14:35:06 -04:00
* db:test:clone should remove existing tables before reloading the schema. #5607 [sveit@tradeharbor.com]
2006-07-05 00:40:48 -04:00
* Fixed migration generation for class names like ACLController #5197 [brad@madriska.com]
2006-07-04 22:02:30 -04:00
* 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"
2006-06-30 20:11:35 -04:00
* Generate scaffold layout in subdirectory appropriate to its module nesting. #5511 [nils@alumni.rice.edu]
2006-06-28 20:57:54 -04:00
* Mongrel: script/server tails the rails log like it does with lighttpd. Prefer mongrel over lighttpd. #5541 [mike@clarkware.com]
2006-06-28 20:31:45 -04:00
2006-06-28 19:51:50 -04:00
* Don't assume Active Record is available. #5497 [bob@sporkmonger.com]
2006-06-28 19:41:29 -04:00
* Mongrel: script/server works on Win32. #5499 [jeremydurham@gmail.com]
2006-06-28 16:53:00 -04:00
* Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440. [nicksieger@gmail.com]
2006-06-23 18:32:10 -04:00
* Mongrel support for script/server. #5475 [jeremydurham@gmail.com]
2006-06-12 12:07:58 -04:00
* Fix script/plugin so it doesn't barf on invalid URLs [Rick]
2006-06-11 13:17:32 -04:00
* Fix plugin install bug at dir with space. (closes #5359) [Yoshimasa NIWA]
2006-06-08 22:08:26 -04:00
* Fix bug with 'script/plugin install' so it reports unknown plugin names correctly. [Rick]
2006-06-03 18:26:44 -04:00
* 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]
2006-06-03 18:22:50 -04:00
* Create temporary dirs relative to RAILS_ROOT when running script/server #5014 [elliot@townx.org]
2006-06-01 11:42:08 -04:00
* Minor tweak to dispatcher to use recognize instead of recognize!, as per the new routes. [Jamis Buck]
2006-05-31 14:06:50 -04:00
* Make "script/plugin install" work with svn+ssh URLs. [Sam Stephenson]
2006-05-28 19:05:08 -04:00
* Added lib/ to the directories that will get application docs generated [DHH]
2006-05-23 13:14:23 -04:00
* Add observer generator. Closes #5167. [francois.beausoleil@gmail.com]
2006-05-22 17:09:47 -04:00
* Session migration generator obeys pluralize_table_names. #5145 [james.adam@gmail.com]
2006-05-12 00:41:23 -04:00
* rake test:recent understands subdirectories. #2925 [jerrett@bravenet.com]
2006-05-12 00:06:41 -04:00
* The app generator detects the XAMPP package's MySQL socket location. #3832 [elliot@townx.org]
2006-05-07 04:28:42 -04:00
* 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]
2006-05-02 18:39:48 -04:00
* Distinguish the spawners for different processes [DHH]
2006-05-02 18:18:20 -04:00
* Added -n/--process to script/process/spawner name the process pid (default is dispatch) [DHH]
2006-04-30 16:36:37 -04:00
* Namespaced OrderedHash so the Rails implementation does not clash with any others. (fixes #4911) [Julian Tarkhanov]
2006-04-29 14:10:14 -04:00
* Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
2006-04-27 23:56:30 -04:00
* Added script/process/inspector to do simple process status information on Rails dispatchers keeping pid files in tmp/pids [DHH]
2006-04-27 20:00:50 -04:00
* 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]
2006-04-09 17:09:45 -04:00
*1.1.2* (April 9th, 2005)
2006-04-07 14:21:52 -04:00
2006-04-26 15:29:35 -04:00
* Mention in docs that config.frameworks doesn't work when getting Rails via Gems. Closes #4857. [Alisdair McDiarmid]
2006-04-25 01:16:22 -04:00
* Change the scaffolding layout to use yield rather than @content_for_layout. [Marcel Molina Jr.]
2006-04-07 14:21:52 -04:00
* 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]
2006-04-07 13:48:47 -04:00
2006-04-16 15:10:05 -04:00
*1.1.1* (April 6th, 2006)
2006-03-28 19:14:05 -05:00
2006-04-06 11:31:41 -04:00
* Enhances plugin#discover allowing it to discover svn:// like URIs (closes #4565) [ruben.nine@gmail.com]
2006-04-06 00:57:14 -04:00
* Update to Prototype 1.5.0_rc0 [Sam Stephenson]
2006-04-05 23:17:42 -04:00
* Fixed that the -r/--ruby path option of the rails command was not being respected #4549 [ryan.raaum@gmail.com]
2006-04-05 00:52:31 -04:00
* 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]
2006-04-04 23:15:50 -04:00
* Fixed that rake clone_structure_to_test should quit on pgsql if the dump is unsuccesful #4585 [augustz@augustz.com]
2006-04-03 18:39:36 -04:00
* Fixed that rails --version should have the return code of 0 (success) #4560 [blair@orcaware.com]
2006-04-03 01:15:29 -04:00
* Install alias so Rails::InfoController is accessible at /rails_info. Closes #4546. [Nicholas Seckar]
2006-04-02 23:03:33 -04:00
* Fixed that spawner should daemonize if running in repeat mode [DHH]
2006-04-02 22:38:12 -04:00
* 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]
2006-04-01 14:47:31 -05:00
* Applied Prototype $() performance patches (#4465, #4477) and updated script.aculo.us [Sam Stephenson, Thomas Fuchs]
2006-04-01 14:08:04 -05:00
* Use --simple-prompt instead of --prompt-mode simple for console compatibility with Windows/Ruby 1.8.2 #4532 [starr@starrnhorne.com]
2006-04-01 01:29:32 -05:00
* Make Rails::VERSION implicitly loadable #4491. [Nicholas Seckar]
2006-04-01 00:49:19 -05:00
2006-04-01 01:29:32 -05:00
* 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]
2006-03-31 23:58:46 -05:00
2006-03-29 22:38:15 -05:00
* Added expiration settings for JavaScript, CSS, HTML, and images to default lighttpd.conf [DHH]
2006-03-29 10:11:47 -05:00
2006-03-28 19:14:05 -05:00
* Added gzip compression for JavaScript, CSS, and HTML to default lighttpd.conf [DHH]
2006-03-29 22:38:15 -05:00
* Avoid passing escapeHTML non-string in Rails' info controller [Nicholas Seckar]
2006-03-28 19:14:05 -05:00
2006-04-16 15:10:05 -04:00
*1.1.0* (March 27th, 2006)
2005-11-21 00:55:35 -05:00
2006-03-27 19:59:55 -05:00
* Allow db:fixtures:load to load a subset of the applications fixtures. [Chad Fowler]
ex.
rake db:fixtures:load FIXTURES=customers,plans
2006-03-27 00:47:17 -05:00
* Update to Prototype 1.5.0_pre1 [Sam Stephenson]
2006-03-26 03:37:19 -05:00
* Update to script.aculo.us 1.6 [Thomas Fuchs]
2006-03-25 14:57:03 -05:00
* Add an integration_test generator [Jamis Buck]
2006-03-23 16:56:38 -05:00
* 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.]
2006-03-21 15:07:41 -05:00
ex.
2006-03-23 16:56:38 -05:00
>> puts helper.options_for_select([%w(a 1), %w(b 2), %w(c 3)])
2006-03-21 15:07:41 -05:00
<option value="1">a</option>
<option value="2">b</option>
<option value="3">c</option>
=> nil
2006-03-20 00:45:22 -05:00
* Replaced old session rake tasks with db:sessions:create to generate a migration, and db:sessions:clear to remove sessions. [Rick Olson]
2006-03-19 13:55:31 -05:00
* Reject Ruby 1.8.3 when loading Rails; extract version checking code. [Chad Fowler]
2006-03-19 13:45:26 -05:00
* 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]
2006-03-19 13:21:06 -05:00
* Fix the rails_info controller by explicitly loading it, and marking it as not reloadable. [Nicholas Seckar]
2006-03-18 20:34:14 -05:00
* Fixed rails:freeze:gems for Windows #3274 [paul@paulbutcher.com]
2006-03-18 14:21:54 -05:00
* 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]
2006-03-13 20:57:12 -05:00
* Add verification to generated scaffolds, don't allow get for unsafe actions [Michael Koziarski]
2006-03-13 13:45:40 -05:00
* Don't replace application.js in public/javascripts if it already exists [Cody Fauser]
2006-03-12 22:21:09 -05:00
* Change test:uncommitted to delay execution of `svn status` by using internal Rake API's. [Nicholas Seckar]
2006-03-12 18:00:28 -05:00
* Use require_library_or_gem to load rake in commands/server.rb. Closes #4205. [rob.rasmussen@gmail.com]
2006-03-12 12:04:33 -05:00
* Use the Rake API instead of shelling out to create the tmp directory in commands/server.rb. [Chad Fowler]
2006-03-07 02:27:54 -05:00
* Added a backtrace to the evil WSOD (White Screen of Death). Closes #4073. TODO: Clearer exceptions [Rick Olson]
2006-03-05 16:38:51 -05:00
* Added tracking of database and framework versions in script/about #4088 [charles.gerungan@gmail.com/Rick Olson]
2006-03-04 18:53:41 -05:00
* Added public/javascripts/application.js as a sample since it'll automatically be included in javascript_include_tag :defaults [DHH]
2006-03-04 16:30:14 -05:00
2006-03-04 14:39:26 -05:00
* 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]
2006-03-02 22:00:55 -05:00
* Added reload! method to script/console to reload all models and others that include Reloadable without quitting the console #4056 [esad@esse.at]
2006-03-02 21:54:30 -05:00
* 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]
2006-03-01 21:56:26 -05:00
* Added fix for upload problems with lighttpd from Safari/IE to config/lighttpd.conf #3999 [thijs@fngtps.com]
2006-03-01 19:17:53 -05:00
* Added test:uncommitted to test changes since last checkin to Subversion #4035 [technomancy@gmail.com]
2006-03-01 11:30:09 -05:00
* Help script/about print the correct svn revision when in a non-English locale. #4026 [babie7a0@ybb.ne.jp]
2006-03-01 10:52:40 -05:00
* Add 'app' accessor to script/console as an instance of Integration::Session [Jamis Buck]
2006-02-28 15:58:29 -05:00
* Generator::Base#usage takes an optional message argument which defaults to Generator::Base#usage_message. [Jeremy Kemper]
2006-02-28 14:10:08 -05:00
* Remove the extraneous AR::Base.threaded_connections setting from the webrick server. [Jeremy Kemper]
2006-02-28 13:57:32 -05:00
* Add integration test support to app generation and testing [Jamis Buck]
2006-02-26 23:38:39 -05:00
* 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]
2006-02-26 19:23:49 -05:00
* 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]
2006-02-26 15:25:24 -05:00
* 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]
2006-02-25 20:12:58 -05:00
* 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
2006-02-25 19:37:11 -05:00
* Added more information to script/plugin's doings to ease debugging #3755 [Rick Olson]
2006-02-25 15:26:14 -05:00
* 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]
2006-02-25 14:13:04 -05:00
* 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]
2006-02-25 13:41:13 -05:00
* 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]
2006-02-23 16:47:34 -05:00
* Allow script/server -c /path/to/lighttpd.conf [Jeremy Kemper]
2006-02-22 17:43:43 -05:00
* Remove hardcoded path to reaper script in script/server [Jeremy Kemper]
2006-02-22 04:59:22 -05:00
* Update script.aculo.us to V1.5.3 [Thomas Fuchs]
2006-02-19 01:25:47 -05:00
* 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]
2006-02-12 12:41:53 -05:00
* 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]
2006-02-06 19:21:45 -05:00
* 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]
2006-01-29 23:08:05 -05:00
* 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]
2006-01-21 18:38:51 -05:00
* Fixed that static requests could unlock the mutex guarding dynamic requests in the WEBrick servlet #3433 [tom@craz8.com]
2006-01-21 18:14:10 -05:00
* Fixed documentation tasks to work with Rake 0.7.0 #3563 [kazuhiko@fdiary.net]
2006-01-18 18:19:47 -05:00
* Update to Prototype 1.5.0_pre0 [Sam Stephenson]
2006-01-18 18:14:47 -05:00
2006-01-14 04:15:34 -05:00
* Sort the list of plugins so we load in a consistent order [Rick Olson]
2006-01-14 04:00:48 -05:00
* Show usage when script/plugin is called without arguments [tom@craz8.com]
2006-01-13 04:40:05 -05:00
* Corrected problems with plugin loader where plugins set 'name' incorrectly #3297 [anna@wota.jp]
2006-01-13 04:26:53 -05:00
* Make migration generator only report on exact duplicate names, not partial dupliate names. #3442 [jeremy@planetargon.com Marcel Molina Jr.]
2006-01-13 03:31:07 -05:00
* Fix typo in mailer generator USAGE. #3458 [chriztian.steinmeier@gmail.com]
2006-01-12 20:29:28 -05:00
* Ignore version mismatch between pg_dump and the database server. #3457 [simon.stapleton@gmail.com]
2006-01-12 18:57:44 -05:00
* Reap FCGI processes after lighttpd exits. [Sam Stephenson]
2005-12-18 15:20:49 -05:00
* Honor ActiveRecord::Base.pluralize_table_names when creating and destroying session store table. #3204. [rails@bencurtis.com, Marcel Molina Jr.]
2006-03-27 23:05:08 -05:00
*1.0.0* (December 13th, 2005)
2005-12-11 00:06:06 -05:00
* Update instructions on how to find and install generators. #3172. [Chad Fowler]
2005-12-09 18:06:04 -05:00
* Generator looks in vendor/generators also. [Chad Fowler]
2005-12-09 13:36:34 -05:00
* Generator copies files in binary mode. #3156 [minimudboy@gmail.com]
2005-12-05 19:32:57 -05:00
* Add builtin/ to the gemspec. Closes #3047. [Nicholas Seckar, Sam Stephenson]
2005-12-03 01:53:14 -05:00
* Add install.rb file to plugin generation which is loaded, if it exists, when you install a plugin. [Marcel Molina Jr.]
2005-11-30 14:18:55 -05:00
* Run initialize_logger in script/lighttpd to ensure the log file exists before tailing it. [Sam Stephenson]
2005-11-28 18:34:09 -05:00
* Make load_fixtures include csv fixtures. #3053. [me@mdaines.com]
2005-11-27 19:53:38 -05:00
* Fix freeze_gems so that the latest rails version is dumped by default. [Nicholas Seckar]
2005-11-23 17:24:16 -05:00
* script/plugin: handle root paths and plugin names which contain spaces. #2995 [justin@aspect.net]
2005-11-22 16:33:56 -05:00
* Model generator: correct relative path to test_helper in unit test. [Jeremy Kemper]
2005-11-21 03:01:41 -05:00
* Make the db_schema_dump task honor the SCHEMA environment variable if present the way db_schema_import does. #2931. [Blair Zajac]
2005-11-21 01:19:25 -05:00
* Have the lighttpd server script report the actual ip to which the server is bound. #2903. [Adam]
2005-11-21 00:55:35 -05:00
* 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]
2005-11-21 00:33:13 -05:00
* Make help for the console command more explicit about how to specify the desired environment in which to run the console. #2911. [anonymous]
2005-11-07 23:26:34 -05:00
2005-11-20 07:00:46 -05:00
* PostgreSQL: the purge_test_database Rake task shouldn't explicitly specify the template0 template when creating a fresh test database. #2964 [dreamer3@gmail.com]
2005-11-20 00:13:59 -05:00
* Introducing the session_migration generator. Creates an add_session_table migration. Allows generator to specify migrations directory. #2958, #2960 [Rick Olson]
2005-11-19 23:21:06 -05:00
2005-11-18 02:33:28 -05:00
* script/console uses RAILS_ENV environment variable if present. #2932 [Blair Zajac <blair@orcaware.com>
2005-11-18 02:30:05 -05:00
* Windows: eliminate the socket option in database.yml. #2924 [Wayne Vucenic <waynev@gmail.com>]
2005-11-18 00:28:00 -05:00
* Eliminate nil from newly generated logfiles. #2927 [Blair Zajac <blair@orcaware.com>]
2005-11-16 19:32:16 -05:00
* Rename Version constant to VERSION. #2802 [Marcel Molina Jr.]
2005-11-13 18:39:52 -05:00
* 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]
2005-11-13 18:35:19 -05:00
2005-11-12 21:50:42 -05:00
* SQLite: the clone_structure_to_test and purge_test_database Rake tasks should always use the test environment. #2846 [Rick Olson]
2005-11-12 20:12:48 -05:00
2005-11-11 05:02:44 -05:00
* Make sure that legacy db tasks also reference :database for SQLite #2830 [kazuhiko@fdiary.net]
2005-11-10 11:25:06 -05:00
* Pass __FILE__ when evaluating plugins' init.rb. #2817 [james.adam@gmail.com]
2005-11-10 11:14:25 -05:00
* Better svn status matching for generators. #2814 [François Beausoleil <francois.beausoleil@gmail.com>, Blair Zajac <blair@orcaware.com>]
2005-11-10 05:45:39 -05:00
* Don't reload routes until plugins have been loaded so they have a chance to extend the routing capabilities [DHH]
2005-11-09 17:57:05 -05:00
* Don't detach or fork for script/server tailing [Nicholas Seckar]
2005-11-09 17:15:01 -05:00
* 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]
2005-11-09 16:15:41 -05:00
2005-11-09 10:11:55 -05:00
* 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
2005-11-08 05:43:40 -05:00
* Correct versioning in :freeze_gems Rake task. #2778 [jakob@mentalized.net, Jeremy Kemper]
2005-11-07 23:26:34 -05:00
* 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]
2006-02-25 19:37:11 -05:00
2005-11-07 14:40:27 -05:00
*0.14.3 (RC4)* (November 7th, 2005)
2005-10-26 08:50:29 -04:00
2005-11-07 13:09:31 -05:00
* Add 'add_new_scripts' rake task for adding new rails scripts to script/* [Jamis Buck]
2005-11-07 12:57:21 -05:00
* Remove bogus hyphen from script/process/reaper calls to 'ps'. #2767 [anonymous]
2005-11-07 12:45:53 -05:00
* Copy lighttpd.conf when it is first needed, instead of on app creation [Jamis Buck]
2005-11-07 10:35:03 -05:00
* Use require_library_or_gem 'fcgi' in script/server [Sam Stephenson]
2005-11-07 05:25:36 -05:00
* 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]
2005-11-07 03:09:38 -05:00
* 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]
2005-11-06 23:06:05 -05:00
* Make use of silence_stderr in script/lighttpd, script/plugin, and Rails::Info [Sam Stephenson]
2005-11-05 20:39:32 -05:00
* Enable HTTP installation of plugins when svn isn't avaialable. Closes #2661. [Chad Fowler]
2005-11-05 09:30:47 -05:00
* Added script/about to display formatted Rails::Info output [Sam Stephenson]
2005-11-04 23:44:33 -05:00
* Added Rails::Info to catalog assorted information about a Rails application's environment [Sam Stephenson]
2005-11-07 05:25:36 -05:00
* Tail the logfile when running script/server lighttpd in the foreground [Sam Stephenson]
2005-11-04 15:58:38 -05:00
2005-11-07 05:25:36 -05:00
* Try to guess the port number from config/lighttpd.conf in script/server lighttpd [Sam Stephenson]
2005-11-04 15:58:38 -05:00
2005-11-03 17:08:56 -05:00
* Don't reap spawn-fcgi. #2727 [matthew@walker.wattle.id.au]
2005-11-02 17:05:45 -05:00
* Reaper knows how to find processes even if the dispatch path is very long. #2711 [matthew@walker.wattle.id.au]
2005-11-02 08:21:22 -05:00
* Make fcgi handler respond to TERM signals with an explicit exit [Jamis Buck]
2005-11-02 05:15:31 -05:00
* Added demonstration of fixture use to the test case generated by the model generator [DHH]
2005-11-01 22:30:15 -05:00
* If specified, pass PostgreSQL client character encoding to createdb. #2703 [Kazuhiko <kazuhiko@fdiary.net>]
2005-11-01 20:20:36 -05:00
* Catch CGI multipart parse errors. Wrap dispatcher internals in a failsafe response handler. [Jeremy Kemper]
2005-11-01 13:29:41 -05:00
2005-11-01 13:26:06 -05:00
* 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]
2005-11-01 01:34:40 -05:00
* 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]
2005-10-30 12:17:05 -05:00
* 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]
2005-10-30 00:00:18 -04:00
* Comment database.yml and include PostgreSQL and SQLite examples. [Jeremy Kemper]
2005-10-29 19:44:25 -04:00
* Improve script/plugin on Windows. #2646 [Chad Fowler]
2005-10-29 19:04:10 -04:00
* 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>]
2005-10-29 13:07:49 -04:00
2005-10-29 11:52:07 -04:00
* Add task to generate rdoc for all installed plugins. [Marcel Molina]
2005-10-29 07:48:53 -04:00
* Update script.aculo.us to V1.5_rc4 [Thomas Fuchs]
2005-10-29 03:31:00 -04:00
* Add default Mac + DarwinPorts MySQL socket locations to the app generator. [Jeremy Kemper]
2005-10-29 00:47:51 -04:00
* Migrations may be destroyed: script/destroy migration foo. #2635 [Charles M. Gerungan <charles.gerungan@gmail.com>, Jamis Buck, Jeremy Kemper]
2005-10-28 19:52:34 -04:00
* 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]
2005-10-28 18:01:11 -04:00
* Removed app/apis as a default empty dir since its automatically created when using script/generate web_service [DHH]
2005-10-28 17:44:52 -04:00
2005-10-28 17:21:07 -04:00
* Added script/plugin to manage plugins (install, remove, list, etc) [Ryan Tomayko]
2005-10-28 16:28:09 -04:00
2005-10-28 15:52:28 -04:00
* Added test_plugins task: Run the plugin tests in vendor/plugins/**/test (or specify with PLUGIN=name) [DHH]
2005-10-28 12:33:25 -04:00
* Added plugin generator to create a stub structure for a new plugin in vendor/plugins (see "script/generate plugin" for help) [DHH]
2005-10-28 03:50:42 -04:00
* Fixed scaffold generator when started with only 1 parameter #2609 [self@mattmower.com]
2005-10-27 14:44:28 -04:00
* rake should run functional tests even if the unit tests have failures [Jim Weirich]
2005-10-27 13:00:25 -04:00
* Back off cleanpath to be symlink friendly. Closes #2533 [Nicholas Seckar]
2005-10-26 08:50:29 -04:00
* Load rake task files in alphabetical order so you can build dependencies and count on them #2554 [Blair Zajac]
2005-10-25 18:11:48 -04:00
*0.14.2 (RC3)* (October 26th, 2005)
2005-10-21 03:33:31 -04:00
2005-10-23 09:39:24 -04:00
* Constants set in the development/test/production environment file are set in Object
2005-10-22 12:02:53 -04:00
* Scaffold generator pays attention to the controller name. #2562 [self@mattmower.com]
2005-10-21 03:33:31 -04:00
* Include tasks from vendor/plugins/*/tasks in the Rakefile #2545 [Rick Olson]
2005-10-25 18:11:48 -04:00
*0.14.1 (RC2)* (October 19th, 2005)
2005-10-19 09:47:45 -04:00
* Don't clean RAILS_ROOT on windows
2005-10-18 10:08:54 -04:00
* Remove trailing '/' from RAILS_ROOT [Nicholas Seckar]
2005-10-19 02:24:12 -04:00
* Upgraded to Active Record 1.12.1 and Action Pack 1.10.1
2005-10-18 10:08:54 -04:00
2005-10-25 18:11:48 -04:00
*0.14.0 (RC1)* (October 16th, 2005)
2005-07-19 14:53:48 -04:00
2005-10-16 17:47:42 -04:00
* Moved generator folder from RAILS_ROOT/generators to RAILS_ROOT/lib/generators [Tobias Luetke]
2005-10-16 13:10:34 -04:00
* Fix rake dev and related commands [Nicholas Seckar]
2005-10-16 09:47:34 -04:00
* The rails command tries to deduce your MySQL socket by running `mysql_config
--socket`. If it fails, default to /path/to/your/mysql.sock
2005-10-16 05:51:04 -04:00
* Made the rails command use the application name for database names in the tailored database.yml file. Example: "rails ~/projects/blog" will use "blog_development" instead of "rails_development". [Florian Weber]
2005-10-15 11:00:15 -04:00
* Added Rails framework freezing tasks: freeze_gems (freeze to current gems), freeze_edge (freeze to Rails SVN trunk), unfreeze_rails (float with newest gems on system)
2005-10-15 00:06:39 -04:00
* Added update_javascripts task which will fetch all the latest js files from your current rails install. Use after updating rails. [Tobias Luetke]
2005-10-14 17:54:12 -04:00
* Added cleaning of RAILS_ROOT to useless elements such as '../non-dot-dot/'. Provides cleaner backtraces and error messages. [Nicholas Seckar]
2005-10-14 16:33:39 -04:00
* Made the instantiated/transactional fixtures settings be controlled through Rails::Initializer. Transactional and non-instantiated fixtures are default from now on. [Florian Weber]
2005-10-13 00:12:32 -04:00
* Support using different database adapters for development and test with ActiveRecord::Base.schema_format = :ruby [Sam Stephenson]
2005-10-12 20:05:32 -04:00
* Make webrick work with session(:off)
2005-10-09 17:15:45 -04:00
* Add --version, -v option to the Rails command. Closes #1840. [stancell]
2005-10-09 13:26:24 -04:00
* Update Prototype to V1.4.0_pre11, script.aculo.us to V1.5_rc3 [2504] and fix the rails generator to include the new .js files [Thomas Fuchs]
2005-10-09 12:56:23 -04:00
2005-10-08 12:56:36 -04:00
* Make the generator skip a file if it already exists and is identical to the new file.
2005-10-05 14:25:15 -04:00
* Add experimental plugin support #2335
2005-09-28 04:26:06 -04:00
* Made Rakefile aware of new .js files in script.aculo.us [Thomas Fuchs]
2005-09-27 20:21:01 -04:00
* Make table_name and controller_name in generators honor AR::Base.pluralize_table_names. #1216 #2213 [kazuhiko@fdiary.net]
2005-09-27 20:06:39 -04:00
2005-09-27 18:10:33 -04:00
* Clearly label functional and unit tests in rake stats output. #2297 [lasse.koskela@gmail.com]
2005-09-27 06:47:47 -04:00
* Make the migration generator only check files ending in *.rb when calculating the next file name #2317 [Chad Fowler]
2005-09-24 04:42:38 -04:00
* Added prevention of duplicate migrations from the generator #2240 [fbeausoleil@ftml.net]
2005-09-23 09:45:32 -04:00
* Add db_schema_dump and db_schema_import rake tasks to work with the new ActiveRecord::SchemaDumper (for dumping a schema to and reading a schema from a ruby file).
2005-09-13 06:23:28 -04:00
* Reformed all the config/environments/* files to conform to the new Rails::Configuration approach. Fully backwards compatible.
2005-09-12 13:32:36 -04:00
* Added create_sessions_table, drop_sessions_table, and purge_sessions_table as rake tasks for databases that supports migrations (MySQL, PostgreSQL, SQLite) to get a table for use with CGI::Session::ActiveRecordStore
2005-09-12 13:30:40 -04:00
2005-09-12 01:33:18 -04:00
* Added dump of schema version to the db_structure_dump task for databases that support migrations #1835 [Rick Olson]
2005-09-11 05:17:38 -04:00
* Fixed script/profiler for Ruby 1.8.2 #1863 [Rick Olson]
2005-09-11 05:16:48 -04:00
* Fixed clone_structure_to_test task for SQLite #1864 [jon@burningbush.us]
2005-09-09 05:07:43 -04:00
* Added -m/--mime-types option to the WEBrick server, so you can specify a Apache-style mime.types file to load #2059 [ask@develooper.com]
2005-09-09 05:02:55 -04:00
* Added -c/--svn option to the generator that'll add new files and remove destroyed files using svn add/revert/remove as appropriate #2064 [kevin.clark@gmail.com]
2005-09-09 05:07:43 -04:00
* Added -c/--charset option to WEBrick server, so you can specify a default charset (which without changes is UTF-8) #2084 [wejn@box.cz]
2005-09-09 04:59:07 -04:00
2005-09-05 11:39:20 -04:00
* Make the default stats task extendable by modifying the STATS_DIRECTORIES constant
2005-09-05 08:36:40 -04:00
* Allow the selected environment to define RAILS_DEFAULT_LOGGER, and have Rails::Initializer use it if it exists.
2005-09-03 11:13:06 -04:00
* Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is empty and doesn't require updating.
* Added Rails::Initializer and Rails::Configuration to abstract all of the common setup out of config/environment.rb (uses config/boot.rb to bootstrap the initializer and paths)
2005-09-03 03:29:30 -04:00
* Fixed the scaffold generator to fail right away if the database isn't accessible instead of in mid-air #1169 [Chad Fowler]
2005-09-02 06:04:15 -04:00
* Corrected project-local generator location in scripts.rb #2010 [Michael Schuerig]
2005-09-01 17:36:50 -04:00
* Don't require the environment just to clear the logs #2093 [Scott Barron]
2005-08-31 05:15:09 -04:00
* Make the default rakefile read *.rake files from config/tasks (for easy extension of the rakefile by e.g. generators)
2005-08-30 20:47:51 -04:00
* Only load breakpoint in development mode and when BREAKPOINT_SERVER_PORT is defined.
2005-08-24 13:30:00 -04:00
* Allow the --toggle-spin switch on process/reaper to be negated
2005-08-17 15:36:22 -04:00
* Replace render_partial with render :partial in scaffold generator [Nicholas Seckar]
2005-08-12 16:30:26 -04:00
* Added -w flag to ps in process/reaper #1934 [Scott Barron]
2005-07-24 04:16:07 -04:00
* Allow ERb in the database.yml file (just like with fixtures), so you can pull out the database configuration in environment variables #1822 [Duane Johnson]
2005-07-24 03:57:10 -04:00
* Added convenience controls for FCGI processes (especially when managed remotely): spinner, spawner, and reaper. They reside in script/process. More details can be had by calling them with -h/--help.
2005-07-22 02:43:03 -04:00
* Added load_fixtures task to the Rakefile, which will load all the fixtures into the database for the current environment #1791 [Marcel Molina]
2005-07-22 02:18:25 -04:00
* Added an empty robots.txt to public/, so that web servers asking for it won't trigger a dynamic call, like favicon.ico #1738 [michael@schubert]
2005-07-19 14:53:48 -04:00
* Dropped the 'immediate close-down' of FCGI processes since it didn't work consistently and produced bad responses when it didn't. So now a TERM ensures exit after the next request (just as if the process is handling a request when it receives the signal). This means that you'll have to 'nudge' all FCGI processes with a request in order to ensure that they have all reloaded. This can be done by something like ./script/process/repear --nudge 'http://www.myapp.com' --instances 10, which will load the myapp site 10 times (and thus hit all of the 10 FCGI processes once, enough to shut down).
2005-07-11 03:36:18 -04:00
*0.13.1* (11 July, 2005)
2005-07-08 17:13:29 -04:00
2005-07-12 22:12:00 -04:00
* Look for app-specific generators in RAILS_ROOT/generators rather than the clunky old RAILS_ROOT/script/generators. Nobody really uses this feature except for the unit tests, so it's a negligible-impact change. If you want to work with third-party generators, drop them in ~/.rails/generators or simply install gems.
2005-07-10 00:54:34 -04:00
* Fixed that each request with the WEBrick adapter would open a new database connection #1685 [Sam Stephenson]
2005-07-09 13:05:01 -04:00
* Added support for SQL Server in the database rake tasks #1652 [ken.barker@gmail.com] Note: osql and scptxfr may need to be installed on your development environment. This involves getting the .exes and a .rll (scptxfr) from a production SQL Server (not developer level SQL Server). Add their location to your Environment PATH and you are all set.
2005-07-09 11:46:29 -04:00
* Added a VERSION parameter to the migrate task that allows you to do "rake migrate VERSION=34" to migrate to the 34th version traveling up or down depending on the current version
* Extend Ruby version check to include RUBY_RELEASE_DATE >= '2005-12-25', the final Ruby 1.8.2 release #1674 [court3nay@gmail.com]
* Improved documentation for environment config files #1625 [court3nay@gmail.com]
2005-07-09 01:04:19 -04:00
2005-07-08 17:13:29 -04:00
2005-07-11 03:36:18 -04:00
*0.13.0* (6 July, 2005)
2005-04-30 11:37:45 -04:00
2005-07-05 13:23:41 -04:00
* Changed the default logging level in config/environment.rb to INFO for production (so SQL statements won't be logged)
2005-07-04 14:53:28 -04:00
* Added migration generator: ./script/generate migration add_system_settings
* Added "migrate" as rake task to execute all the pending migrations from db/migrate
2005-07-02 14:29:52 -04:00
* Fixed that model generator would make fixtures plural, even if ActiveRecord::Base.pluralize_table_names was false #1185 [Marcel Molina]
2005-07-02 07:21:25 -04:00
* Added a DOCTYPE of HTML transitional to the HTML files generated by Rails #1124 [Michael Koziarski]
2005-07-02 00:52:14 -04:00
* SIGTERM also gracefully exits dispatch.fcgi. Ignore SIGUSR1 on Windows.
2005-07-02 07:21:25 -04:00
* Add the option to manually manage garbage collection in the FastCGI dispatcher. Set the number of requests between GC runs in your public/dispatch.fcgi [skaes@web.de]
2005-07-02 00:52:14 -04:00
2005-06-29 07:07:20 -04:00
* Allow dynamic application reloading for dispatch.fcgi processes by sending a SIGHUP. If the process is currently handling a request, the request will be allowed to complete first. This allows production fcgi's to be reloaded without having to restart them.
2005-06-27 05:38:03 -04:00
* RailsFCGIHandler (dispatch.fcgi) no longer tries to explicitly flush $stdout (CgiProcess#out always calls flush)
2005-06-25 07:19:47 -04:00
* Fixed rakefile actions against PostgreSQL when the password is all numeric #1462 [michael@schubert.cx]
2005-06-24 07:57:40 -04:00
* ActionMailer::Base subclasses are reloaded with the other rails components #1262
2005-06-23 02:56:12 -04:00
* Made the WEBrick adapter not use a mutex around action performance if ActionController::Base.allow_concurrency is true (default is false)
2005-06-22 08:59:36 -04:00
2005-06-21 02:54:04 -04:00
* Fixed that mailer generator generated fixtures/plural while units expected fixtures/singular #1457 [Scott Barron]
2005-06-18 01:34:16 -04:00
* Added a 'whiny nil' that's aim to ensure that when users pass nil to methods where that isn't appropriate, instead of NoMethodError? and the name of some method used by the framework users will see a message explaining what type of object was expected. Only active in test and development environments by default #1209 [Michael Koziarski]
2005-06-16 02:08:55 -04:00
* Fixed the test_helper.rb to be safe for requiring controllers from multiple spots, like app/controllers/article_controller.rb and app/controllers/admin/article_controller.rb, without reloading the environment twice #1390 [Nicholas Seckar]
2005-06-16 02:01:52 -04:00
* Fixed Webrick to escape + characters in URL's the same way that lighttpd and apache do #1397 [Nicholas Seckar]
2005-06-16 01:50:24 -04:00
* Added -e/--environment option to script/runner #1408 [fbeausoleil@ftml.net]
2005-06-12 01:33:23 -04:00
* Modernize the scaffold generator to use the simplified render and test methods and to change style from @params["id"] to params[:id]. #1367
2005-05-21 07:05:18 -04:00
* Added graceful exit from pressing CTRL-C during the run of the rails command #1150 [Caleb Tennis]
2005-06-29 07:07:20 -04:00
* Allow graceful exits for dispatch.fcgi processes by sending a SIGUSR1. If the process is currently handling a request, the request will be allowed to complete and then will terminate itself. If a request is not being handled, the process is terminated immediately (via #exit). This basically works like restart graceful on Apache. [Jamis Buck]
2005-05-04 07:10:13 -04:00
* Made dispatch.fcgi more robust by catching fluke errors and retrying unless its a permanent condition. [Jamis Buck]
2005-06-16 02:46:22 -04:00
* Added console --profile for profiling an IRB session #1154 [Jeremy Kemper]
2005-04-30 11:37:45 -04:00
2005-06-16 02:46:22 -04:00
* Changed console_sandbox into console --sandbox #1154 [Jeremy Kemper]
2005-04-30 11:37:45 -04:00
2005-04-19 12:34:44 -04:00
*0.12.1* (20th April, 2005)
* Upgraded to Active Record 1.10.1, Action Pack 1.8.1, Action Mailer 0.9.1, Action Web Service 0.7.1
2005-04-18 16:10:11 -04:00
*0.12.0* (19th April, 2005)
2005-04-10 13:32:03 -04:00
2005-04-17 06:00:37 -04:00
* Fixed that purge_test_database would use database settings from the development environment when recreating the test database #1122 [rails@cogentdude.com]
2005-04-14 04:23:50 -04:00
* Added script/benchmarker to easily benchmark one or more statement a number of times from within the environment. Examples:
# runs the one statement 10 times
script/benchmarker 10 'Person.expensive_method(10)'
# pits the two statements against each other with 50 runs each
script/benchmarker 50 'Person.expensive_method(10)' 'Person.cheap_method(10)'
* Added script/profiler to easily profile a single statement from within the environment. Examples:
script/profiler 'Person.expensive_method(10)'
script/profiler 'Person.expensive_method(10)' 10 # runs the statement 10 times
2005-04-13 01:32:21 -04:00
* Added Rake target clear_logs that'll truncate all the *.log files in log/ to zero #1079 [Lucas Carlson]
2005-04-10 13:36:57 -04:00
* Added lazy typing for generate, such that ./script/generate cn == ./script/generate controller and the likes #1051 [k@v2studio.com]
2005-04-10 13:32:03 -04:00
* Fixed that ownership is brought over in pg_dump during tests for PostgreSQL #1060 [pburleson@gmail.com]
2005-04-18 16:10:11 -04:00
* Upgraded to Active Record 1.10.0, Action Pack 1.8.0, Action Mailer 0.9.0, Action Web Service 0.7.0, Active Support 1.0.4
2005-04-10 13:32:03 -04:00
2005-03-27 09:10:42 -05:00
*0.11.1* (27th March, 2005)
2005-03-22 19:54:05 -05:00
* Fixed the dispatch.fcgi use of a logger
2005-03-27 09:10:42 -05:00
* Upgraded to Active Record 1.9.1, Action Pack 1.7.0, Action Mailer 0.8.1, Action Web Service 0.6.2, Active Support 1.0.3
2005-03-22 19:54:05 -05:00
2005-03-22 07:41:34 -05:00
*0.11.0* (22th March, 2005)
2005-03-20 09:29:59 -05:00
2005-03-22 07:11:43 -05:00
* Removed SCRIPT_NAME from the WEBrick environment to prevent conflicts with PATH_INFO #896 [Nicholas Seckar]
* Removed ?$1 from the dispatch.f/cgi redirect line to get rid of 'complete/path/from/request.html' => nil being in the @params now that the ENV["REQUEST_URI"] is used to determine the path #895 [dblack/Nicholas Seckar]
2005-03-21 12:46:31 -05:00
* Added additional error handling to the FastCGI dispatcher to catch even errors taking down the entire process
2005-03-20 18:47:35 -05:00
* Improved the generated scaffold code a lot to take advantage of recent Rails developments #882 [Tobias Luetke]
2005-03-20 17:41:35 -05:00
* Combined the script/environment.rb used for gems and regular files version. If vendor/rails/* has all the frameworks, then files version is used, otherwise gems #878 [Nicholas Seckar]
2005-03-20 17:02:22 -05:00
* Changed .htaccess to allow dispatch.* to be called from a sub-directory as part of the push with Action Pack to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke]
2005-03-20 12:36:23 -05:00
* Added script/runner which can be used to run code inside the environment by eval'ing the first parameter. Examples:
./script/runner 'ReminderService.deliver'
./script/runner 'Mailer.receive(STDIN.read)'
This makes it easier to do CRON and postfix scripts without actually making a script just to trigger 1 line of code.
2005-03-20 11:44:48 -05:00
* Fixed webrick_server cookie handling to allow multiple cookes to be set at once #800, #813 [dave@cherryville.org]
2005-03-20 11:55:39 -05:00
* Fixed the Rakefile's interaction with postgresql to:
2005-03-20 09:41:26 -05:00
2005-03-20 11:55:39 -05:00
1. Use PGPASSWORD and PGHOST in the environment to fix prompting for
passwords when connecting to a remote db and local socket connections.
2005-03-20 12:36:23 -05:00
2. Add a '-x' flag to pg_dump which stops it dumping privileges #807 [rasputnik]
2005-03-20 11:55:39 -05:00
3. Quote the user name and use template0 when dumping so the functions doesn't get dumped too #855 [pburleson]
4. Use the port if available #875 [madrobby]
2005-03-20 09:29:59 -05:00
2005-03-22 07:41:34 -05:00
* Upgraded to Active Record 1.9.0, Action Pack 1.6.0, Action Mailer 0.8.0, Action Web Service 0.6.1, Active Support 1.0.2
2005-03-20 09:29:59 -05:00
2005-03-06 20:50:58 -05:00
*0.10.1* (7th March, 2005)
2005-02-27 15:35:12 -05:00
2005-03-06 18:39:12 -05:00
* Fixed rake stats to ignore editor backup files like model.rb~ #791 [skanthak]
2005-03-06 12:37:49 -05:00
* Added exception shallowing if the DRb server can't be started (not worth making a fuss about to distract new users) #779 [Tobias Luetke]
2005-03-06 12:22:56 -05:00
* Added an empty favicon.ico file to the public directory of new applications (so the logs are not spammed by its absence)
2005-03-06 09:37:08 -05:00
* Fixed that scaffold generator new template should use local variable instead of instance variable #778 [Dan Peterson]
2005-03-06 09:18:27 -05:00
* Allow unit tests to run on a remote server for PostgreSQL #781 [adamm@galacticasoftware.com]
2005-03-06 09:01:52 -05:00
* Added web_service generator (run ./script/generate web_service for help) #776 [Leon Bredt]
2005-03-06 07:32:02 -05:00
* Added app/apis and components to code statistics report #729 [Scott Barron]
2005-03-06 07:24:21 -05:00
* Fixed WEBrick server to use ABSOLUTE_RAILS_ROOT instead of working_directory #687 [Nicholas Seckar]
2005-03-06 07:20:53 -05:00
* Fixed rails_generator to be usable without RubyGems #686 [Cristi BALAN]
2005-03-06 06:42:17 -05:00
* Fixed -h/--help for generate and destroy generators #331
2005-03-04 07:12:55 -05:00
* Added begin/rescue around the FCGI dispatcher so no uncaught exceptions can bubble up to kill the process (logs to log/fastcgi.crash.log)
2005-02-28 04:07:03 -05:00
* Fixed that association#count would produce invalid sql when called sequentialy #659 [kanis@comcard.de]
2005-02-27 15:43:08 -05:00
* Fixed test/mocks/testing to the correct test/mocks/test #740
2005-02-27 15:40:10 -05:00
* Added early failure if the Ruby version isn't 1.8.2 or above #735
2005-02-27 15:35:12 -05:00
* Removed the obsolete -i/--index option from the WEBrick servlet #743
2005-03-06 20:50:58 -05:00
* Upgraded to Active Record 1.8.0, Action Pack 1.5.1, Action Mailer 0.7.1, Action Web Service 0.6.0, Active Support 1.0.1
2005-02-27 15:35:12 -05:00
2005-02-24 08:16:41 -05:00
*0.10.0* (24th February, 2005)
2005-02-07 08:14:05 -05:00
2005-02-23 07:26:25 -05:00
* Changed default IP binding for WEBrick from 127.0.0.1 to 0.0.0.0 so that the server is accessible both locally and remotely #696 [Marcel]
2005-02-20 18:04:42 -05:00
* Fixed that script/server -d was broken so daemon mode couldn't be used #687 [Nicholas Seckar]
2005-02-20 17:28:11 -05:00
* Upgraded to breakpoint 92 which fixes:
* overload IRB.parse_opts(), fixes #443
=> breakpoints in tests work even when running them via rake
* untaint handlers, might fix an issue discussed on the Rails ML
* added verbose mode to breakpoint_client
* less noise caused by breakpoint_client by default
* ignored TerminateLineInput exception in signal handler
=> quiet exit on Ctrl-C
2005-02-20 08:58:03 -05:00
* Added support for independent components residing in /components. Example:
Controller: components/list/items_controller.rb
(holds a List::ItemsController class with uses_component_template_root called)
Model : components/list/item.rb
(namespace is still shared, so an Item model in app/models will take precedence)
Views : components/list/items/show.rhtml
2005-06-16 02:46:22 -04:00
* Added --sandbox option to script/console that'll roll back all changes made to the database when you quit #672 [Jeremy Kemper]
2005-02-19 16:57:43 -05:00
2005-06-16 02:46:22 -04:00
* Added 'recent' as a rake target that'll run tests for files that changed in the last 10 minutes #612 [Jeremy Kemper]
2005-02-17 15:12:27 -05:00
2005-06-16 02:46:22 -04:00
* Changed script/console to default to development environment and drop --no-inspect #650 [Jeremy Kemper]
2005-02-17 14:36:49 -05:00
2005-06-16 02:46:22 -04:00
* Added that the 'fixture :posts' syntax can be used for has_and_belongs_to_many fixtures where a model doesn't exist #572 [Jeremy Kemper]
2005-02-07 09:15:53 -05:00
2005-02-07 09:08:38 -05:00
* Added that running test_units and test_functional now performs the clone_structure_to_test as well #566 [rasputnik]
2005-06-16 02:46:22 -04:00
* Added new generator framework that informs about its doings on generation and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [Jeremy Kemper]
2005-02-07 08:14:05 -05:00
2005-02-24 08:16:41 -05:00
* Added Action Web Service as a new add-on framework for Action Pack [Leon Bredt]
* Added Active Support as an independent utility and standard library extension bundle
* Upgraded to Active Record 1.7.0, Action Pack 1.5.0, Action Mailer 0.7.0
2005-02-07 08:14:05 -05:00
2005-01-25 15:10:24 -05:00
*0.9.5* (January 25th, 2005)
2005-01-22 09:39:03 -05:00
2005-01-25 13:45:06 -05:00
* Fixed dependency reloading by switching to a remove_const approach where all Active Records, Active Record Observers, and Action Controllers are reloading by undefining their classes. This enables you to remove methods in all three types and see the change reflected immediately and it fixes #539. This also means that only those three types of classes will benefit from the const_missing and reloading approach. If you want other classes (like some in lib/) to reload, you must use require_dependency to do it.
2005-01-24 11:19:29 -05:00
2005-01-24 08:41:57 -05:00
* Added Florian Gross' latest version of Breakpointer and friends that fixes a variaty of bugs #441 [Florian Gross]
2005-01-24 08:12:40 -05:00
* Fixed skeleton Rakefile to work with sqlite3 out of the box #521 [rasputnik]
2005-01-24 06:59:22 -05:00
* Fixed that script/breakpointer didn't get the Ruby path rewritten as the other scripts #523 [brandt@kurowski.net]
2005-01-24 05:58:17 -05:00
* Fixed handling of syntax errors in models that had already been succesfully required once in the current interpreter
2005-01-23 19:26:44 -05:00
* Fixed that models that weren't referenced in associations weren't being reloaded in the development mode by reinstating the reload
2005-01-22 09:39:03 -05:00
* Fixed that generate scaffold would produce bad functional tests
* Fixed that FCGI can also display SyntaxErrors
2005-01-25 15:10:24 -05:00
* Upgraded to Active Record 1.6.0, Action Pack 1.4.0
2005-01-22 09:39:03 -05:00
2005-01-18 09:13:12 -05:00
*0.9.4.1* (January 18th, 2005)
2005-01-17 12:31:15 -05:00
2005-01-18 04:58:48 -05:00
* Added 5-second timeout to WordNet alternatives on creating reserved-word models #501 [Marcel Molina]
2005-01-17 12:31:15 -05:00
* Fixed binding of caller #496 [Alexey]
2005-01-18 09:13:12 -05:00
* Upgraded to Active Record 1.5.1, Action Pack 1.3.1, Action Mailer 0.6.1
2005-01-17 12:31:15 -05:00
2005-01-16 20:13:15 -05:00
*0.9.4* (January 17th, 2005)
2005-01-04 17:50:15 -05:00
2005-01-16 20:05:14 -05:00
* Added that ApplicationController will catch a ControllerNotFound exception if someone attempts to access a url pointing to an unexisting controller [Tobias Luetke]
2005-01-15 13:19:51 -05:00
* Flipped code-to-test ratio around to be more readable #468 [Scott Baron]
2005-01-15 12:28:01 -05:00
* Fixed log file permissions to be 666 instead of 777 (so they're not executable) #471 [Lucas Carlson]
2005-01-15 08:26:48 -05:00
* Fixed that auto reloading would some times not work or would reload the models twice #475 [Tobias Luetke]
2005-01-15 08:22:58 -05:00
* Added rewrite rules to deal with caching to public/.htaccess
2005-01-13 10:49:26 -05:00
* Added the option to specify a controller name to "generate scaffold" and made the default controller name the plural form of the model.
2005-01-10 19:07:35 -05:00
* Added that rake clone_structure_to_test, db_structure_dump, and purge_test_database tasks now pick up the source database to use from
RAILS_ENV instead of just forcing development #424 [Tobias Luetke]
2005-01-10 18:47:32 -05:00
* Fixed script/console to work with Windows (that requires the use of irb.bat) #418 [octopod]
2005-01-06 10:56:57 -05:00
* Fixed WEBrick servlet slowdown over time by restricting the load path reloading to mod_ruby
2005-01-04 17:50:15 -05:00
* Removed Fancy Indexing as a default option on the WEBrick servlet as it made it harder to use various caching schemes
2005-01-16 20:13:15 -05:00
* Upgraded to Active Record 1.5, Action Pack 1.3, Action Mailer 0.6
2005-01-04 17:50:15 -05:00
2005-01-04 07:35:10 -05:00
*0.9.3* (January 4th, 2005)
2004-12-22 19:52:34 -05:00
2005-01-03 18:15:22 -05:00
* Added support for SQLite in the auto-dumping/importing of schemas for development -> test #416
2005-01-01 13:10:10 -05:00
* Added automated rewriting of the shebang lines on installs through the gem rails command #379 [Manfred Stienstra]
2005-01-04 07:35:10 -05:00
* Added ActionMailer::Base.deliver_method = :test to the test environment so that mail objects are available in ActionMailer::Base.deliveries
for functional testing.
* Added protection for creating a model through the generators with a name of an existing class, like Thread or Date.
It'll even offer you a synonym using wordnet.princeton.edu as a look-up. No, I'm not kidding :) [Florian Gross]
2004-12-31 11:38:24 -05:00
2004-12-29 19:20:52 -05:00
* Fixed dependency management to happen in a unified fashion for Active Record and Action Pack using the new Dependencies module. This means that
the environment options needs to change from:
Before in development.rb:
2005-01-01 13:10:10 -05:00
ActionController::Base.reload_dependencies = true
ActiveRecord::Base.reload_associations = true
2004-12-29 19:20:52 -05:00
Now in development.rb:
Dependencies.mechanism = :load
Before in production.rb and test.rb:
2005-01-01 13:10:10 -05:00
ActionController::Base.reload_dependencies = false
ActiveRecord::Base.reload_associations = false
2004-12-29 19:20:52 -05:00
Now in production.rb and test.rb:
Dependencies.mechanism = :require
2005-01-04 07:35:10 -05:00
* Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #351
2004-12-23 14:12:07 -05:00
2005-01-04 07:35:10 -05:00
* Fixed that generated action_mailers doesnt need to require the action_mailer since thats already done in the environment #382 [Lucas Carlson]
2004-12-22 19:52:34 -05:00
2005-01-04 07:48:09 -05:00
* Upgraded to Action Pack 1.2.0 and Active Record 1.4.0
2004-12-22 19:52:34 -05:00
2004-12-22 18:56:17 -05:00
*0.9.2*
2004-12-17 19:47:30 -05:00
2004-12-22 08:17:35 -05:00
* Fixed CTRL-C exists from the Breakpointer to be a clean affair without error dumping [Kent Sibilev]
2004-12-22 08:08:26 -05:00
* Fixed "rake stats" to work with sub-directories in models and controllers and to report the code to test ration [Scott Baron]
2004-12-20 08:21:01 -05:00
* Added that Active Record associations are now reloaded instead of cleared to work with the new const_missing hook in Active Record.
2004-12-19 08:29:39 -05:00
* Added graceful handling of an inaccessible log file by redirecting output to STDERR with a warning #330 [rainmkr]
2004-12-19 07:55:22 -05:00
* Added support for a -h/--help parameter in the generator #331 [Ulysses]
2004-12-22 18:56:17 -05:00
* Fixed that File.expand_path in config/environment.rb would fail when dealing with symlinked public directories [mjobin]
* Upgraded to Action Pack 1.1.0 and Active Record 1.3.0
2004-12-17 19:47:30 -05:00
2004-12-16 19:42:53 -05:00
*0.9.1*
* Upgraded to Action Pack 1.0.1 for important bug fix
* Updated gem dependencies
*0.9.0*
2004-11-23 20:04:44 -05:00
2004-12-16 10:45:55 -05:00
* Renamed public/dispatch.servlet to script/server -- it wasn't really dispatching anyway as its delegating calls to public/dispatch.rb
2004-12-15 06:30:09 -05:00
* Renamed AbstractApplicationController and abstract_application.rb to ApplicationController and application.rb, so that it will be possible
for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb
2004-12-16 10:47:04 -05:00
* Added script/console that makes it even easier to start an IRB session for interacting with the domain model. Run with no-args to
2004-12-06 13:19:24 -05:00
see help.
2004-12-16 10:45:55 -05:00
* Added breakpoint support through the script/breakpointer client. This means that you can break out of execution at any point in
2004-11-23 20:04:44 -05:00
the code, investigate and change the model, AND then resume execution! Example:
class WeblogController < ActionController::Base
def index
@posts = Post.find_all
breakpoint "Breaking out from the list"
end
end
2004-12-16 10:45:55 -05:00
So the controller will accept the action, run the first line, then present you with a IRB prompt in the breakpointer window.
Here you can do things like:
2004-11-23 20:04:44 -05:00
Executing breakpoint "Breaking out from the list" at .../webrick_server.rb:16 in 'breakpoint'
>> @posts.inspect
=> "[#<Post:0x14a6be8 @attributes={\"title\"=>nil, \"body\"=>nil, \"id\"=>\"1\"}>,
#<Post:0x14a6620 @attributes={\"title\"=>\"Rails you know!\", \"body\"=>\"Only ten..\", \"id\"=>\"2\"}>]"
>> @posts.first.title = "hello from a breakpoint"
=> "hello from a breakpoint"
...and even better is that you can examine how your runtime objects actually work:
>> f = @posts.first
=> #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>
>> f.
Display all 152 possibilities? (y or n)
Finally, when you're ready to resume execution, you press CTRL-D
* Changed environments to be configurable through an environment variable. By default, the environment is "development", but you
can change that and set your own by configuring the Apache vhost with a string like (mod_env must be available on the server):
SetEnv RAILS_ENV production
...if you're using WEBrick, you can pick the environment to use with the command-line parameters -e/--environment, like this:
ruby public/dispatcher.servlet -e production
* Added a new default environment called "development", which leaves the production environment to be tuned exclusively for that.
* Added a start_server in the root of the Rails application to make it even easier to get started
* Fixed public/.htaccess to use RewriteBase and share the same rewrite rules for all the dispatch methods
* Fixed webrick_server to handle requests in a serialized manner (the Rails reloading infrastructure is not thread-safe)
* Added support for controllers in directories. So you can have:
app/controllers/account_controller.rb # URL: /account/
app/controllers/admin/account_controller.rb # URL: /admin/account/
NOTE: You need to update your public/.htaccess with the new rules to pick it up
* Added reloading for associations and dependencies under cached environments like FastCGI and mod_ruby. This makes it possible to use
those environments for development. This is turned on by default, but can be turned off with
ActiveRecord::Base.reload_associations = false and ActionController::Base.reload_dependencies = false in production environments.
* Added support for sub-directories in app/models. So now you can have something like Basecamp with:
app/models/accounting
app/models/project
app/models/participants
app/models/settings
It's poor man's namespacing, but only for file-system organization. You still require files just like before.
Nothing changes inside the files themselves.
2005-06-16 02:46:22 -04:00
* Fixed a few references in the tests generated by new_mailer [Jeremy Kemper]
2004-11-23 20:04:44 -05:00
* Added support for mocks in testing with test/mocks
* Cleaned up the environments a bit and added global constant RAILS_ROOT
*0.8.5* (9)
2005-06-16 02:46:22 -04:00
* Made dev-util available to all tests, so you can insert breakpoints in any test case to get an IRB prompt at that point [Jeremy Kemper]:
2004-11-23 20:04:44 -05:00
def test_complex_stuff
@david.projects << @new_project
breakpoint "Let's have a closer look at @david"
end
You need to install dev-utils yourself for this to work ("gem install dev-util").
2005-06-16 02:46:22 -04:00
* Added shared generator behavior so future upgrades should be possible without manually copying over files [Jeremy Kemper]
2004-11-23 20:04:44 -05:00
2005-06-16 02:46:22 -04:00
* Added the new helper style to both controller and helper templates [Jeremy Kemper]
2004-11-23 20:04:44 -05:00
2005-06-16 02:46:22 -04:00
* Added new_crud generator for creating a model and controller at the same time with explicit scaffolding [Jeremy Kemper]
2004-11-23 20:04:44 -05:00
* Added configuration of Test::Unit::TestCase.fixture_path to test_helper to concide with the new AR fixtures style
* Fixed that new_model was generating singular table/fixture names
* Upgraded to Action Mailer 0.4.0
* Upgraded to Action Pack 0.9.5
* Upgraded to Active Record 1.1.0
*0.8.0 (15)*
* Removed custom_table_name option for new_model now that the Inflector is as powerful as it is
* Changed the default rake action to just do testing and separate API generation and coding statistics into a "doc" task.
* Fixed WEBrick dispatcher to handle missing slashes in the URLs gracefully [alexey]
* Added user option for all postgresql tool calls in the rakefile [elvstone]
* Fixed problem with running "ruby public/dispatch.servlet" instead of "cd public; ruby dispatch.servlet" [alexey]
* Fixed WEBrick server so that it no longer hardcodes the ruby interpreter used to "ruby" but will get the one used based
on the Ruby runtime configuration. [Marcel Molina Jr.]
* Fixed Dispatcher so it'll route requests to magic_beans to MagicBeansController/magic_beans_controller.rb [Caio Chassot]
* "new_controller MagicBeans" and "new_model SubscriptionPayments" will now both behave properly as they use the new Inflector.
* Fixed problem with MySQL foreign key constraint checks in Rake :clone_production_structure_to_test target [Andreas Schwarz]
* Changed WEBrick server to by default be auto-reloading, which is slower but makes source changes instant.
Class compilation cache can be turned on with "-c" or "--cache-classes".
* Added "-b/--binding" option to WEBrick dispatcher to bind the server to a specific IP address (default: 127.0.0.1) [Kevin Temp]
* dispatch.fcgi now DOESN'T set FCGI_PURE_RUBY as it was slowing things down for now reason [Andreas Schwarz]
* Added new_mailer generator to work with Action Mailer
* Included new framework: Action Mailer 0.3
* Upgraded to Action Pack 0.9.0
* Upgraded to Active Record 1.0.0
*0.7.0*
* Added an optional second argument to the new_model script that allows the programmer to specify the table name,
which will used to generate a custom table_name method in the model and will also be used in the creation of fixtures.
[Kevin Radloff]
* script/new_model now turns AccountHolder into account_holder instead of accountholder [Kevin Radloff]
* Fixed the faulty handleing of static files with WEBrick [Andreas Schwarz]
* Unified function_test_helper and unit_test_helper into test_helper
* Fixed bug with the automated production => test database dropping on PostgreSQL [dhawkins]
* create_fixtures in both the functional and unit test helper now turns off the log during fixture generation
and can generate more than one fixture at a time. Which makes it possible for assignments like:
@people, @projects, @project_access, @companies, @accounts =
create_fixtures "people", "projects", "project_access", "companies", "accounts"
* Upgraded to Action Pack 0.8.5 (locally-scoped variables, partials, advanced send_file)
* Upgraded to Active Record 0.9.5 (better table_name guessing, cloning, find_all_in_collection)
*0.6.5*
* No longer specifies a template for rdoc, so it'll use whatever is default (you can change it in the rakefile)
* The new_model generator will now use the same rules for plural wordings as Active Record
(so Category will give categories, not categorys) [Kevin Radloff]
* dispatch.fcgi now sets FCGI_PURE_RUBY to true to ensure that it's the Ruby version that's loaded [danp]
* Made the GEM work with Windows
* Fixed bug where mod_ruby would "forget" the load paths added when switching between controllers
* PostgreSQL are now supported for the automated production => test database dropping [Kevin Radloff]
* Errors thrown by the dispatcher are now properly handled in FCGI.
* Upgraded to Action Pack 0.8.0 (lots and lots and lots of fixes)
* Upgraded to Active Record 0.9.4 (a bunch of fixes)
*0.6.0*
* Added AbstractionApplicationController as a superclass for all controllers generated. This class can be used
to carry filters and methods that are to be shared by all. It has an accompanying ApplicationHelper that all
controllers will also automatically have available.
* Added environments that can be included from any script to get the full Active Record and Action Controller
context running. This can be used by maintenance scripts or to interact with the model through IRB. Example:
require 'config/environments/production'
for account in Account.find_all
account.recalculate_interests
end
A short migration script for an account model that had it's interest calculation strategy changed.
* Accessing the index of a controller with "/weblog" will now redirect to "/weblog/" (only on Apache, not WEBrick)
* Simplified the default Apache config so even remote requests are served off CGI as a default.
You'll now have to do something specific to activate mod_ruby and FCGI (like using the force urls).
This should make it easier for new comers that start on an external server.
* Added more of the necessary Apache options to .htaccess to make it easier to setup
* Upgraded to Action Pack 0.7.9 (lots of fixes)
* Upgraded to Active Record 0.9.3 (lots of fixes)
*0.5.7*
* Fixed bug in the WEBrick dispatcher that prevented it from getting parameters from the URL
(through GET requests or otherwise)
* Added lib in root as a place to store app specific libraries
* Added lib and vendor to load_path, so anything store within can be loaded directly.
Hence lib/redcloth.rb can be loaded with require "redcloth"
* Upgraded to Action Pack 0.7.8 (lots of fixes)
* Upgraded to Active Record 0.9.2 (minor upgrade)
*0.5.6*
* Upgraded to Action Pack 0.7.7 (multipart form fix)
* Updated the generated template stubs to valid XHTML files
* Ensure that controllers generated are capitalized, so "new_controller TodoLists"
gives the same as "new_controller Todolists" and "new_controller todolists".
*0.5.5*
* Works on Windows out of the box! (Dropped symlinks)
* Added webrick dispatcher: Try "ruby public/dispatch.servlet --help" [Florian Gross]
* Report errors about initialization to browser (instead of attempting to use uninitialized logger)
* Upgraded to Action Pack 0.7.6
* Upgraded to Active Record 0.9.1
* Added distinct 500.html instead of reusing 404.html
* Added MIT license
*0.5.0*
* First public release