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