railties 3.1.1 → 3.1.2.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +2382 -0
- data/guides/output/2_2_release_notes.html +565 -0
- data/guides/output/2_3_release_notes.html +713 -0
- data/guides/output/3_0_release_notes.html +652 -0
- data/guides/output/3_1_release_notes.html +670 -0
- data/guides/output/action_controller_overview.html +925 -0
- data/guides/output/action_mailer_basics.html +658 -0
- data/guides/output/action_view_overview.html +1471 -0
- data/guides/output/active_model_basics.html +349 -0
- data/guides/output/active_record_basics.html +364 -0
- data/guides/output/active_record_querying.html +1272 -0
- data/guides/output/active_record_validations_callbacks.html +1292 -0
- data/guides/output/active_resource_basics.html +252 -0
- data/guides/output/active_support_core_extensions.html +3374 -0
- data/guides/output/ajax_on_rails.html +412 -0
- data/guides/output/api_documentation_guidelines.html +317 -0
- data/guides/output/asset_pipeline.html +691 -0
- data/guides/output/association_basics.html +1742 -0
- data/guides/output/caching_with_rails.html +533 -0
- data/guides/output/command_line.html +662 -0
- data/guides/output/configuring.html +811 -0
- data/guides/output/contribute.html +216 -0
- data/guides/output/contributing_to_ruby_on_rails.html +465 -0
- data/guides/output/credits.html +210 -0
- data/guides/output/debugging_rails_applications.html +791 -0
- data/guides/output/engines.html +673 -0
- data/guides/output/form_helpers.html +850 -0
- data/guides/output/generators.html +725 -0
- data/guides/output/getting_started.html +1980 -0
- data/guides/output/i18n.html +1054 -0
- data/guides/output/images/belongs_to.png +0 -0
- data/guides/output/images/book_icon.gif +0 -0
- data/guides/output/images/bullet.gif +0 -0
- data/guides/output/images/challenge.png +0 -0
- data/guides/output/images/chapters_icon.gif +0 -0
- data/guides/output/images/check_bullet.gif +0 -0
- data/guides/output/images/credits_pic_blank.gif +0 -0
- data/guides/output/images/csrf.png +0 -0
- data/guides/output/images/customized_error_messages.png +0 -0
- data/guides/output/images/edge_badge.png +0 -0
- data/guides/output/images/error_messages.png +0 -0
- data/guides/output/images/feature_tile.gif +0 -0
- data/guides/output/images/footer_tile.gif +0 -0
- data/guides/output/images/fxn.png +0 -0
- data/guides/output/images/grey_bullet.gif +0 -0
- data/guides/output/images/habtm.png +0 -0
- data/guides/output/images/has_many.png +0 -0
- data/guides/output/images/has_many_through.png +0 -0
- data/guides/output/images/has_one.png +0 -0
- data/guides/output/images/has_one_through.png +0 -0
- data/guides/output/images/header_backdrop.png +0 -0
- data/guides/output/images/header_tile.gif +0 -0
- data/guides/output/images/i18n/demo_html_safe.png +0 -0
- data/guides/output/images/i18n/demo_localized_pirate.png +0 -0
- data/guides/output/images/i18n/demo_translated_en.png +0 -0
- data/guides/output/images/i18n/demo_translated_pirate.png +0 -0
- data/guides/output/images/i18n/demo_translation_missing.png +0 -0
- data/guides/output/images/i18n/demo_untranslated.png +0 -0
- data/guides/output/images/icons/README +5 -0
- data/guides/output/images/icons/callouts/1.png +0 -0
- data/guides/output/images/icons/callouts/10.png +0 -0
- data/guides/output/images/icons/callouts/11.png +0 -0
- data/guides/output/images/icons/callouts/12.png +0 -0
- data/guides/output/images/icons/callouts/13.png +0 -0
- data/guides/output/images/icons/callouts/14.png +0 -0
- data/guides/output/images/icons/callouts/15.png +0 -0
- data/guides/output/images/icons/callouts/2.png +0 -0
- data/guides/output/images/icons/callouts/3.png +0 -0
- data/guides/output/images/icons/callouts/4.png +0 -0
- data/guides/output/images/icons/callouts/5.png +0 -0
- data/guides/output/images/icons/callouts/6.png +0 -0
- data/guides/output/images/icons/callouts/7.png +0 -0
- data/guides/output/images/icons/callouts/8.png +0 -0
- data/guides/output/images/icons/callouts/9.png +0 -0
- data/guides/output/images/icons/caution.png +0 -0
- data/guides/output/images/icons/example.png +0 -0
- data/guides/output/images/icons/home.png +0 -0
- data/guides/output/images/icons/important.png +0 -0
- data/guides/output/images/icons/next.png +0 -0
- data/guides/output/images/icons/note.png +0 -0
- data/guides/output/images/icons/prev.png +0 -0
- data/guides/output/images/icons/tip.png +0 -0
- data/guides/output/images/icons/up.png +0 -0
- data/guides/output/images/icons/warning.png +0 -0
- data/guides/output/images/jaimeiniesta.jpg +0 -0
- data/guides/output/images/nav_arrow.gif +0 -0
- data/guides/output/images/polymorphic.png +0 -0
- data/guides/output/images/posts_index.png +0 -0
- data/guides/output/images/radar.png +0 -0
- data/guides/output/images/rails_guides_logo.gif +0 -0
- data/guides/output/images/rails_logo_remix.gif +0 -0
- data/guides/output/images/rails_welcome.png +0 -0
- data/guides/output/images/session_fixation.png +0 -0
- data/guides/output/images/tab_grey.gif +0 -0
- data/guides/output/images/tab_info.gif +0 -0
- data/guides/output/images/tab_note.gif +0 -0
- data/guides/output/images/tab_red.gif +0 -0
- data/guides/output/images/tab_yellow.gif +0 -0
- data/guides/output/images/tab_yellow.png +0 -0
- data/guides/output/images/validation_error_messages.png +0 -0
- data/guides/output/images/vijaydev.jpg +0 -0
- data/guides/output/index.html +300 -0
- data/guides/output/initialization.html +1087 -0
- data/guides/output/javascripts/guides.js +7 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushAS3.js +59 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushAppleScript.js +75 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushBash.js +59 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushCSharp.js +65 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushColdFusion.js +100 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushCpp.js +97 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushCss.js +91 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushDelphi.js +55 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushDiff.js +41 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushErlang.js +52 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushGroovy.js +67 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushJScript.js +52 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushJava.js +57 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushJavaFX.js +58 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPerl.js +72 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPhp.js +88 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPlain.js +33 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPowerShell.js +74 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushPython.js +64 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushRuby.js +55 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushSass.js +94 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushScala.js +51 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushSql.js +66 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushVb.js +56 -0
- data/guides/output/javascripts/syntaxhighlighter/shBrushXml.js +69 -0
- data/guides/output/javascripts/syntaxhighlighter/shCore.js +17 -0
- data/guides/output/layout.html +312 -0
- data/guides/output/layouts_and_rendering.html +1257 -0
- data/guides/output/migrations.html +751 -0
- data/guides/output/nested_model_forms.html +350 -0
- data/guides/output/performance_testing.html +858 -0
- data/guides/output/plugins.html +590 -0
- data/guides/output/rails_application_templates.html +368 -0
- data/guides/output/rails_on_rack.html +408 -0
- data/guides/output/routing.html +1246 -0
- data/guides/output/ruby_on_rails_guides_guidelines.html +218 -0
- data/guides/output/security.html +968 -0
- data/guides/output/stylesheets/fixes.css +16 -0
- data/guides/output/stylesheets/main.css +445 -0
- data/guides/output/stylesheets/print.css +52 -0
- data/guides/output/stylesheets/reset.css +43 -0
- data/guides/output/stylesheets/style.css +13 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCore.css +226 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreDefault.css +328 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreDjango.css +331 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreEclipse.css +339 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreEmacs.css +324 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreMDUltra.css +324 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreMidnight.css +324 -0
- data/guides/output/stylesheets/syntaxhighlighter/shCoreRDark.css +324 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeDefault.css +117 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeDjango.css +120 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeEclipse.css +128 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeEmacs.css +113 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeMDUltra.css +113 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeMidnight.css +113 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeRDark.css +113 -0
- data/guides/output/stylesheets/syntaxhighlighter/shThemeRailsGuides.css +116 -0
- data/guides/output/testing.html +1182 -0
- data/guides/source/active_record_validations_callbacks.textile +3 -3
- data/guides/source/active_support_core_extensions.textile +2 -2
- data/guides/source/asset_pipeline.textile +7 -5
- data/guides/source/association_basics.textile +2 -4
- data/guides/source/command_line.textile +1 -1
- data/guides/source/configuring.textile +4 -2
- data/guides/source/contributing_to_ruby_on_rails.textile +6 -6
- data/guides/source/initialization.textile +2 -2
- data/guides/source/performance_testing.textile +1 -1
- data/guides/source/routing.textile +1 -1
- data/guides/source/security.textile +2 -2
- data/lib/rails/commands/server.rb +1 -1
- data/lib/rails/engine.rb +1 -1
- data/lib/rails/generators/app_base.rb +2 -1
- data/lib/rails/generators/base.rb +3 -3
- data/lib/rails/generators/rails/app/templates/gitignore +15 -5
- data/lib/rails/rack.rb +0 -1
- data/lib/rails/tasks/documentation.rake +7 -7
- data/lib/rails/tasks/misc.rake +0 -2
- data/lib/rails/test_unit/testing.rake +2 -0
- data/lib/rails/version.rb +2 -2
- metadata +495 -326
- data/CHANGELOG +0 -2371
- data/lib/rails/rack/content_length.rb +0 -38
data/CHANGELOG
DELETED
@@ -1,2371 +0,0 @@
|
|
1
|
-
*Rails 3.1.1 (unreleased)*
|
2
|
-
|
3
|
-
* Add jquery-rails to Gemfile of plugins, test/dummy app needs it. Closes #3091. [Santiago Pastorino]
|
4
|
-
|
5
|
-
* Add config.assets.initialize_on_precompile which, when set to false, forces
|
6
|
-
`rake assets:precompile` to load the application but does not initialize it.
|
7
|
-
|
8
|
-
To the app developer, this means configuration add in
|
9
|
-
config/initializers/* will not be executed.
|
10
|
-
|
11
|
-
Plugins developers need to special case their initializers that are
|
12
|
-
meant to be run in the assets group by adding :group => :assets.
|
13
|
-
|
14
|
-
|
15
|
-
*Rails 3.1.0 (August 30, 2011)*
|
16
|
-
|
17
|
-
* The default database schema file is written as UTF-8. [Aaron Patterson]
|
18
|
-
|
19
|
-
* Generated apps with --dev or --edge flags depend on git versions of
|
20
|
-
sass-rails and coffee-rails. [Santiago Pastorino]
|
21
|
-
|
22
|
-
* Rack::Sendfile middleware is used only if x_sendfile_header is present. [Santiago Pastorino]
|
23
|
-
|
24
|
-
* Add JavaScript Runtime name to the Rails Info properties. [DHH]
|
25
|
-
|
26
|
-
* Make pp enabled by default in Rails console. [Akira Matsuda]
|
27
|
-
|
28
|
-
* Add alias `r` for rails runner. [Jordi Romero]
|
29
|
-
|
30
|
-
* Make sprockets/railtie require explicit and add --skip-sprockets to app generator [José Valim]
|
31
|
-
|
32
|
-
* Added Rails.groups that automatically handles Rails.env and ENV["RAILS_GROUPS"] [José Valim]
|
33
|
-
|
34
|
-
* The new rake task assets:clean removes precompiled assets. [fxn]
|
35
|
-
|
36
|
-
* Application and plugin generation run bundle install unless --skip-gemfile or --skip-bundle. [fxn]
|
37
|
-
|
38
|
-
* Fixed database tasks for jdbc* adapters #jruby [Rashmi Yadav]
|
39
|
-
|
40
|
-
* Template generation for jdbcpostgresql #jruby [Vishnu Atrai]
|
41
|
-
|
42
|
-
* Template generation for jdbcmysql and jdbcsqlite3 #jruby [Arun Agrawal]
|
43
|
-
|
44
|
-
* The -j option of the application generator accepts an arbitrary string. If passed "foo",
|
45
|
-
the gem "foo-rails" is added to the Gemfile, and the application JavaScript manifest
|
46
|
-
requires "foo" and "foo_ujs". As of this writing "prototype-rails" and "jquery-rails"
|
47
|
-
exist and provide those files via the asset pipeline. Default is "jquery". [fxn]
|
48
|
-
|
49
|
-
* jQuery is no longer vendored, it is provided from now on by the jquery-rails gem. [fxn]
|
50
|
-
|
51
|
-
* Prototype and Scriptaculous are no longer vendored, they are provided from now on
|
52
|
-
by the prototype-rails gem. [fxn]
|
53
|
-
|
54
|
-
* The scaffold controller will now produce SCSS file if Sass is available [Prem Sichanugrist]
|
55
|
-
|
56
|
-
* The controller and resource generators will now automatically produce asset stubs (this can be turned off with --skip-assets). These stubs will use Coffee and Sass, if those libraries are available. [DHH]
|
57
|
-
|
58
|
-
* jQuery is the new default JavaScript library. [fxn]
|
59
|
-
|
60
|
-
* Changed scaffold, application, and mailer generator to create Ruby 1.9 style hash when running on Ruby 1.9 [Prem Sichanugrist]
|
61
|
-
|
62
|
-
So instead of creating something like:
|
63
|
-
|
64
|
-
redirect_to users_path, :notice => "User has been created"
|
65
|
-
|
66
|
-
it will now be like this:
|
67
|
-
|
68
|
-
redirect_to users_path, notice: "User has been created"
|
69
|
-
|
70
|
-
You can also passing `--old-style-hash` to make Rails generate old style hash even you're on Ruby 1.9
|
71
|
-
|
72
|
-
* Changed scaffold_controller generator to create format block for JSON instead of XML [Prem Sichanugrist]
|
73
|
-
|
74
|
-
* Add using Turn with natural language test case names for test_help.rb when running with minitest (Ruby 1.9.2+) [DHH]
|
75
|
-
|
76
|
-
* Direct logging of Active Record to STDOUT so it's shown inline with the results in the console [DHH]
|
77
|
-
|
78
|
-
* Added `config.force_ssl` configuration which loads Rack::SSL middleware and force all requests to be under HTTPS protocol [DHH, Prem Sichanugrist, and Josh Peek]
|
79
|
-
|
80
|
-
* Added `rails plugin new` command which generates rails plugin with gemspec, tests and dummy application for testing [Piotr Sarnacki]
|
81
|
-
|
82
|
-
* Added -j parameter with jquery/prototype as options. Now you can create your apps with jQuery using `rails new myapp -j jquery`. The default is still Prototype. [siong1987]
|
83
|
-
|
84
|
-
* Added Rack::Etag and Rack::ConditionalGet to the default middleware stack [José Valim]
|
85
|
-
|
86
|
-
* Added Rack::Cache to the default middleware stack [Yehuda Katz and Carl Lerche]
|
87
|
-
|
88
|
-
* Engine is now rack application [Piotr Sarnacki]
|
89
|
-
|
90
|
-
* Added middleware stack to Engine [Piotr Sarnacki]
|
91
|
-
|
92
|
-
* Engine can now load plugins [Piotr Sarnacki]
|
93
|
-
|
94
|
-
* Engine can load its own environment file [Piotr Sarnacki]
|
95
|
-
|
96
|
-
* Added helpers to call engines' route helpers from application and vice versa [Piotr Sarnacki]
|
97
|
-
|
98
|
-
* Task for copying plugins' and engines' migrations to application's db/migrate directory [Piotr Sarnacki]
|
99
|
-
|
100
|
-
* Changed ActionDispatch::Static to allow handling multiple directories [Piotr Sarnacki]
|
101
|
-
|
102
|
-
* Added isolate_namespace() method to Engine, which sets Engine as isolated [Piotr Sarnacki]
|
103
|
-
|
104
|
-
* Include all helpers from plugins and shared engines in application [Piotr Sarnacki]
|
105
|
-
|
106
|
-
|
107
|
-
*Rails 3.0.7 (April 18, 2011)*
|
108
|
-
|
109
|
-
*No changes.
|
110
|
-
|
111
|
-
|
112
|
-
*Rails 3.0.6 (April 5, 2011)
|
113
|
-
|
114
|
-
* No changes.
|
115
|
-
|
116
|
-
|
117
|
-
*Rails 3.0.5 (February 26, 2011)*
|
118
|
-
|
119
|
-
* No changes.
|
120
|
-
|
121
|
-
|
122
|
-
*Rails 3.0.4 (February 8, 2011)*
|
123
|
-
|
124
|
-
* No changes.
|
125
|
-
|
126
|
-
|
127
|
-
*Rails 3.0.3 (November 16, 2010)*
|
128
|
-
|
129
|
-
* No changes.
|
130
|
-
|
131
|
-
|
132
|
-
*Rails 3.0.2 (November 15, 2010)*
|
133
|
-
|
134
|
-
* No changes.
|
135
|
-
|
136
|
-
|
137
|
-
*Rails 3.0.1 (October 15, 2010)*
|
138
|
-
|
139
|
-
* No Changes, just a version bump.
|
140
|
-
|
141
|
-
|
142
|
-
*Rails 3.0.0 (August 29, 2010)*
|
143
|
-
|
144
|
-
* Application generation: --skip-testunit and --skip-activerecord become --skip-test-unit and --skip-active-record respectively. [fxn]
|
145
|
-
|
146
|
-
* Added console to Rails::Railtie as a hook called just after console starts. [José Valim]
|
147
|
-
|
148
|
-
* Rails no longer autoload code in lib for application. You need to explicitly require it. [José Valim]
|
149
|
-
|
150
|
-
* Rails::LogSubscriber was renamed to ActiveSupport::LogSubscriber [José Valim]
|
151
|
-
|
152
|
-
* config.load_(once_)paths in config/application.rb got renamed to config.autoload_(once_)paths. [fxn]
|
153
|
-
|
154
|
-
* Abort generation/booting on Ruby 1.9.1. [fxn]
|
155
|
-
|
156
|
-
* Made the rails command work even when you're in a subdirectory [Chad Fowler]
|
157
|
-
|
158
|
-
* Removed Rails Metal [Yehuda Katz, José Valim].
|
159
|
-
|
160
|
-
* Renamed config.cookie_secret to config.secret_token and pass it as env key. [José Valim]
|
161
|
-
|
162
|
-
* Session store configuration has changed [Yehuda Katz, Carl Lerche]
|
163
|
-
|
164
|
-
config.session_store :cookie_store, {:key => "..."}
|
165
|
-
config.cookie_secret = "fdsfhisdghfidugnfdlg"
|
166
|
-
|
167
|
-
* railtie_name and engine_name are deprecated. You can now add any object to
|
168
|
-
the configuration object: config.your_plugin = {} [José Valim]
|
169
|
-
|
170
|
-
* Added config.generators.templates to provide alternative paths for the generators
|
171
|
-
to look for templates [José Valim]
|
172
|
-
|
173
|
-
* Added "rake about" as a replacement for script/about [DHH]
|
174
|
-
|
175
|
-
* Removed all the default commands in script/* and replaced them with script/rails and a rails command that'll act the same when run from within the app [DHH]. Example:
|
176
|
-
|
177
|
-
./script/generate scaffold post title:string can now be called as rails g scaffold post title:string
|
178
|
-
|
179
|
-
Run rails --help inside an app for more help.
|
180
|
-
|
181
|
-
* Removed config/initializers/new_rails_defaults.rb as all frameworks now follow the settings from it [DHH]
|
182
|
-
|
183
|
-
* Set config.time_zone to UTC by default [DHH]
|
184
|
-
|
185
|
-
* Added default .gitignore (this is just recognizing Git market share, don't throw a hissy if you use another SCM) [DHH]
|
186
|
-
|
187
|
-
* Added cookies.permanent, cookies.signed, and cookies.permanent.signed accessor for common cookie actions [DHH]. Examples:
|
188
|
-
|
189
|
-
cookies.permanent[:prefers_open_id] = true
|
190
|
-
# => Set-Cookie: prefers_open_id=true; path=/; expires=Sun, 16-Dec-2029 03:24:16 GMT
|
191
|
-
|
192
|
-
cookies.signed[:discount] = 45
|
193
|
-
# => Set-Cookie: discount=BAhpMg==--2c1c6906c90a3bc4fd54a51ffb41dffa4bf6b5f7; path=/
|
194
|
-
|
195
|
-
cookies.signed[:discount]
|
196
|
-
# => 45 (if the cookie was changed, you'll get a InvalidSignature exception)
|
197
|
-
|
198
|
-
cookies.permanent.signed[:remember_me] = current_user.id
|
199
|
-
# => Set-Cookie: discount=BAhU--848956038e692d7046deab32b7131856ab20e14e; path=/; expires=Sun, 16-Dec-2029 03:24:16 GMT
|
200
|
-
|
201
|
-
...to use the signed cookies, you need to set a secret to ActionController::Base.cookie_verifier_secret (automatically done in config/initializers/cookie_verification_secret.rb for new Rails applications).
|
202
|
-
|
203
|
-
* Added config/initializers/cookie_verification_secret.rb with an auto-generated secret for using ActionController::Base#cookies.signed [DHH]
|
204
|
-
|
205
|
-
* Fixed that the debugger wouldn't go into IRB mode because of left-over ARGVs [DHH]
|
206
|
-
|
207
|
-
* I18n support for plugins. #2325 [Antonio Tapiador, Sven Fuchs]
|
208
|
-
|
209
|
-
* Ruby 1.9: use UTF-8 for default internal and external encodings. [Jeremy Kemper]
|
210
|
-
|
211
|
-
* Added db/seeds.rb as a default file for storing seed data for the database. Can be loaded with rake db:seed (or created alongside the db with db:setup). (This is also known as the "Stop Putting Gawd Damn Seed Data In Your Migrations" feature) [DHH]
|
212
|
-
|
213
|
-
|
214
|
-
*2.3.2 [Final] (March 15, 2009)*
|
215
|
-
|
216
|
-
* Remove outdated script/plugin options [Pratik Naik]
|
217
|
-
|
218
|
-
* Allow metal to live in plugins #2045 [Matthew Rudy]
|
219
|
-
|
220
|
-
* Added metal [Josh Peek]
|
221
|
-
|
222
|
-
* Remove script/performance/request in favour of the performance integration tests. [Pratik Naik]
|
223
|
-
|
224
|
-
To continue using script/performance/request, install the request_profiler plugin :
|
225
|
-
|
226
|
-
script/plugin install git://github.com/rails/request_profiler.git
|
227
|
-
|
228
|
-
* Add a rake task to apply a template to an existing application : rake rails:template LOCATION=~/template.rb [Pratik Naik]
|
229
|
-
|
230
|
-
* Add "-m/--template" option to Rails generator to apply a template to the generated application. [Jeremy McAnally]
|
231
|
-
|
232
|
-
This has been extracted from rg - http://github.com/jeremymcanally/rg
|
233
|
-
|
234
|
-
Example:
|
235
|
-
|
236
|
-
# template.rb
|
237
|
-
|
238
|
-
# Install plugins from git or svn
|
239
|
-
plugin "will-paginate", :git => "git://github.com/mislav/will_paginate.git"
|
240
|
-
plugin "old-restful-auth", :svn => "http://svn.techno-weenie.net/projects/plugins/restful_authentication/"
|
241
|
-
|
242
|
-
# Add gems to environment.rb
|
243
|
-
gem "jeremymcanally-context"
|
244
|
-
gem "bluecloth"
|
245
|
-
|
246
|
-
# Vendor file. Data in a string or...
|
247
|
-
vendor("borrowed.rb", <<CODE
|
248
|
-
def helpful_method
|
249
|
-
do_something_helpful_here
|
250
|
-
end
|
251
|
-
CODE
|
252
|
-
|
253
|
-
# ...file data from block return value.
|
254
|
-
# #initializer creates a new initializer file
|
255
|
-
initializer("crypto.rb") do
|
256
|
-
salt = "--#{Time.now}--#{rand}--#{srand(Time.now.to_i)}"
|
257
|
-
|
258
|
-
"SPECIAL_SALT = '#{salt}'"
|
259
|
-
end
|
260
|
-
|
261
|
-
Usage:
|
262
|
-
|
263
|
-
To use a template, provide a file path or URL:
|
264
|
-
|
265
|
-
1. Using a local file :
|
266
|
-
|
267
|
-
rails <application name> -m /path/to/my/template.rb
|
268
|
-
|
269
|
-
2. Or directly from a URL :
|
270
|
-
|
271
|
-
rails <application name> --template=http://gist.github.com/31208.txt
|
272
|
-
|
273
|
-
* Extracted the process scripts (inspector, reaper, spawner) into the plugin irs_process_scripts [David Heinemeier Hansson]
|
274
|
-
|
275
|
-
* Changed Rails.root to return a Pathname object (allows for Rails.root.join('app', 'controllers') => "#{RAILS_ROOT}/app/controllers") #1482 [Damian Janowski/?]
|
276
|
-
|
277
|
-
* Added view path support for engines [David Heinemeier Hansson]
|
278
|
-
|
279
|
-
* Added that config/routes.rb files in engine plugins are automatically loaded (and reloaded when they change in dev mode) [David Heinemeier Hansson]
|
280
|
-
|
281
|
-
* Added app/[models|controllers|helpers] to the load path for plugins that has an app directory (go engines ;)) [David Heinemeier Hansson]
|
282
|
-
|
283
|
-
* Add config.preload_frameworks to load all frameworks at startup. Default to false so Rails autoloads itself as it's used. Turn this on for Passenger and JRuby. Also turned on by config.threadsafe! [Jeremy Kemper]
|
284
|
-
|
285
|
-
* Add a rake task to generate dispatchers : rake rails:generate_dispatchers [Pratik Naik]
|
286
|
-
|
287
|
-
* "rails <app>" will not generate public/dispatch.cgi/fcgi/rb files by default now. Please use "--with-dispatchers" option if you need them. [Yaroslav Markin, Pratik Naik]
|
288
|
-
|
289
|
-
* Added rake rails:update:application_controller to renamed application.rb to application_controller.rb -- included in rake rails:update so upgrading to 2.3 will automatically trigger it #1439 [kastner]
|
290
|
-
|
291
|
-
* Added Rails.backtrace_cleaner as an accessor for the Rails::BacktraceCleaner instance used by the framework to cut down on backtrace noise and config/initializers/backtrace_silencers.rb to add your own (or turn them all off) [David Heinemeier Hansson]
|
292
|
-
|
293
|
-
* Switch from Test::Unit::TestCase to ActiveSupport::TestCase. [Jeremy Kemper]
|
294
|
-
|
295
|
-
* Added config.i18n settings gatherer to config/environment, auto-loading of all locales in config/locales/*.rb,yml, and config/locales/en.yml as a sample locale [David Heinemeier Hansson]
|
296
|
-
|
297
|
-
* BACKWARDS INCOMPATIBLE: Renamed application.rb to application_controller.rb and removed all the special casing that was in place to support the former. You must do this rename in your own application when you upgrade to this version [David Heinemeier Hansson]
|
298
|
-
|
299
|
-
|
300
|
-
*2.2.1 [RC2] (November 14th, 2008)*
|
301
|
-
|
302
|
-
* Fixed plugin generator so that generated unit tests would subclass ActiveSupport::TestCase, also introduced a helper script to reduce the needed require statements #1137 [Mathias Meyer]
|
303
|
-
|
304
|
-
* Update Prototype to 1.6.0.3 [sam]
|
305
|
-
|
306
|
-
|
307
|
-
*2.2.0 [RC1] (October 24th, 2008)*
|
308
|
-
|
309
|
-
* Fixed that sqlite would report "db/development.sqlite3 already exists" whether true or not on db:create #614 [Antonio Cangiano]
|
310
|
-
|
311
|
-
* Added config.threadsafe! to toggle allow concurrency settings and disable the dependency loader [Josh Peek]
|
312
|
-
|
313
|
-
* Turn cache_classes on by default [Josh Peek]
|
314
|
-
|
315
|
-
* Added configurable eager load paths. Defaults to app/models, app/controllers, and app/helpers [Josh Peek]
|
316
|
-
|
317
|
-
* Introduce simple internationalization support. [Ruby i18n team]
|
318
|
-
|
319
|
-
* Make script/plugin install <plugin> -r <revision> option work with git based plugins. #257. [Tim Pope Jakub Kuźma]. Example:
|
320
|
-
|
321
|
-
script/plugin install git://github.com/mislav/will_paginate.git -r agnostic # Installs 'agnostic' branch
|
322
|
-
script/plugin install git://github.com/dchelimsky/rspec.git -r 'tag 1.1.4'
|
323
|
-
|
324
|
-
* Added Rails.initialized? flag [Josh Peek]
|
325
|
-
|
326
|
-
* Make rake test:uncommitted work with Git. [Tim Pope]
|
327
|
-
|
328
|
-
* Added Thin support to script/server. #488 [Bob Klosinski]
|
329
|
-
|
330
|
-
* Fix script/about in production mode. #370 [Cheah Chu Yeow, Xavier Noria, David Krmpotic]
|
331
|
-
|
332
|
-
* Add the gem load paths before the framework is loaded, so certain gems like RedCloth and BlueCloth can be frozen.
|
333
|
-
|
334
|
-
* Fix discrepancies with loading rails/init.rb from gems.
|
335
|
-
|
336
|
-
* Plugins check for the gem init path (rails/init.rb) before the standard plugin init path (init.rb) [Jacek Becela]
|
337
|
-
|
338
|
-
* Changed all generated tests to use the test/do declaration style [David Heinemeier Hansson]
|
339
|
-
|
340
|
-
* Wrapped Rails.env in StringInquirer so you can do Rails.env.development? [David Heinemeier Hansson]
|
341
|
-
|
342
|
-
* Fixed that RailsInfoController wasn't considering all requests local in development mode (Edgard Castro) [#310 state:resolved]
|
343
|
-
|
344
|
-
|
345
|
-
*2.1.0 (May 31st, 2008)*
|
346
|
-
|
347
|
-
* script/dbconsole fires up the command-line database client. #102 [Steve Purcell]
|
348
|
-
|
349
|
-
* Fix bug where plugin init.rb files from frozen gem specs weren't being run. (pjb3) [#122 state:resolved]
|
350
|
-
|
351
|
-
* Made the location of the routes file configurable with config.routes_configuration_file (Scott Fleckenstein) [#88]
|
352
|
-
|
353
|
-
* Rails Edge info returns the latest git commit hash [Francesc Esplugas]
|
354
|
-
|
355
|
-
* Added Rails.public_path to control where HTML and assets are expected to be loaded from (defaults to Rails.root + "/public") #11581 [Nick Sieger]
|
356
|
-
|
357
|
-
* rake time:zones:local finds correct base utc offset for zones in the Southern Hemisphere [Geoff Buesing]
|
358
|
-
|
359
|
-
* Don't require rails/gem_builder during rails initialization, it's only needed for the gems:build task. [Rick Olson]
|
360
|
-
|
361
|
-
* script/performance/profiler compatibility with the ruby-prof >= 0.5.0. Closes #9176. [Jonathan del Strother]
|
362
|
-
|
363
|
-
* Flesh out rake gems:unpack to unpack all gems, and add rake gems:build for native extensions. #11513 [ddollar]
|
364
|
-
|
365
|
-
rake gems:unpack # unpacks all gems
|
366
|
-
rake gems:unpack GEM=mygem # unpacks only the gem 'mygem'
|
367
|
-
|
368
|
-
rake gems:build # builds all unpacked gems
|
369
|
-
rake gems:build GEM=mygem # builds only the gem 'mygem'
|
370
|
-
|
371
|
-
* Add config.active_support for future configuration options. Also, add more new Rails 3 config settings to new_rails_defaults.rb [Rick Olson]
|
372
|
-
|
373
|
-
* Add Rails.logger, Rails.root, Rails.env and Rails.cache shortcuts for RAILS_* constants [Pratik Naik]
|
374
|
-
|
375
|
-
* Allow files in plugins to be reloaded like the rest of the application. [Rick Olson]
|
376
|
-
|
377
|
-
Enables or disables plugin reloading.
|
378
|
-
|
379
|
-
config.reload_plugins = true
|
380
|
-
|
381
|
-
You can get around this setting per plugin.
|
382
|
-
If #reload_plugins? == false (DEFAULT), add this to your plugin's init.rb to make it reloadable:
|
383
|
-
|
384
|
-
Dependencies.load_once_paths.delete lib_path
|
385
|
-
|
386
|
-
If #reload_plugins? == true, add this to your plugin's init.rb to only load it once:
|
387
|
-
|
388
|
-
Dependencies.load_once_paths << lib_path
|
389
|
-
|
390
|
-
* Small tweak to allow plugins to specify gem dependencies. [Rick Olson]
|
391
|
-
|
392
|
-
# OLD open_id_authentication plugin init.rb
|
393
|
-
require 'yadis'
|
394
|
-
require 'openid'
|
395
|
-
ActionController::Base.send :include, OpenIdAuthentication
|
396
|
-
|
397
|
-
# NEW
|
398
|
-
config.gem "ruby-openid", :lib => "openid", :version => "1.1.4"
|
399
|
-
config.gem "ruby-yadis", :lib => "yadis", :version => "0.3.4"
|
400
|
-
|
401
|
-
config.after_initialize do
|
402
|
-
ActionController::Base.send :include, OpenIdAuthentication
|
403
|
-
end
|
404
|
-
|
405
|
-
* Added config.gem for specifying which gems are required by the application, as well as rake tasks for installing and freezing gems. [Rick Olson]
|
406
|
-
|
407
|
-
Rails::Initializer.run do |config|
|
408
|
-
config.gem "bj"
|
409
|
-
config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
|
410
|
-
config.gem "aws-s3", :lib => "aws/s3"
|
411
|
-
end
|
412
|
-
|
413
|
-
# List required gems.
|
414
|
-
rake gems
|
415
|
-
|
416
|
-
# Install all required gems:
|
417
|
-
rake gems:install
|
418
|
-
|
419
|
-
# Unpack specified gem to vendor/gems/gem_name-x.x.x
|
420
|
-
rake gems:unpack GEM=bj
|
421
|
-
|
422
|
-
* Removed the default .htaccess configuration as there are so many good deployment options now (kept it as an example in README) [David Heinemeier Hansson]
|
423
|
-
|
424
|
-
* config.time_zone accepts TZInfo::Timezone identifiers as well as Rails TimeZone identifiers [Geoff Buesing]
|
425
|
-
|
426
|
-
* Rails::Initializer#initialize_time_zone raises an error if value assigned to config.time_zone is not recognized. Rake time zone tasks only require ActiveSupport instead of entire environment [Geoff Buesing]
|
427
|
-
|
428
|
-
* Stop adding the antiquated test/mocks/* directories and only add them to the path if they're still there for legacy reasons [David Heinemeier Hansson]
|
429
|
-
|
430
|
-
* Added that gems can now be plugins if they include rails/init.rb #11444 [John Barnette]
|
431
|
-
|
432
|
-
* Added Plugin#about method to programmatically access the about.yml in a plugin #10979 [James Adam]
|
433
|
-
|
434
|
-
plugin = Rails::Plugin.new(path_to_my_plugin)
|
435
|
-
plugin.about["author"] # => "James Adam"
|
436
|
-
plugin.about["url"] # => "http://interblah.net"
|
437
|
-
|
438
|
-
* Improve documentation. [Ryan Bigg, Jan De Poorter, Cheah Chu Yeow, Xavier Shay, Jack Danger Canty, Emilio Tagua, Xavier Noria, Sunny Ripert]
|
439
|
-
|
440
|
-
* Added config.time_zone = 'UTC' in the default environment.rb [Geoff Buesing]
|
441
|
-
|
442
|
-
* Added rake tasks time:zones:all, time:zones:us and time:zones:local for finding time zone names for config.time_zone option [Geoff Buesing]
|
443
|
-
|
444
|
-
* Add config.time_zone for configuring the default Time.zone value. #10982 [Geoff Buesing]
|
445
|
-
|
446
|
-
* Added support for installing plugins hosted at git repositories #11294 [Jack Danger Canty]
|
447
|
-
|
448
|
-
* Fixed that script/generate would not look for plugin generators in plugin_paths #11000 [glv]
|
449
|
-
|
450
|
-
* Fixed database rake tasks to work with charset/collation and show proper error messages on failure. Closes #11301 [matt]
|
451
|
-
|
452
|
-
* Added a -e/--export to script/plugin install, uses svn export. #10847 [jon@blankpad.net)]
|
453
|
-
|
454
|
-
* Reshuffle load order so that routes and observers are initialized after plugins and app initializers. Closes #10980 [Rick Olson]
|
455
|
-
|
456
|
-
* Git support for script/generate. #10690 [ssoroka]
|
457
|
-
|
458
|
-
* Update scaffold to use labels instead of bold tags. Closes #10757 [zach-inglis-lt3]
|
459
|
-
|
460
|
-
* Resurrect WordNet synonym lookups. #10710 [tom./, matt]
|
461
|
-
|
462
|
-
* Added config.cache_store to environment options to control the default cache store (default is FileStore if tmp/cache is present, otherwise MemoryStore is used) [David Heinemeier Hansson]
|
463
|
-
|
464
|
-
* Added that rails:update is run when you do rails:freeze:edge to ensure you also get the latest JS and config files #10565 [jeff]
|
465
|
-
|
466
|
-
* SQLite: db:drop:all doesn't fail silently if the database is already open. #10577 [Cheah Chu Yeow, mrichman]
|
467
|
-
|
468
|
-
* Introduce native mongrel handler and push mutex into dispatcher. [Jeremy Kemper]
|
469
|
-
|
470
|
-
* Ruby 1.9 compatibility. #1689, #10546 [Cheah Chu Yeow, frederico]
|
471
|
-
|
472
|
-
|
473
|
-
*2.0.2* (December 16th, 2007)
|
474
|
-
|
475
|
-
* Changed the default database from mysql to sqlite3, so now running "rails myapp" will have a config/database.yml that's setup for SQLite3 (which in OS X Leopard is installed by default, so is the gem, so everything Just Works with no database configuration at all). To get a Rails application preconfigured for MySQL, just run "rails -d mysql myapp" [David Heinemeier Hansson]
|
476
|
-
|
477
|
-
* Turned on ActionView::Base.cache_template_loading by default in config/environments/production.rb to prevent file system stat calls for every template loading to see if it changed (this means that you have to restart the application to see template changes in production mode) [David Heinemeier Hansson]
|
478
|
-
|
479
|
-
* Introduce `rake secret` to output a crytographically secure secret key for use with cookie sessions #10363 [revans]
|
480
|
-
|
481
|
-
* Fixed that local database creation should consider 127.0.0.1 local #9026 [parcelbrat]
|
482
|
-
|
483
|
-
* Fixed that functional tests generated for scaffolds should use fixture calls instead of hard-coded IDs #10435 [boone]
|
484
|
-
|
485
|
-
* Added db:migrate:redo and db:migrate:reset for rerunning existing migrations #10431, #10432 [matt]
|
486
|
-
|
487
|
-
* RAILS_GEM_VERSION may be double-quoted also. #10443 [James Cox]
|
488
|
-
|
489
|
-
* Update rails:freeze:gems to work with RubyGems 0.9.5. [Jeremy Kemper]
|
490
|
-
|
491
|
-
|
492
|
-
*2.0.1* (December 7th, 2007)
|
493
|
-
|
494
|
-
* Fixed Active Record bug
|
495
|
-
|
496
|
-
|
497
|
-
*2.0.0* (December 6th, 2007)
|
498
|
-
|
499
|
-
* The test task stops with a warning if you have pending migrations. #10377 [Josh Knowles]
|
500
|
-
|
501
|
-
* Add warning to documentation about using transactional fixtures when the code under test uses transactions itself. Closes #7548 [Thijs van der Vossen]
|
502
|
-
|
503
|
-
* Update Prototype to 1.6.0.1. [sam]
|
504
|
-
|
505
|
-
* Update script.aculo.us to 1.8.0.1. [madrobby]
|
506
|
-
|
507
|
-
* Added db:fixtures:identity as a way of locating what ID a foxy fixture was assigned #10332 [John Barnette]
|
508
|
-
|
509
|
-
* Generated fixtures should not specify ids since theyre expected to be foxy fixtures #10330 [John Barnette]
|
510
|
-
|
511
|
-
* Update to Prototype -r8232. [sam]
|
512
|
-
|
513
|
-
* Introduce SecretKeyGenerator for more secure session secrets than CGI::Session's pseudo-random id generator. Consider extracting to Active Support later. #10286 [Hongli Lai (Phusion)]
|
514
|
-
|
515
|
-
* RAILS_GEM_VERSION may be set to any valid gem version specifier. #10057 [Chad Woolley, Cheah Chu Yeow]
|
516
|
-
|
517
|
-
* Load config/preinitializer.rb, if present, before loading the environment. #9943 [Chad Woolley]
|
518
|
-
|
519
|
-
* FastCGI handler ignores unsupported signals like USR2 on Windows. [Grzegorz Derebecki]
|
520
|
-
|
521
|
-
* Only load ActionMailer::TestCase if ActionMailer is loaded. Closes #10137 [defunkt]
|
522
|
-
|
523
|
-
* Fixed that db:reset would use migrations instead of loading db/schema.rb [David Heinemeier Hansson]
|
524
|
-
|
525
|
-
* Ensure the plugin loader only loads plugins once. Closes #10102 [haruki_zaemon]
|
526
|
-
|
527
|
-
* Refactor Plugin Loader. Add plugin lib paths early, and add lots of tests. Closes #9795 [James Adam]
|
528
|
-
|
529
|
-
* Added --skip-timestamps to generators that produce models #10036 [Tim Pope]
|
530
|
-
|
531
|
-
* Update Prototype to 1.6.0 and script.aculo.us to 1.8.0. [sam, madrobby]
|
532
|
-
|
533
|
-
* Added db:rollback to rollback the schema one version (or multiple as specified by STEP) [Jeffrey Allan Hardy]
|
534
|
-
|
535
|
-
* Fix typo in test_helper. Closes #9925 [viktor tron]
|
536
|
-
|
537
|
-
* Request profiler. [Jeremy Kemper]
|
538
|
-
|
539
|
-
* config/boot.rb correctly detects RAILS_GEM_VERSION. #9834 [alexch, thewoolleyman]
|
540
|
-
|
541
|
-
* Fixed incorrect migration number if script/generate executed outside of Rails root #7080 [Jeremy McAnally]
|
542
|
-
|
543
|
-
* Update Prototype to 1.6.0_rc1 and script.aculo.us to 1.8.0 preview 0. [sam, madrobby]
|
544
|
-
|
545
|
-
* Generated fixtures use the actual primary key instead of id. #4343 [Frederick Ros, Tarmo Tänav]
|
546
|
-
|
547
|
-
* Extend the console +helper+ method to allow you to include custom helpers. e.g:
|
548
|
-
>> helper :posts
|
549
|
-
>> helper.some_method_from_posts_helper(Post.find(1))
|
550
|
-
|
551
|
-
* db:create works with remote databases whereas db:create:all only creates
|
552
|
-
databases on localhost. #9753 [Trevor Wennblom]
|
553
|
-
|
554
|
-
* Removed calls to fixtures in generated tests as fixtures :all is now present by default in test_helper.rb [David Heinemeier Hansson]
|
555
|
-
|
556
|
-
* Add --prefix option to script/server when using mongrel. [dacat]
|
557
|
-
|
558
|
-
|
559
|
-
*2.0.0 [Preview Release]* (September 29th, 2007) [Includes duplicates of changes from 1.1.4 - 1.2.3]
|
560
|
-
|
561
|
-
* Fixed that installing plugins from SVN repositories that use trunk/ will work #8188 [evan]
|
562
|
-
|
563
|
-
* Moved the SourceAnnotationExtractor to a separate file in case libraries try to load the rails rake tasks twice. [Rick Olson]
|
564
|
-
|
565
|
-
* Moved Dispatcher to ActionController::Dispatcher. [Jeremy Kemper]
|
566
|
-
|
567
|
-
* Changed the default logger from Ruby's own Logger with the clean_logger extensions to ActiveSupport::BufferedLogger for performance reasons [David Heinemeier Hansson]. (You can change it back with config.logger = Logger.new("/path/to/log", level).)
|
568
|
-
|
569
|
-
* Added a default 422.html page to be rendered when ActiveRecord::RecordInvalid, ActiveRecord::RecordNotSaved, or ActionController::InvalidAuthenticityToken is raised [David Heinemeier Hansson]
|
570
|
-
|
571
|
-
* Added --skip-fixture option to script/generate model #6862 [sandofsky]
|
572
|
-
|
573
|
-
* Print Rails version when starting console #7440 [eyematz]
|
574
|
-
|
575
|
-
* Fixed the placement of fixture files for nested models when generating through script/generate model #7547 [jkit]
|
576
|
-
|
577
|
-
* Added TEMPLATE option to rake doc:app to set a custom output template #7737 [Jakob Skjerning]
|
578
|
-
|
579
|
-
* Added VERBOSE option to rake db:migrate to turn off output #8204 [John Barnette]
|
580
|
-
|
581
|
-
* Fixed that rake doc:app should use UTF-8 #8906 [farzy]
|
582
|
-
|
583
|
-
* Fixes rake annotations to search erb and builder files as well #9150 [m.langenberg]
|
584
|
-
|
585
|
-
* Removed web_service generator [Michael Koziarski]
|
586
|
-
|
587
|
-
* Added the :all option to config.plugins that'll include the rest of the plugins not already explicitly named #9613 [Frederick Cheung]. Example:
|
588
|
-
|
589
|
-
# Loads :classic_pagination before all the other plugins
|
590
|
-
config.plugins = [ :classic_pagination, :all ]
|
591
|
-
|
592
|
-
* Added symbols as a legal way of specifying plugins in config.plugins #9629 [tom]
|
593
|
-
|
594
|
-
* Removed deprecated task names, like clear_logs, in favor of the new namespaced style [David Heinemeier Hansson]
|
595
|
-
|
596
|
-
* Support multiple config.after_initialize blocks so plugins and apps can more easily cooperate. #9582 [Zach Dennis]
|
597
|
-
|
598
|
-
* Added db:drop:all to drop all databases declared in config/database.yml [David Heinemeier Hansson]
|
599
|
-
|
600
|
-
* Use attribute pairs instead of the migration name to create add and remove column migrations. Closes #9166 [Pratik Naik]
|
601
|
-
|
602
|
-
For example:
|
603
|
-
|
604
|
-
ruby script/generation migration AddSomeStuffToCustomers first_name:string last_name:string
|
605
|
-
|
606
|
-
or
|
607
|
-
|
608
|
-
ruby script/generation migration RemoveSomeStuffFromCustomers first_name:string last_name:string
|
609
|
-
|
610
|
-
* Add ActiveResource to Rails::Info. Closes #8741 [Chris Kampmeier]
|
611
|
-
|
612
|
-
* use Gem.find_name instead of search when freezing gems. Prevent false positives for other gems with rails in the name. Closes #8729 [wselman]
|
613
|
-
|
614
|
-
* Automatically generate add/remove column commands in specially named migrations like AddLocationToEvent. Closes #9006 [Ryan Davis]
|
615
|
-
|
616
|
-
* Default to plural table name in Rails Generator if ActiveRecord is not present. Closes #8963 [evan]
|
617
|
-
|
618
|
-
* Added rake routes for listing all the defined routes in the system. #8795 [Josh Peek]
|
619
|
-
|
620
|
-
* 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]
|
621
|
-
|
622
|
-
* 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]
|
623
|
-
|
624
|
-
* MySQL, PostgreSQL: database.yml defaults to utf-8. #8701 [matt]
|
625
|
-
|
626
|
-
* Added db:version to get the current schema number [via Err The Blog]
|
627
|
-
|
628
|
-
* Added --skip-migration option to scaffold and resource generators #8656 [Michael Glaesemann]
|
629
|
-
|
630
|
-
* Fix that FCGIs would leave log files open when asked to shut down by USR2. #3028 [Sebastian Kanthak, Josh Peek]
|
631
|
-
|
632
|
-
* Fixed that dispatcher preparation callbacks only run once in production mode. Mock Routes.reload so that dispatcher preparation callback tests run. [Rick Olson]
|
633
|
-
|
634
|
-
* Fix syntax error in dispatcher than wrecked failsafe responses. #8625 [mtitorenko]
|
635
|
-
|
636
|
-
* Scaffolded validation errors set the appropriate HTTP status for XML responses. #6946, #8622 [Manfred Stienstra, mmmultiworks]
|
637
|
-
|
638
|
-
* Sexy migrations for the session_migration generator. #8561 [Vladislav]
|
639
|
-
|
640
|
-
* Console reload! runs to_prepare callbacks also. #8393 [f.svehla]
|
641
|
-
|
642
|
-
* Generated migrations include timestamps by default. #8501 [Shane Vitarana]
|
643
|
-
|
644
|
-
* Drop Action Web Service from rails:freeze:edge. [Jeremy Kemper]
|
645
|
-
|
646
|
-
* Add db:create, drop, reset, charset, and collation tasks. #8448 [matt]
|
647
|
-
|
648
|
-
* Scaffold generator depends on model generator instead of duplicating it. #7222 [bscofield]
|
649
|
-
|
650
|
-
* Scaffold generator tests. #8443 [pelle]
|
651
|
-
|
652
|
-
* Generated scaffold functional tests use assert_difference. #8421 [Norbert Crombach]
|
653
|
-
|
654
|
-
* Update to Prototype 1.5.1. [Sam Stephenson]
|
655
|
-
|
656
|
-
* Update to script.aculo.us 1.7.1_beta3. [Thomas Fuchs]
|
657
|
-
|
658
|
-
* Generators use *.html.erb view template naming. #8278 [Tim Pope]
|
659
|
-
|
660
|
-
* Updated resource_scaffold and model generators to use short-hand style migrations [David Heinemeier Hansson]
|
661
|
-
|
662
|
-
* Updated initializer to only load #{RAILS_ENV}.rb once. Added deprecation warning for config.breakpoint_server. [Nicholas Seckar]
|
663
|
-
|
664
|
-
* 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 [David Heinemeier Hansson]
|
665
|
-
|
666
|
-
To use the new debugger, start your server with script/server --debugger and insert a call to 'debugger'
|
667
|
-
(instead of 'breakpoint') where you want to jump into the debugger.
|
668
|
-
|
669
|
-
BACKWARDS INCOMPATIBILITY NOTE: You must remove the default line 12 from config/environments/development.rb:
|
670
|
-
|
671
|
-
config.breakpoint_server = true
|
672
|
-
|
673
|
-
This configuration option is no longer available. Rails will fail to start in development mode as long as
|
674
|
-
that's still present.
|
675
|
-
|
676
|
-
* Resource scaffolding returns the created entity.to_xml. [Jeremy Kemper]
|
677
|
-
|
678
|
-
* Resource scaffolding responds to new.xml. #8185 [Eric Mill]
|
679
|
-
|
680
|
-
* Include Active Resource in rails:freeze:edge rake task. [Thomas Fuchs]
|
681
|
-
|
682
|
-
* Include Active Resource instead of Action Web Service [David Heinemeier Hansson] You can add AWS back with this in config/environment.rb:
|
683
|
-
|
684
|
-
config.load_paths += %W( #{RAILS_ROOT}/vendor/rails/actionwebservice/lib )
|
685
|
-
|
686
|
-
...or just gem 'actionwebservice'
|
687
|
-
|
688
|
-
* Give generate scaffold a more descriptive database message. Closes #7316 [Jeremy McAnally]
|
689
|
-
|
690
|
-
* 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]
|
691
|
-
|
692
|
-
* Deprecation: remove components from controller paths. [Jeremy Kemper]
|
693
|
-
|
694
|
-
* Add environment variable RAILS_DEFAULT_DATABASE, which allows the builtin default of 'mysql' to be overridden. [Nicholas Seckar]
|
695
|
-
|
696
|
-
* Windows: include MinGW in RUBY_PLATFORM check. #2982 [okkez000@gmail.com, Kaspar Schiess]
|
697
|
-
|
698
|
-
* 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.]
|
699
|
-
|
700
|
-
* 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.]
|
701
|
-
|
702
|
-
* Added assumption that all plugin creators desire to be sharing individuals and release their work under the MIT license [David Heinemeier Hansson]
|
703
|
-
|
704
|
-
* 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.
|
705
|
-
|
706
|
-
* Added fixtures :all to test_helper.rb to assume that most people just want all their fixtures loaded all the time [David Heinemeier Hansson]
|
707
|
-
|
708
|
-
* 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 [David Heinemeier Hansson]
|
709
|
-
|
710
|
-
* For new apps, generate a random secret for the cookie-based session store. [Jeremy Kemper]
|
711
|
-
|
712
|
-
* Stop swallowing errors during rake test [Michael Koziarski]
|
713
|
-
|
714
|
-
* Update Rails Initializer to use ActionController::Base#view_paths [Rick Olson]
|
715
|
-
|
716
|
-
* Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ [Chad Fowler]
|
717
|
-
|
718
|
-
* Plugins may be symlinked in vendor/plugins. #4245 [brandon, progrium@gmail.com]
|
719
|
-
|
720
|
-
* Resource generator depends on the model generator rather than duplicating it. #7269 [bscofield]
|
721
|
-
|
722
|
-
* Add/Update usage documentation for script/destroy, resource generator and scaffold_resource generator. Closes #7092, #7271, #7267. [bscofield]
|
723
|
-
|
724
|
-
* Update to script.aculo.us 1.7.0. [Thomas Fuchs]
|
725
|
-
|
726
|
-
* Update to Prototype 1.5.0. [Sam Stephenson]
|
727
|
-
|
728
|
-
* Generator: use destination path for diff tempfiles. #7015 [alfeld]
|
729
|
-
|
730
|
-
* Fixed that webrick would strip leading newlines and hang connection #4156 [psross]
|
731
|
-
|
732
|
-
* Ensure plugins are in the Dependencies.load_once_paths collection by default. [Rick Olson]
|
733
|
-
If you really want your plugins to reload, add this to the very top of init.rb:
|
734
|
-
|
735
|
-
Dependencies.load_once_paths.delete(lib_path)
|
736
|
-
|
737
|
-
* Allow config.to_prepare to work, make the dispatcher safe to 're require'. [Michael Koziarski, Nicholas Seckar]
|
738
|
-
|
739
|
-
* Fix scaffold_resource generator so it respects the --pretend argument when creating the routes file. Closes #6852 [fearoffish]
|
740
|
-
|
741
|
-
* Fix Webrick Daemon dispatching bug regarding a bad current working directory. Closes #4899 [Rick Olson]
|
742
|
-
|
743
|
-
* 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]
|
744
|
-
|
745
|
-
* Don't generate a components directory in new Rails apps. [Jeremy Kemper]
|
746
|
-
|
747
|
-
* Fixed script/process/spawner to work properly with Mongrel including in -r (daemonize mode) [David Heinemeier Hansson]
|
748
|
-
|
749
|
-
* 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) [David Heinemeier Hansson]
|
750
|
-
|
751
|
-
* Fixed that script/server running against Mongrel should tail the proper log regardless of the environment [David Heinemeier Hansson]
|
752
|
-
|
753
|
-
* Update initializer to load Rails::VERSION as soon as possible. Closes #6698. [Nicholas Seckar]
|
754
|
-
|
755
|
-
* 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) [David Heinemeier Hansson]
|
756
|
-
|
757
|
-
* Made RAILS_GEM_VERSION work for beta gems too, so specifying 1.1.6 will give you 1.1.6.4520 if available [David Heinemeier Hansson]
|
758
|
-
|
759
|
-
* Update to Prototype and script.aculo.us [5579]. [Thomas Fuchs]
|
760
|
-
|
761
|
-
* Made script/server work with -e and -d when using Mongrel [David Heinemeier Hansson]
|
762
|
-
|
763
|
-
* Update to Prototype 1.5.0_rc2 [5550] which makes it work in Opera again [Thomas Fuchs]
|
764
|
-
|
765
|
-
* Make sure that exceptions which are thrown outside of the user code try their best to be handeled in ApplicationController#rescue_action [Tobias Lütke]
|
766
|
-
|
767
|
-
* Rails::VERSION::STRING should always be available without having to require 'rails/version'. #6244 [fearoffish]
|
768
|
-
|
769
|
-
* Update to Prototype 1.5.0_rc2. [Sam Stephenson]
|
770
|
-
|
771
|
-
* Add grep-based fallback to reaper, to work in pidless setups [Jamis Buck]
|
772
|
-
|
773
|
-
* 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]
|
774
|
-
|
775
|
-
* Alter prior change to use require_dependency instead of require_or_load. Causes ApplicationController to be reloaded again. Closes #6587. [Nicholas Seckar]
|
776
|
-
|
777
|
-
* Rake: use absolute paths to load lib and vendor tasks so they may be run outside of RAILS_ROOT. #6584 [jchris]
|
778
|
-
|
779
|
-
* Remove temporary crutch to help ApplicationController be unloaded. Closes #6496. [Nicholas Seckar]
|
780
|
-
|
781
|
-
* scaffold_resource generator uses _path named routes and head instead of render :nothing => true. #6545 [Josh Susser]
|
782
|
-
|
783
|
-
* Generator can show diff on file collision to help you decide whether to skip or overwrite. #6364 [jeffw, Jeremy Kemper]
|
784
|
-
|
785
|
-
* Generated directories are recursively svn added, like mkdir -p. #6416 [NeilW]
|
786
|
-
|
787
|
-
* resource and scaffold_resource generators add a restful route to config/routes.rb [Jeremy Kemper]
|
788
|
-
|
789
|
-
* Revert environment changes for autoload_paths. [Michael Koziarski]
|
790
|
-
|
791
|
-
* 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]
|
792
|
-
|
793
|
-
* Clean up the output of rake stats, de-emphasise components and apis, and remove the indents for tests [Michael Koziarski]
|
794
|
-
|
795
|
-
* Added option to script/process/spawner of specifying the binding address #5133 [Dee Zsombor]
|
796
|
-
|
797
|
-
* Update environment.rb comments to include config.autoload_paths. Closes #6478 [caio]
|
798
|
-
|
799
|
-
* Update scaffold to use new form_tag block functionality. Closes #6480. [Bob Silva]
|
800
|
-
|
801
|
-
* Plugin generator: check for class collisions. #4833 [vinbarnes@gmail.com]
|
802
|
-
|
803
|
-
* Mailer generator: handle mailers in modules, set mime_version in unit test. [Jeremy Kemper]
|
804
|
-
|
805
|
-
* Set $KCODE to 'u' by default to enable the multibyte safe String#chars proxy. [Michael Koziarski]
|
806
|
-
|
807
|
-
* Added config.plugins to control which plugins are loaded #6269 [Stefan Kaes]. By default, everything in vendor/plugins will be loaded, but if you specify config.plugins, only those will be loaded. Example:
|
808
|
-
|
809
|
-
config.plugins = %w[ routing_navigator simply_helpful ]
|
810
|
-
|
811
|
-
* Clean up html on included error pages. [Tim Lucas]
|
812
|
-
|
813
|
-
* Fixed default 404.html and 500.htmls to remove extreme ugliness and include human language [David Heinemeier Hansson]
|
814
|
-
|
815
|
-
* Update to latest Prototype and script.aculo.us trunk versions [Thomas Fuchs]
|
816
|
-
|
817
|
-
* PostgreSQL: db:test:purge closes open database connections first. #6236 [alex]
|
818
|
-
|
819
|
-
* Fixed test:uncommitted on Windows (backslash issue) #4999 [paul@paulbutcher.com]
|
820
|
-
|
821
|
-
* Fixed migration creation to work with namespaced models, so script/generate model Gallery::Image will use create_table :gallery_images #6327 [Bob Silva]
|
822
|
-
|
823
|
-
* Fixed rename_table on SQLite tables with indexes defined #5942 [brandon@opensoul.org]
|
824
|
-
|
825
|
-
* Added default timeout setting of 5 seconds to SQLite3 database.yml configurations [David Heinemeier Hansson]
|
826
|
-
|
827
|
-
* Added generated attribute options to script/generate model, like the one found in scaffold_resource and resource [David Heinemeier Hansson]. Examples:
|
828
|
-
|
829
|
-
./script/generate model post title:string created_on:date body:text published:boolean
|
830
|
-
|
831
|
-
* Added script/generate resource which works just like scaffold_resource, but creates empty placeholders instead of predefined [David Heinemeier Hansson]
|
832
|
-
|
833
|
-
* script/runner can run files, pass on arguments, and be used as a shebang. #6286 [Tuxie, dlpond]
|
834
|
-
#!/usr/bin/env /path/to/my/app/script/runner
|
835
|
-
# Example: just start using your models as if you are in script/console
|
836
|
-
Product.find(:all).each { |product| product.check_inventory }
|
837
|
-
|
838
|
-
* Look for rake tasks in plugin subdirs. #6259 [obrie]
|
839
|
-
|
840
|
-
* Added map.connect ':controller/:action/:id.:format' as a default route to config/routes.rb [David Heinemeier Hansson]
|
841
|
-
|
842
|
-
* Updated prototype.js to 1.5.0_rc1 with latest fixes. [Rick Olson]
|
843
|
-
|
844
|
-
- XPATH support
|
845
|
-
- Make Form.getElements() return elements in the correct order
|
846
|
-
- fix broken Form.serialize return
|
847
|
-
|
848
|
-
* session_migration generator adds an index on updated_at. #6207 [grg]
|
849
|
-
|
850
|
-
* script/server creates the tmp/pids directory. #6204 [jonathan]
|
851
|
-
|
852
|
-
* Fix script/console --sandbox for internal transactions changes. #5738 [Chris McGrath, charles.gerungan@gmail.com]
|
853
|
-
|
854
|
-
* 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
|
855
|
-
documented in initializer.rb, the workaround is:
|
856
|
-
|
857
|
-
config.autoload_paths += Dir[RAILS_ROOT + '/app/models/*/']
|
858
|
-
|
859
|
-
References #6031. [Nicholas Seckar]
|
860
|
-
|
861
|
-
* Update to script.aculo.us 1.6.3 [Thomas Fuchs]
|
862
|
-
|
863
|
-
* Update to Prototype 1.5.0_rc1 [sam]
|
864
|
-
|
865
|
-
* Formally Deprecate the old rake tasks. [Michael Koziarski]
|
866
|
-
|
867
|
-
* Thoroughly test the FCGI dispatcher. #5970 [Kevin Clark]
|
868
|
-
|
869
|
-
* Remove Dir.chdir in the Webrick DispatchServlet#initialize method. Fix bad path errors when trying to load config/routes.rb. [Rick Olson]
|
870
|
-
|
871
|
-
* Tighten rescue clauses. #5985 [james@grayproductions.net]
|
872
|
-
|
873
|
-
* Cleaning up tests. [Kevin Clark, Jeremy Kemper]
|
874
|
-
|
875
|
-
* Add Dependencies.load_once_paths. [Nicholas Seckar]
|
876
|
-
|
877
|
-
* Updated to script.aculo.us 1.6.2 [Thomas Fuchs]
|
878
|
-
|
879
|
-
* Assign Routing.controller_paths; fix script/about and rails info controller. [Nicholas Seckar]
|
880
|
-
|
881
|
-
* Don't warn dispatcher of Reloadable deprecations. [Nicholas Seckar]
|
882
|
-
|
883
|
-
* Rearrange application resetting and preparation, fix bug with leaking subclasses hash in ActiveRecord::Base [Rick Olson]
|
884
|
-
|
885
|
-
ActiveRecord::Base.reset_subclasses is called before Dependencies are cleared and classes removed.
|
886
|
-
ActiveRecord::Base.instantiate_observers is called during a Dispatcher preparation callback.
|
887
|
-
|
888
|
-
* Add missing mock directories from the autoload_paths configuration. [Rick Olson]
|
889
|
-
|
890
|
-
* Nested controller scaffolding also nests the generated layout. [iain d broadfoot]
|
891
|
-
|
892
|
-
* Add "require 'dispatcher'" to webrick server in the continuing quest to squash webrick weirdness. [Nicholas Seckar]
|
893
|
-
|
894
|
-
* Add autoload_paths support to Initializer. [Nicholas Seckar]
|
895
|
-
|
896
|
-
* Fix Dispatcher.reset_application! so that AR subclasses are removed and Observers re-initialized *after* Reloadable classes are removed. Closes #5743. [Rick Olson]
|
897
|
-
|
898
|
-
* Clarify usage of script/plugin source. Closes #5344. [James Adam]
|
899
|
-
|
900
|
-
* Add Dispatcher.to_prepare and config.to_prepare to provide a pre-request hook. [Nicholas Seckar]
|
901
|
-
|
902
|
-
* Tweak the Rails load order so observers are loaded after plugins, and reloaded in development mode. Closed #5279. [Rick Olson]
|
903
|
-
|
904
|
-
* Added that you can change the web server port in config/lighttpd.conf from script/server --port/-p #5465 [mats@imediatec.co.uk]
|
905
|
-
|
906
|
-
* script/performance/profiler compatibility with the new ruby-prof, including an option to choose the results printer. #5679 [Shugo Maeda]
|
907
|
-
|
908
|
-
* Fixed the failsafe response so it uses either the current recognized controller or ApplicationController. [Rick Olson]
|
909
|
-
|
910
|
-
* Make sure script/reaper only reaps dispatcher pids by default, and not the spawner's pid. [Jamis Buck]
|
911
|
-
|
912
|
-
* Fix script/plugin about so it uses about.yml and not meta.yml. [James Adam]
|
913
|
-
|
914
|
-
* Dispatcher processes rescued actions with the same controller that processed the request. #4625 [sd@notso.net]
|
915
|
-
|
916
|
-
* rails -d frontbase to create a new project with a frontbase database.yml. #4945 [mlaster@metavillage.com]
|
917
|
-
|
918
|
-
* Ensure the logger is initialized. #5629 [mike@clarkware.com]
|
919
|
-
|
920
|
-
* Added Mongrel-spawning capabilities to script/process/spawner. Mongrel will be the default choice if installed, otherwise FCGI is tried [David Heinemeier Hansson]. Examples:
|
921
|
-
|
922
|
-
spawner # starts instances on 8000, 8001, and 8002 using Mongrel if available
|
923
|
-
spawner fcgi # starts instances on 8000, 8001, and 8002 using FCGI
|
924
|
-
spawner mongrel -i 5 # starts instances on 8000, 8001, 8002, 8003, and 8004 using Mongrel
|
925
|
-
spawner -p 9100 -i 10 # starts 10 instances counting from 9100 to 9109 using Mongrel if available
|
926
|
-
spawner -p 9100 -r 5 # starts 3 instances counting from 9100 to 9102 and attempts start them every 5 seconds
|
927
|
-
|
928
|
-
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.
|
929
|
-
|
930
|
-
* Update scaffolding functional tests to use :id => people(:first) instead of :id => 1. #5612 [evan@protest.net]
|
931
|
-
|
932
|
-
* db:test:clone should remove existing tables before reloading the schema. #5607 [sveit@tradeharbor.com]
|
933
|
-
|
934
|
-
* Fixed migration generation for class names like ACLController #5197 [brad@madriska.com]
|
935
|
-
|
936
|
-
* Added show_source_list and show_call_stack to breakpoints to make it easier to get context #5476 [takiuchi@drecom.co.jp]. Examples:
|
937
|
-
|
938
|
-
irb(#<TopController:0x40822a68>):002:0> show_source_list
|
939
|
-
0001 class TopController < ApplicationController
|
940
|
-
0002 def show
|
941
|
-
0003-> breakpoint
|
942
|
-
0004 end
|
943
|
-
0005
|
944
|
-
0006 def index
|
945
|
-
0007 end
|
946
|
-
0008
|
947
|
-
=> "/path/to/rails/root/app/controllers/top_controller.rb"
|
948
|
-
|
949
|
-
irb(#<TopController:0x40822a68>):004:0> show_call_stack 3
|
950
|
-
vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
|
951
|
-
vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
|
952
|
-
app/controllers/top_controller.rb:3:in `show'
|
953
|
-
=> "/path/to/rails/root/app/controllers/top_controller.rb:3"
|
954
|
-
|
955
|
-
* Generate scaffold layout in subdirectory appropriate to its module nesting. #5511 [nils@alumni.rice.edu]
|
956
|
-
|
957
|
-
* Mongrel: script/server tails the rails log like it does with lighttpd. Prefer mongrel over lighttpd. #5541 [mike@clarkware.com]
|
958
|
-
|
959
|
-
* Don't assume Active Record is available. #5497 [bob@sporkmonger.com]
|
960
|
-
|
961
|
-
* Mongrel: script/server works on Win32. #5499 [jeremydurham@gmail.com]
|
962
|
-
|
963
|
-
* Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440. [Nick Sieger]
|
964
|
-
|
965
|
-
* Mongrel support for script/server. #5475 [jeremydurham@gmail.com]
|
966
|
-
|
967
|
-
* Fix script/plugin so it doesn't barf on invalid URLs [Rick Olson]
|
968
|
-
|
969
|
-
* Fix plugin install bug at dir with space. (closes #5359) [Yoshimasa NIWA]
|
970
|
-
|
971
|
-
* Fix bug with 'script/plugin install' so it reports unknown plugin names correctly. [Rick Olson]
|
972
|
-
|
973
|
-
* 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]
|
974
|
-
|
975
|
-
* Create temporary dirs relative to RAILS_ROOT when running script/server #5014 [elliot@townx.org]
|
976
|
-
|
977
|
-
* Minor tweak to dispatcher to use recognize instead of recognize!, as per the new routes. [Jamis Buck]
|
978
|
-
|
979
|
-
* Make "script/plugin install" work with svn+ssh URLs. [Sam Stephenson]
|
980
|
-
|
981
|
-
* Added lib/ to the directories that will get application docs generated [David Heinemeier Hansson]
|
982
|
-
|
983
|
-
* Add observer generator. Closes #5167. [François Beausoleil]
|
984
|
-
|
985
|
-
* Session migration generator obeys pluralize_table_names. #5145 [James Adam]
|
986
|
-
|
987
|
-
* rake test:recent understands subdirectories. #2925 [jerrett@bravenet.com]
|
988
|
-
|
989
|
-
* The app generator detects the XAMPP package's MySQL socket location. #3832 [elliot@townx.org]
|
990
|
-
|
991
|
-
* 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]
|
992
|
-
|
993
|
-
* Distinguish the spawners for different processes [David Heinemeier Hansson]
|
994
|
-
|
995
|
-
* Added -n/--process to script/process/spawner name the process pid (default is dispatch) [David Heinemeier Hansson]
|
996
|
-
|
997
|
-
* Namespaced OrderedHash so the Rails implementation does not clash with any others. (fixes #4911) [Julian Tarkhanov]
|
998
|
-
|
999
|
-
* Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
|
1000
|
-
|
1001
|
-
* Added script/process/inspector to do simple process status information on Rails dispatchers keeping pid files in tmp/pids [David Heinemeier Hansson]
|
1002
|
-
|
1003
|
-
* 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 [David Heinemeier Hansson]
|
1004
|
-
|
1005
|
-
|
1006
|
-
*1.2.3* (March 12th, 2007)
|
1007
|
-
|
1008
|
-
* Ruby 1.8.6 compatibility
|
1009
|
-
|
1010
|
-
* Windows: include MinGW in RUBY_PLATFORM check. #2982 [okkez000@gmail.com, Kaspar Schiess]
|
1011
|
-
|
1012
|
-
* Stop swallowing errors during rake test [Michael Koziarski]
|
1013
|
-
|
1014
|
-
|
1015
|
-
*1.2.2* (February 5th, 2007)
|
1016
|
-
|
1017
|
-
* Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ [Chad Fowler]
|
1018
|
-
|
1019
|
-
* Require the dispatcher for Rails::Configuration#to_prepare. [Rick Olson]
|
1020
|
-
|
1021
|
-
|
1022
|
-
*1.2.1* (January 16th, 2007)
|
1023
|
-
|
1024
|
-
* Updated to Active Record 1.15.1, Action Pack 1.13.1, Action Mailer 1.3.1, Action Web Service 1.2.1
|
1025
|
-
|
1026
|
-
|
1027
|
-
*1.2.0* (January 16th, 2007)
|
1028
|
-
|
1029
|
-
* Update to Prototype 1.5.0. [Sam Stephenson]
|
1030
|
-
|
1031
|
-
* Generator: use destination path for diff tempfiles. #7015 [alfeld]
|
1032
|
-
|
1033
|
-
* Fixed that webrick would strip leading newlines and hang connection #4156 [psross]
|
1034
|
-
|
1035
|
-
* Ensure plugins are in the Dependencies.load_once_paths collection by default. [Rick Olson]
|
1036
|
-
If you really want your plugins to reload, add this to the very top of init.rb:
|
1037
|
-
|
1038
|
-
Dependencies.load_once_paths.delete(lib_path)
|
1039
|
-
|
1040
|
-
* Fix scaffold_resource generator so it respects the --pretend argument when creating the routes file. Closes #6852 [fearoffish]
|
1041
|
-
|
1042
|
-
* Fix Webrick Daemon dispatching bug regarding a bad current working directory. Closes #4899 [Rick Olson]
|
1043
|
-
|
1044
|
-
* 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]
|
1045
|
-
|
1046
|
-
* Don't generate a components directory in new Rails apps. [Jeremy Kemper]
|
1047
|
-
|
1048
|
-
* Fixed script/process/spawner to work properly with Mongrel including in -r (daemonize mode) [David Heinemeier Hansson]
|
1049
|
-
|
1050
|
-
* Deprecated the name route "root" as it'll be used as a shortcut for map.connect '' in Rails 2.0 [David Heinemeier Hansson]
|
1051
|
-
|
1052
|
-
* Fixed that script/server running against Mongrel should tail the proper log regardless of the environment [David Heinemeier Hansson]
|
1053
|
-
|
1054
|
-
* Update initializer to load Rails::VERSION as soon as possible. Closes #6698. [Nicholas Seckar]
|
1055
|
-
|
1056
|
-
* 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) [David Heinemeier Hansson]
|
1057
|
-
|
1058
|
-
* Made RAILS_GEM_VERSION work for beta gems too, so specifying 1.1.6 will give you 1.1.6.4520 if available [David Heinemeier Hansson]
|
1059
|
-
|
1060
|
-
* Update to Prototype and script.aculo.us [5579]. [Sam Stephenson, Thomas Fuchs]
|
1061
|
-
|
1062
|
-
* Made script/server work with -e and -d when using Mongrel [David Heinemeier Hansson]
|
1063
|
-
|
1064
|
-
* Make sure that exceptions which are thrown outside of the user code try their best to be handeled in ApplicationController#rescue_action [Tobias Lütke]
|
1065
|
-
|
1066
|
-
* Rails::VERSION::STRING should always be available without having to require 'rails/version'. #6244 [fearoffish]
|
1067
|
-
|
1068
|
-
* Add grep-based fallback to reaper, to work in pidless setups [Jamis Buck]
|
1069
|
-
|
1070
|
-
* 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]
|
1071
|
-
|
1072
|
-
* Alter prior change to use require_dependency instead of require_or_load. Causes ApplicationController to be reloaded again. Closes #6587. [Nicholas Seckar]
|
1073
|
-
|
1074
|
-
* Rake: use absolute paths to load lib and vendor tasks so they may be run outside of RAILS_ROOT. #6584 [jchris]
|
1075
|
-
|
1076
|
-
* scaffold_resource generator uses _path named routes and head instead of render :nothing => true. #6545 [Josh Susser]
|
1077
|
-
|
1078
|
-
* Generator can show diff on file collision to help you decide whether to skip or overwrite. #6364 [jeffw, Jeremy Kemper]
|
1079
|
-
|
1080
|
-
* Generated directories are recursively svn added, like mkdir -p. #6416 [NeilW]
|
1081
|
-
|
1082
|
-
* resource and scaffold_resource generators add a restful route to config/routes.rb [Jeremy Kemper]
|
1083
|
-
|
1084
|
-
* Revert environment changes for autoload_paths. [Michael Koziarski]
|
1085
|
-
|
1086
|
-
* Clean up the output of rake stats, de-emphasise components and apis, and remove the indents for tests [Michael Koziarski]
|
1087
|
-
|
1088
|
-
* Added option to script/process/spawner of specifying the binding address #5133 [Dee Zsombor]
|
1089
|
-
|
1090
|
-
* Update environment.rb comments to include config.autoload_paths. Closes #6478 [caio]
|
1091
|
-
|
1092
|
-
* Update scaffold to use new form_tag block functionality. Closes #6480. [Bob Silva]
|
1093
|
-
|
1094
|
-
* Plugin generator: check for class collisions. #4833 [vinbarnes@gmail.com]
|
1095
|
-
|
1096
|
-
* Mailer generator: handle mailers in modules, set mime_version in unit test. [Jeremy Kemper]
|
1097
|
-
|
1098
|
-
* Set $KCODE to 'u' by default to enable the multibyte safe String#chars proxy. [Michael Koziarski]
|
1099
|
-
|
1100
|
-
* Added config.plugins to control which plugins are loaded #6269 [Stefan Kaes]. By default, everything in vendor/plugins will be loaded, but if you specify config.plugins, only those will be loaded. Example:
|
1101
|
-
|
1102
|
-
config.plugins = %w[ routing_navigator simply_helpful ]
|
1103
|
-
|
1104
|
-
* Clean up html on included error pages. [Tim Lucas]
|
1105
|
-
|
1106
|
-
* Fixed default 404.html and 500.htmls to remove extreme ugliness and include human language [David Heinemeier Hansson]
|
1107
|
-
|
1108
|
-
* Update to latest Prototype and script.aculo.us trunk versions [Thomas Fuchs]
|
1109
|
-
|
1110
|
-
* PostgreSQL: db:test:purge closes open database connections first. #6236 [alex]
|
1111
|
-
|
1112
|
-
* Fixed test:uncommitted on Windows (backslash issue) #4999 [paul@paulbutcher.com]
|
1113
|
-
|
1114
|
-
* Fixed migration creation to work with namespaced models, so script/generate model Gallery::Image will use create_table :gallery_images #6327 [Bob Silva]
|
1115
|
-
|
1116
|
-
* Fixed rename_table on SQLite tables with indexes defined #5942 [brandon@opensoul.org]
|
1117
|
-
|
1118
|
-
* Added default timeout setting of 5 seconds to SQLite3 database.yml configurations [David Heinemeier Hansson]
|
1119
|
-
|
1120
|
-
* Added generated attribute options to script/generate model, like the one found in scaffold_resource and resource [David Heinemeier Hansson]. Examples:
|
1121
|
-
|
1122
|
-
./script/generate model post title:string created_on:date body:text published:boolean
|
1123
|
-
|
1124
|
-
* Added script/generate resource which works just like scaffold_resource, but creates empty placeholders instead of predefined [David Heinemeier Hansson]
|
1125
|
-
|
1126
|
-
* script/runner can run files, pass on arguments, and be used as a shebang. #6286 [Tuxie, dlpond]
|
1127
|
-
#!/usr/bin/env /path/to/my/app/script/runner
|
1128
|
-
# Example: just start using your models as if you are in script/console
|
1129
|
-
Product.find(:all).each { |product| product.check_inventory }
|
1130
|
-
|
1131
|
-
* Look for rake tasks in plugin subdirs. #6259 [obrie]
|
1132
|
-
|
1133
|
-
* Added map.connect ':controller/:action/:id.:format' as a default route to config/routes.rb [David Heinemeier Hansson]
|
1134
|
-
|
1135
|
-
* session_migration generator adds an index on updated_at. #6207 [grg]
|
1136
|
-
|
1137
|
-
* script/server creates the tmp/pids directory. #6204 [jonathan]
|
1138
|
-
|
1139
|
-
* Fix script/console --sandbox for internal transactions changes. #5738 [Chris McGrath, charles.gerungan@gmail.com]
|
1140
|
-
|
1141
|
-
* 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
|
1142
|
-
documented in initializer.rb, the workaround is:
|
1143
|
-
|
1144
|
-
config.autoload_paths += Dir[RAILS_ROOT + '/app/models/*/']
|
1145
|
-
|
1146
|
-
References #6031. [Nicholas Seckar]
|
1147
|
-
|
1148
|
-
* Update to script.aculo.us 1.6.3 [Thomas Fuchs]
|
1149
|
-
|
1150
|
-
* Formally Deprecate the old rake tasks. [Michael Koziarski]
|
1151
|
-
|
1152
|
-
* Thoroughly test the FCGI dispatcher. #5970 [Kevin Clark]
|
1153
|
-
|
1154
|
-
* Remove Dir.chdir in the Webrick DispatchServlet#initialize method. Fix bad path errors when trying to load config/routes.rb. [Rick Olson]
|
1155
|
-
|
1156
|
-
* Tighten rescue clauses. #5985 [james@grayproductions.net]
|
1157
|
-
|
1158
|
-
* Cleaning up tests. [Kevin Clark, Jeremy Kemper]
|
1159
|
-
|
1160
|
-
* Add Dependencies.load_once_paths. [Nicholas Seckar]
|
1161
|
-
|
1162
|
-
* Assign Routing.controller_paths; fix script/about and rails info controller. [Nicholas Seckar]
|
1163
|
-
|
1164
|
-
* Don't warn dispatcher of Reloadable deprecations. [Nicholas Seckar]
|
1165
|
-
|
1166
|
-
* Rearrange application resetting and preparation, fix bug with leaking subclasses hash in ActiveRecord::Base [Rick Olson]
|
1167
|
-
|
1168
|
-
ActiveRecord::Base.reset_subclasses is called before Dependencies are cleared and classes removed.
|
1169
|
-
ActiveRecord::Base.instantiate_observers is called during a Dispatcher preparation callback.
|
1170
|
-
|
1171
|
-
* Add missing mock directories from the autoload_paths configuration. [Rick Olson]
|
1172
|
-
|
1173
|
-
* Nested controller scaffolding also nests the generated layout. [iain d broadfoot]
|
1174
|
-
|
1175
|
-
* Add "require 'dispatcher'" to webrick server in the continuing quest to squash webrick weirdness. [Nicholas Seckar]
|
1176
|
-
|
1177
|
-
* Add autoload_paths support to Initializer. [Nicholas Seckar]
|
1178
|
-
|
1179
|
-
* Fix Dispatcher.reset_application! so that AR subclasses are removed and Observers re-initialized *after* Reloadable classes are removed. Closes #5743. [Rick Olson]
|
1180
|
-
|
1181
|
-
* Clarify usage of script/plugin source. Closes #5344. [James Adam]
|
1182
|
-
|
1183
|
-
* Add Dispatcher.to_prepare and config.to_prepare to provide a pre-request hook. [Nicholas Seckar]
|
1184
|
-
|
1185
|
-
* Tweak the Rails load order so observers are loaded after plugins, and reloaded in development mode. Closed #5279. [Rick Olson]
|
1186
|
-
|
1187
|
-
* Added that you can change the web server port in config/lighttpd.conf from script/server --port/-p #5465 [mats@imediatec.co.uk]
|
1188
|
-
|
1189
|
-
* script/performance/profiler compatibility with the new ruby-prof, including an option to choose the results printer. #5679 [Shugo Maeda]
|
1190
|
-
|
1191
|
-
* Fixed the failsafe response so it uses either the current recognized controller or ApplicationController. [Rick Olson]
|
1192
|
-
|
1193
|
-
* Make sure script/reaper only reaps dispatcher pids by default, and not the spawner's pid. [Jamis Buck]
|
1194
|
-
|
1195
|
-
* Fix script/plugin about so it uses about.yml and not meta.yml. [James Adam]
|
1196
|
-
|
1197
|
-
* Dispatcher processes rescued actions with the same controller that processed the request. #4625 [sd@notso.net]
|
1198
|
-
|
1199
|
-
* rails -d frontbase to create a new project with a frontbase database.yml. #4945 [mlaster@metavillage.com]
|
1200
|
-
|
1201
|
-
* Ensure the logger is initialized. #5629 [mike@clarkware.com]
|
1202
|
-
|
1203
|
-
* Added Mongrel-spawning capabilities to script/process/spawner. Mongrel will be the default choice if installed, otherwise FCGI is tried [David Heinemeier Hansson]. Examples:
|
1204
|
-
|
1205
|
-
spawner # starts instances on 8000, 8001, and 8002 using Mongrel if available
|
1206
|
-
spawner fcgi # starts instances on 8000, 8001, and 8002 using FCGI
|
1207
|
-
spawner mongrel -i 5 # starts instances on 8000, 8001, 8002, 8003, and 8004 using Mongrel
|
1208
|
-
spawner -p 9100 -i 10 # starts 10 instances counting from 9100 to 9109 using Mongrel if available
|
1209
|
-
spawner -p 9100 -r 5 # starts 3 instances counting from 9100 to 9102 and attempts start them every 5 seconds
|
1210
|
-
|
1211
|
-
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.
|
1212
|
-
|
1213
|
-
* Update scaffolding functional tests to use :id => people(:first) instead of :id => 1. #5612 [evan@protest.net]
|
1214
|
-
|
1215
|
-
* db:test:clone should remove existing tables before reloading the schema. #5607 [sveit@tradeharbor.com]
|
1216
|
-
|
1217
|
-
* Fixed migration generation for class names like ACLController #5197 [brad@madriska.com]
|
1218
|
-
|
1219
|
-
* Added show_source_list and show_call_stack to breakpoints to make it easier to get context #5476 [takiuchi@drecom.co.jp]. Examples:
|
1220
|
-
|
1221
|
-
irb(#<TopController:0x40822a68>):002:0> show_source_list
|
1222
|
-
0001 class TopController < ApplicationController
|
1223
|
-
0002 def show
|
1224
|
-
0003-> breakpoint
|
1225
|
-
0004 end
|
1226
|
-
0005
|
1227
|
-
0006 def index
|
1228
|
-
0007 end
|
1229
|
-
0008
|
1230
|
-
=> "/path/to/rails/root/app/controllers/top_controller.rb"
|
1231
|
-
|
1232
|
-
irb(#<TopController:0x40822a68>):004:0> show_call_stack 3
|
1233
|
-
vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
|
1234
|
-
vendor/rails/railties/lib/breakpoint.rb:536:in `breakpoint'
|
1235
|
-
app/controllers/top_controller.rb:3:in `show'
|
1236
|
-
=> "/path/to/rails/root/app/controllers/top_controller.rb:3"
|
1237
|
-
|
1238
|
-
* Generate scaffold layout in subdirectory appropriate to its module nesting. #5511 [nils@alumni.rice.edu]
|
1239
|
-
|
1240
|
-
* Mongrel: script/server tails the rails log like it does with lighttpd. Prefer mongrel over lighttpd. #5541 [mike@clarkware.com]
|
1241
|
-
|
1242
|
-
* Don't assume Active Record is available. #5497 [bob@sporkmonger.com]
|
1243
|
-
|
1244
|
-
* Mongrel: script/server works on Win32. #5499 [jeremydurham@gmail.com]
|
1245
|
-
|
1246
|
-
* Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440. [Nick Sieger]
|
1247
|
-
|
1248
|
-
* Mongrel support for script/server. #5475 [jeremydurham@gmail.com]
|
1249
|
-
|
1250
|
-
* Fix script/plugin so it doesn't barf on invalid URLs [Rick Olson]
|
1251
|
-
|
1252
|
-
* Fix plugin install bug at dir with space. (closes #5359) [Yoshimasa NIWA]
|
1253
|
-
|
1254
|
-
* Fix bug with 'script/plugin install' so it reports unknown plugin names correctly. [Rick Olson]
|
1255
|
-
|
1256
|
-
* 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]
|
1257
|
-
|
1258
|
-
* Create temporary dirs relative to RAILS_ROOT when running script/server #5014 [elliot@townx.org]
|
1259
|
-
|
1260
|
-
* Minor tweak to dispatcher to use recognize instead of recognize!, as per the new routes. [Jamis Buck]
|
1261
|
-
|
1262
|
-
* Make "script/plugin install" work with svn+ssh URLs. [Sam Stephenson]
|
1263
|
-
|
1264
|
-
* Added lib/ to the directories that will get application docs generated [David Heinemeier Hansson]
|
1265
|
-
|
1266
|
-
* Add observer generator. Closes #5167. [François Beausoleil]
|
1267
|
-
|
1268
|
-
* Session migration generator obeys pluralize_table_names. #5145 [James Adam]
|
1269
|
-
|
1270
|
-
* rake test:recent understands subdirectories. #2925 [jerrett@bravenet.com]
|
1271
|
-
|
1272
|
-
* The app generator detects the XAMPP package's MySQL socket location. #3832 [elliot@townx.org]
|
1273
|
-
|
1274
|
-
* 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]
|
1275
|
-
|
1276
|
-
* Distinguish the spawners for different processes [David Heinemeier Hansson]
|
1277
|
-
|
1278
|
-
* Added -n/--process to script/process/spawner name the process pid (default is dispatch) [David Heinemeier Hansson]
|
1279
|
-
|
1280
|
-
* Namespaced OrderedHash so the Rails implementation does not clash with any others. (fixes #4911) [Julian Tarkhanov]
|
1281
|
-
|
1282
|
-
* Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
|
1283
|
-
|
1284
|
-
* Added script/process/inspector to do simple process status information on Rails dispatchers keeping pid files in tmp/pids [David Heinemeier Hansson]
|
1285
|
-
|
1286
|
-
* 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 [David Heinemeier Hansson]
|
1287
|
-
|
1288
|
-
|
1289
|
-
*1.1.6* (August 10th, 2006)
|
1290
|
-
|
1291
|
-
* Additional security patch
|
1292
|
-
|
1293
|
-
|
1294
|
-
*1.1.5* (August 8th, 2006)
|
1295
|
-
|
1296
|
-
* Mention in docs that config.frameworks doesn't work when getting Rails via Gems. #4857 [Alisdair McDiarmid]
|
1297
|
-
|
1298
|
-
* Change the scaffolding layout to use yield rather than @content_for_layout. [Marcel Molina Jr.]
|
1299
|
-
|
1300
|
-
* Includes critical security patch
|
1301
|
-
|
1302
|
-
|
1303
|
-
*1.1.4* (June 29th, 2006)
|
1304
|
-
|
1305
|
-
* Remove use of opts.on { |options[:name] } style hash assignment. References #4440. [headius@headius.com]
|
1306
|
-
|
1307
|
-
* Updated to Action Pack 1.12.3, ActionWebService 1.1.4, ActionMailer 1.2.3
|
1308
|
-
|
1309
|
-
|
1310
|
-
*1.1.3* (June 27th, 2006)
|
1311
|
-
|
1312
|
-
* Updated to Active Record 1.14.3, Action Pack 1.12.2, ActionWebService 1.1.3, ActionMailer 1.2.2
|
1313
|
-
|
1314
|
-
|
1315
|
-
*1.1.2* (April 9th, 2006)
|
1316
|
-
|
1317
|
-
* Mention in docs that config.frameworks doesn't work when getting Rails via Gems. Closes #4857. [Alisdair McDiarmid]
|
1318
|
-
|
1319
|
-
* Change the scaffolding layout to use yield rather than @content_for_layout. [Marcel Molina Jr.]
|
1320
|
-
|
1321
|
-
* Added rake rails:update:configs to update config/boot.rb from the latest (also included in rake rails:update) [David Heinemeier Hansson]
|
1322
|
-
|
1323
|
-
* Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an uncommented RAILS_GEM_VERSION line, and not use require_gem [David Heinemeier Hansson]
|
1324
|
-
|
1325
|
-
|
1326
|
-
*1.1.1* (April 6th, 2006)
|
1327
|
-
|
1328
|
-
* Enhances plugin#discover allowing it to discover svn:// like URIs (closes #4565) [ruben.nine@gmail.com]
|
1329
|
-
|
1330
|
-
* Update to Prototype 1.5.0_rc0 [Sam Stephenson]
|
1331
|
-
|
1332
|
-
* Fixed that the -r/--ruby path option of the rails command was not being respected #4549 [ryan.raaum@gmail.com]
|
1333
|
-
|
1334
|
-
* Added that Dispatcher exceptions should not be shown to the user unless a default log has not been configured. Instead show public/500.html [David Heinemeier Hansson]
|
1335
|
-
|
1336
|
-
* Fixed that rake clone_structure_to_test should quit on pgsql if the dump is unsuccesful #4585 [augustz@augustz.com]
|
1337
|
-
|
1338
|
-
* Fixed that rails --version should have the return code of 0 (success) #4560 [blair@orcaware.com]
|
1339
|
-
|
1340
|
-
* Install alias so Rails::InfoController is accessible at /rails_info. Closes #4546. [Nicholas Seckar]
|
1341
|
-
|
1342
|
-
* Fixed that spawner should daemonize if running in repeat mode [David Heinemeier Hansson]
|
1343
|
-
|
1344
|
-
* 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 [David Heinemeier Hansson]
|
1345
|
-
|
1346
|
-
* Applied Prototype $() performance patches (#4465, #4477) and updated script.aculo.us [Sam Stephenson, Thomas Fuchs]
|
1347
|
-
|
1348
|
-
* Use --simple-prompt instead of --prompt-mode simple for console compatibility with Windows/Ruby 1.8.2 #4532 [starr@starrnhorne.com]
|
1349
|
-
|
1350
|
-
* Make Rails::VERSION implicitly loadable #4491. [Nicholas Seckar]
|
1351
|
-
|
1352
|
-
* Fixed rake rails:freeze:gems #4518 [benji@silverinsanity.com]
|
1353
|
-
|
1354
|
-
* Added -f/--freeze option to rails command for freezing the application to the Rails version it was generated with [David Heinemeier Hansson]
|
1355
|
-
|
1356
|
-
* Added gem binding of apps generated through the rails command to the gems of they were generated with [Nicholas Seckar]
|
1357
|
-
|
1358
|
-
* Added expiration settings for JavaScript, CSS, HTML, and images to default lighttpd.conf [David Heinemeier Hansson]
|
1359
|
-
|
1360
|
-
* Added gzip compression for JavaScript, CSS, and HTML to default lighttpd.conf [David Heinemeier Hansson]
|
1361
|
-
|
1362
|
-
* Avoid passing escapeHTML non-string in Rails' info controller [Nicholas Seckar]
|
1363
|
-
|
1364
|
-
|
1365
|
-
*1.1.0* (March 27th, 2006)
|
1366
|
-
|
1367
|
-
* Allow db:fixtures:load to load a subset of the applications fixtures. [Chad Fowler]
|
1368
|
-
|
1369
|
-
ex.
|
1370
|
-
|
1371
|
-
rake db:fixtures:load FIXTURES=customers,plans
|
1372
|
-
|
1373
|
-
* Update to Prototype 1.5.0_pre1 [Sam Stephenson]
|
1374
|
-
|
1375
|
-
* Update to script.aculo.us 1.6 [Thomas Fuchs]
|
1376
|
-
|
1377
|
-
* Add an integration_test generator [Jamis Buck]
|
1378
|
-
|
1379
|
-
* 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.]
|
1380
|
-
|
1381
|
-
ex.
|
1382
|
-
|
1383
|
-
>> puts helper.options_for_select([%w(a 1), %w(b 2), %w(c 3)])
|
1384
|
-
<option value="1">a</option>
|
1385
|
-
<option value="2">b</option>
|
1386
|
-
<option value="3">c</option>
|
1387
|
-
=> nil
|
1388
|
-
|
1389
|
-
* Replaced old session rake tasks with db:sessions:create to generate a migration, and db:sessions:clear to remove sessions. [Rick Olson]
|
1390
|
-
|
1391
|
-
* Reject Ruby 1.8.3 when loading Rails; extract version checking code. [Chad Fowler]
|
1392
|
-
|
1393
|
-
* Remove explicit loading of RailsInfo and RailsInfoController. [Nicholas Seckar]
|
1394
|
-
|
1395
|
-
* Move RailsInfo and RailsInfoController to Rails::Info and Rails::InfoController. [Nicholas Seckar]
|
1396
|
-
|
1397
|
-
* Extend load path with Railties' builtin directory to make adding support code easy. [Nicholas Seckar]
|
1398
|
-
|
1399
|
-
* Fix the rails_info controller by explicitly loading it, and marking it as not reloadable. [Nicholas Seckar]
|
1400
|
-
|
1401
|
-
* Fixed rails:freeze:gems for Windows #3274 [paul@paulbutcher.com]
|
1402
|
-
|
1403
|
-
* 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]
|
1404
|
-
|
1405
|
-
* Add verification to generated scaffolds, don't allow get for unsafe actions [Michael Koziarski]
|
1406
|
-
|
1407
|
-
* Don't replace application.js in public/javascripts if it already exists [Cody Fauser]
|
1408
|
-
|
1409
|
-
* Change test:uncommitted to delay execution of `svn status` by using internal Rake API's. [Nicholas Seckar]
|
1410
|
-
|
1411
|
-
* Use require_library_or_gem to load rake in commands/server.rb. Closes #4205. [rob.rasmussen@gmail.com]
|
1412
|
-
|
1413
|
-
* Use the Rake API instead of shelling out to create the tmp directory in commands/server.rb. [Chad Fowler]
|
1414
|
-
|
1415
|
-
* Added a backtrace to the evil WSOD (White Screen of Death). Closes #4073. TODO: Clearer exceptions [Rick Olson]
|
1416
|
-
|
1417
|
-
* Added tracking of database and framework versions in script/about #4088 [charles.gerungan@gmail.com/Rick Olson]
|
1418
|
-
|
1419
|
-
* Added public/javascripts/application.js as a sample since it'll automatically be included in javascript_include_tag :defaults [David Heinemeier Hansson]
|
1420
|
-
|
1421
|
-
* Added socket cleanup for lighttpd, both before and after [David Heinemeier Hansson]
|
1422
|
-
|
1423
|
-
* Added automatic creation of tmp/ when running script/server [David Heinemeier Hansson]
|
1424
|
-
|
1425
|
-
* Added silence_stream that'll work on both STDERR or STDOUT or any other stream and deprecated silence_stderr in the process [David Heinemeier Hansson]
|
1426
|
-
|
1427
|
-
* Added reload! method to script/console to reload all models and others that include Reloadable without quitting the console #4056 [esad@esse.at]
|
1428
|
-
|
1429
|
-
* 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 [David Heinemeier Hansson]
|
1430
|
-
|
1431
|
-
* Added fix for upload problems with lighttpd from Safari/IE to config/lighttpd.conf #3999 [Thijs van der Vossen]
|
1432
|
-
|
1433
|
-
* Added test:uncommitted to test changes since last checkin to Subversion #4035 [technomancy@gmail.com]
|
1434
|
-
|
1435
|
-
* Help script/about print the correct svn revision when in a non-English locale. #4026 [babie7a0@ybb.ne.jp]
|
1436
|
-
|
1437
|
-
* Add 'app' accessor to script/console as an instance of Integration::Session [Jamis Buck]
|
1438
|
-
|
1439
|
-
* Generator::Base#usage takes an optional message argument which defaults to Generator::Base#usage_message. [Jeremy Kemper]
|
1440
|
-
|
1441
|
-
* Remove the extraneous AR::Base.threaded_connections setting from the webrick server. [Jeremy Kemper]
|
1442
|
-
|
1443
|
-
* Add integration test support to app generation and testing [Jamis Buck]
|
1444
|
-
|
1445
|
-
* 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 [David Heinemeier Hansson]
|
1446
|
-
|
1447
|
-
* 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! [David Heinemeier Hansson]
|
1448
|
-
|
1449
|
-
* 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]
|
1450
|
-
|
1451
|
-
* Added collision option to template generation in generators #3329 [anna@wota.jp]. Examples:
|
1452
|
-
|
1453
|
-
m.template "stuff.config" , "config/stuff.config" , :collision => :skip
|
1454
|
-
m.template "auto-stamping", "config/generator.log", :collision => :force
|
1455
|
-
|
1456
|
-
* Added more information to script/plugin's doings to ease debugging #3755 [Rick Olson]
|
1457
|
-
|
1458
|
-
* Changed the default configuration for lighttpd to use tmp/sockets instead of log/ for the FastCGI sockets [David Heinemeier Hansson]
|
1459
|
-
|
1460
|
-
* 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 [David Heinemeier Hansson]
|
1461
|
-
|
1462
|
-
* 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) [David Heinemeier Hansson]
|
1463
|
-
|
1464
|
-
* Added tmp/sessions, tmp/cache, and tmp/sockets as default directories in the Rails skeleton [David Heinemeier Hansson]
|
1465
|
-
|
1466
|
-
* 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 [David Heinemeier Hansson]
|
1467
|
-
|
1468
|
-
* 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 [David Heinemeier Hansson]
|
1469
|
-
|
1470
|
-
* Allow script/server -c /path/to/lighttpd.conf [Jeremy Kemper]
|
1471
|
-
|
1472
|
-
* Remove hardcoded path to reaper script in script/server [Jeremy Kemper]
|
1473
|
-
|
1474
|
-
* Update script.aculo.us to V1.5.3 [Thomas Fuchs]
|
1475
|
-
|
1476
|
-
* 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 [David Heinemeier Hansson]
|
1477
|
-
|
1478
|
-
* 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. [David Heinemeier Hansson]
|
1479
|
-
|
1480
|
-
* 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]
|
1481
|
-
|
1482
|
-
* 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. [David Heinemeier Hansson]
|
1483
|
-
|
1484
|
-
* Fixed that static requests could unlock the mutex guarding dynamic requests in the WEBrick servlet #3433 [tom@craz8.com]
|
1485
|
-
|
1486
|
-
* Fixed documentation tasks to work with Rake 0.7.0 #3563 [kazuhiko@fdiary.net]
|
1487
|
-
|
1488
|
-
* Update to Prototype 1.5.0_pre0 [Sam Stephenson]
|
1489
|
-
|
1490
|
-
* Sort the list of plugins so we load in a consistent order [Rick Olson]
|
1491
|
-
|
1492
|
-
* Show usage when script/plugin is called without arguments [tom@craz8.com]
|
1493
|
-
|
1494
|
-
* Corrected problems with plugin loader where plugins set 'name' incorrectly #3297 [anna@wota.jp]
|
1495
|
-
|
1496
|
-
* Make migration generator only report on exact duplicate names, not partial dupliate names. #3442 [jeremy@planetargon.com Marcel Molina Jr.]
|
1497
|
-
|
1498
|
-
* Fix typo in mailer generator USAGE. #3458 [chriztian.steinmeier@gmail.com]
|
1499
|
-
|
1500
|
-
* Ignore version mismatch between pg_dump and the database server. #3457 [Simon Stapleton]
|
1501
|
-
|
1502
|
-
* Reap FCGI processes after lighttpd exits. [Sam Stephenson]
|
1503
|
-
|
1504
|
-
* Honor ActiveRecord::Base.pluralize_table_names when creating and destroying session store table. #3204. [rails@bencurtis.com, Marcel Molina Jr.]
|
1505
|
-
|
1506
|
-
*1.0.0* (December 13th, 2005)
|
1507
|
-
|
1508
|
-
* Update instructions on how to find and install generators. #3172. [Chad Fowler]
|
1509
|
-
|
1510
|
-
* Generator looks in vendor/generators also. [Chad Fowler]
|
1511
|
-
|
1512
|
-
* Generator copies files in binary mode. #3156 [minimudboy@gmail.com]
|
1513
|
-
|
1514
|
-
* Add builtin/ to the gemspec. Closes #3047. [Nicholas Seckar, Sam Stephenson]
|
1515
|
-
|
1516
|
-
* Add install.rb file to plugin generation which is loaded, if it exists, when you install a plugin. [Marcel Molina Jr.]
|
1517
|
-
|
1518
|
-
* Run initialize_logger in script/lighttpd to ensure the log file exists before tailing it. [Sam Stephenson]
|
1519
|
-
|
1520
|
-
* Make load_fixtures include csv fixtures. #3053. [me@mdaines.com]
|
1521
|
-
|
1522
|
-
* Fix freeze_gems so that the latest rails version is dumped by default. [Nicholas Seckar]
|
1523
|
-
|
1524
|
-
* script/plugin: handle root paths and plugin names which contain spaces. #2995 [justin@aspect.net]
|
1525
|
-
|
1526
|
-
* Model generator: correct relative path to test_helper in unit test. [Jeremy Kemper]
|
1527
|
-
|
1528
|
-
* Make the db_schema_dump task honor the SCHEMA environment variable if present the way db_schema_import does. #2931. [Blair Zajac]
|
1529
|
-
|
1530
|
-
* Have the lighttpd server script report the actual ip to which the server is bound. #2903. [Adam]
|
1531
|
-
|
1532
|
-
* Add plugin library directories to the load path after the lib directory so that libraries in the lib directory get precedence. #2910. [James Adam]
|
1533
|
-
|
1534
|
-
* Make help for the console command more explicit about how to specify the desired environment in which to run the console. #2911. [anonymous]
|
1535
|
-
|
1536
|
-
* PostgreSQL: the purge_test_database Rake task shouldn't explicitly specify the template0 template when creating a fresh test database. #2964 [Dreamer3]
|
1537
|
-
|
1538
|
-
* Introducing the session_migration generator. Creates an add_session_table migration. Allows generator to specify migrations directory. #2958, #2960 [Rick Olson]
|
1539
|
-
|
1540
|
-
* script/console uses RAILS_ENV environment variable if present. #2932 [Blair Zajac <blair@orcaware.com>
|
1541
|
-
|
1542
|
-
* Windows: eliminate the socket option in database.yml. #2924 [Wayne Vucenic <waynev@gmail.com>]
|
1543
|
-
|
1544
|
-
* Eliminate nil from newly generated logfiles. #2927 [Blair Zajac <blair@orcaware.com>]
|
1545
|
-
|
1546
|
-
* Rename Version constant to VERSION. #2802 [Marcel Molina Jr.]
|
1547
|
-
|
1548
|
-
* 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]
|
1549
|
-
|
1550
|
-
* SQLite: the clone_structure_to_test and purge_test_database Rake tasks should always use the test environment. #2846 [Rick Olson]
|
1551
|
-
|
1552
|
-
* Make sure that legacy db tasks also reference :database for SQLite #2830 [kazuhiko@fdiary.net]
|
1553
|
-
|
1554
|
-
* Pass __FILE__ when evaluating plugins' init.rb. #2817 [James Adam]
|
1555
|
-
|
1556
|
-
* Better svn status matching for generators. #2814 [François Beausoleil <francois.beausoleil@gmail.com>, Blair Zajac <blair@orcaware.com>]
|
1557
|
-
|
1558
|
-
* Don't reload routes until plugins have been loaded so they have a chance to extend the routing capabilities [David Heinemeier Hansson]
|
1559
|
-
|
1560
|
-
* Don't detach or fork for script/server tailing [Nicholas Seckar]
|
1561
|
-
|
1562
|
-
* 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 [David Heinemeier Hansson]
|
1563
|
-
|
1564
|
-
* Force RAILS_ENV to be "test" when running tests, so that ENV["RAILS_ENV"] = "production" in config/environment.rb doesn't wreck havok [David Heinemeier Hansson] #2660
|
1565
|
-
|
1566
|
-
* Correct versioning in :freeze_gems Rake task. #2778 [Jakob Skjerning, Jeremy Kemper]
|
1567
|
-
|
1568
|
-
* 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]
|
1569
|
-
|
1570
|
-
|
1571
|
-
*0.14.3 (RC4)* (November 7th, 2005)
|
1572
|
-
|
1573
|
-
* Add 'add_new_scripts' rake task for adding new rails scripts to script/* [Jamis Buck]
|
1574
|
-
|
1575
|
-
* Remove bogus hyphen from script/process/reaper calls to 'ps'. #2767 [anonymous]
|
1576
|
-
|
1577
|
-
* Copy lighttpd.conf when it is first needed, instead of on app creation [Jamis Buck]
|
1578
|
-
|
1579
|
-
* Use require_library_or_gem 'fcgi' in script/server [Sam Stephenson]
|
1580
|
-
|
1581
|
-
* 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' [David Heinemeier Hansson]
|
1582
|
-
|
1583
|
-
* 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]
|
1584
|
-
|
1585
|
-
* Plugins are discovered in nested paths, so you can organize your plugins directory as you like. [Jeremy Kemper]
|
1586
|
-
|
1587
|
-
* Refactor load_plugin from load_plugins. #2757 [alex.r.moon@gmail.com]
|
1588
|
-
|
1589
|
-
* Make use of silence_stderr in script/lighttpd, script/plugin, and Rails::Info [Sam Stephenson]
|
1590
|
-
|
1591
|
-
* Enable HTTP installation of plugins when svn isn't avaialable. Closes #2661. [Chad Fowler]
|
1592
|
-
|
1593
|
-
* Added script/about to display formatted Rails::Info output [Sam Stephenson]
|
1594
|
-
|
1595
|
-
* Added Rails::Info to catalog assorted information about a Rails application's environment [Sam Stephenson]
|
1596
|
-
|
1597
|
-
* Tail the logfile when running script/server lighttpd in the foreground [Sam Stephenson]
|
1598
|
-
|
1599
|
-
* Try to guess the port number from config/lighttpd.conf in script/server lighttpd [Sam Stephenson]
|
1600
|
-
|
1601
|
-
* Don't reap spawn-fcgi. #2727 [matthew@walker.wattle.id.au]
|
1602
|
-
|
1603
|
-
* Reaper knows how to find processes even if the dispatch path is very long. #2711 [matthew@walker.wattle.id.au]
|
1604
|
-
|
1605
|
-
* Make fcgi handler respond to TERM signals with an explicit exit [Jamis Buck]
|
1606
|
-
|
1607
|
-
* Added demonstration of fixture use to the test case generated by the model generator [David Heinemeier Hansson]
|
1608
|
-
|
1609
|
-
* If specified, pass PostgreSQL client character encoding to createdb. #2703 [Kazuhiko <kazuhiko@fdiary.net>]
|
1610
|
-
|
1611
|
-
* Catch CGI multipart parse errors. Wrap dispatcher internals in a failsafe response handler. [Jeremy Kemper]
|
1612
|
-
|
1613
|
-
* 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]
|
1614
|
-
|
1615
|
-
* 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]
|
1616
|
-
|
1617
|
-
* 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]
|
1618
|
-
|
1619
|
-
* Comment database.yml and include PostgreSQL and SQLite examples. [Jeremy Kemper]
|
1620
|
-
|
1621
|
-
* Improve script/plugin on Windows. #2646 [Chad Fowler]
|
1622
|
-
|
1623
|
-
* The *_plugindoc Rake tasks look deeper into the plugins' lib directories. #2652 [bellis@deepthought.org]
|
1624
|
-
|
1625
|
-
* The PostgreSQL :db_structure_dump Rake task limits its dump to the schema search path in database.yml. [Anatol Pomozov <anatol.pomozov@gmail.com>]
|
1626
|
-
|
1627
|
-
* Add task to generate rdoc for all installed plugins. [Marcel Molina Jr.]
|
1628
|
-
|
1629
|
-
* Update script.aculo.us to V1.5_rc4 [Thomas Fuchs]
|
1630
|
-
|
1631
|
-
* Add default Mac + DarwinPorts MySQL socket locations to the app generator. [Jeremy Kemper]
|
1632
|
-
|
1633
|
-
* Migrations may be destroyed: script/destroy migration foo. #2635 [Charles M. Gerungan <charles.gerungan@gmail.com>, Jamis Buck, Jeremy Kemper]
|
1634
|
-
|
1635
|
-
* 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 [David Heinemeier Hansson]
|
1636
|
-
|
1637
|
-
* Removed app/apis as a default empty dir since its automatically created when using script/generate web_service [David Heinemeier Hansson]
|
1638
|
-
|
1639
|
-
* Added script/plugin to manage plugins (install, remove, list, etc) [Ryan Tomayko]
|
1640
|
-
|
1641
|
-
* Added test_plugins task: Run the plugin tests in vendor/plugins/**/test (or specify with PLUGIN=name) [David Heinemeier Hansson]
|
1642
|
-
|
1643
|
-
* Added plugin generator to create a stub structure for a new plugin in vendor/plugins (see "script/generate plugin" for help) [David Heinemeier Hansson]
|
1644
|
-
|
1645
|
-
* Fixed scaffold generator when started with only 1 parameter #2609 [self@mattmower.com]
|
1646
|
-
|
1647
|
-
* rake should run functional tests even if the unit tests have failures [Jim Weirich]
|
1648
|
-
|
1649
|
-
* Back off cleanpath to be symlink friendly. Closes #2533 [Nicholas Seckar]
|
1650
|
-
|
1651
|
-
* Load rake task files in alphabetical order so you can build dependencies and count on them #2554 [Blair Zajac]
|
1652
|
-
|
1653
|
-
|
1654
|
-
*0.14.2 (RC3)* (October 26th, 2005)
|
1655
|
-
|
1656
|
-
* Constants set in the development/test/production environment file are set in Object
|
1657
|
-
|
1658
|
-
* Scaffold generator pays attention to the controller name. #2562 [self@mattmower.com]
|
1659
|
-
|
1660
|
-
* Include tasks from vendor/plugins/*/tasks in the Rakefile #2545 [Rick Olson]
|
1661
|
-
|
1662
|
-
|
1663
|
-
*0.14.1 (RC2)* (October 19th, 2005)
|
1664
|
-
|
1665
|
-
* Don't clean RAILS_ROOT on windows
|
1666
|
-
|
1667
|
-
* Remove trailing '/' from RAILS_ROOT [Nicholas Seckar]
|
1668
|
-
|
1669
|
-
* Upgraded to Active Record 1.12.1 and Action Pack 1.10.1
|
1670
|
-
|
1671
|
-
|
1672
|
-
*0.14.0 (RC1)* (October 16th, 2005)
|
1673
|
-
|
1674
|
-
* Moved generator folder from RAILS_ROOT/generators to RAILS_ROOT/lib/generators [Tobias Lütke]
|
1675
|
-
|
1676
|
-
* Fix rake dev and related commands [Nicholas Seckar]
|
1677
|
-
|
1678
|
-
* The rails command tries to deduce your MySQL socket by running `mysql_config
|
1679
|
-
--socket`. If it fails, default to /path/to/your/mysql.sock
|
1680
|
-
|
1681
|
-
* 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]
|
1682
|
-
|
1683
|
-
* 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)
|
1684
|
-
|
1685
|
-
* Added update_javascripts task which will fetch all the latest js files from your current rails install. Use after updating rails. [Tobias Lütke]
|
1686
|
-
|
1687
|
-
* Added cleaning of RAILS_ROOT to useless elements such as '../non-dot-dot/'. Provides cleaner backtraces and error messages. [Nicholas Seckar]
|
1688
|
-
|
1689
|
-
* Made the instantiated/transactional fixtures settings be controlled through Rails::Initializer. Transactional and non-instantiated fixtures are default from now on. [Florian Weber]
|
1690
|
-
|
1691
|
-
* Support using different database adapters for development and test with ActiveRecord::Base.schema_format = :ruby [Sam Stephenson]
|
1692
|
-
|
1693
|
-
* Make webrick work with session(:off)
|
1694
|
-
|
1695
|
-
* Add --version, -v option to the Rails command. Closes #1840. [stancell]
|
1696
|
-
|
1697
|
-
* 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]
|
1698
|
-
|
1699
|
-
* Make the generator skip a file if it already exists and is identical to the new file.
|
1700
|
-
|
1701
|
-
* Add experimental plugin support #2335
|
1702
|
-
|
1703
|
-
* Made Rakefile aware of new .js files in script.aculo.us [Thomas Fuchs]
|
1704
|
-
|
1705
|
-
* Make table_name and controller_name in generators honor AR::Base.pluralize_table_names. #1216 #2213 [kazuhiko@fdiary.net]
|
1706
|
-
|
1707
|
-
* Clearly label functional and unit tests in rake stats output. #2297 [lasse.koskela@gmail.com]
|
1708
|
-
|
1709
|
-
* Make the migration generator only check files ending in *.rb when calculating the next file name #2317 [Chad Fowler]
|
1710
|
-
|
1711
|
-
* Added prevention of duplicate migrations from the generator #2240 [François Beausoleil]
|
1712
|
-
|
1713
|
-
* 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).
|
1714
|
-
|
1715
|
-
* Reformed all the config/environments/* files to conform to the new Rails::Configuration approach. Fully backwards compatible.
|
1716
|
-
|
1717
|
-
* 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
|
1718
|
-
|
1719
|
-
* Added dump of schema version to the db_structure_dump task for databases that support migrations #1835 [Rick Olson]
|
1720
|
-
|
1721
|
-
* Fixed script/profiler for Ruby 1.8.2 #1863 [Rick Olson]
|
1722
|
-
|
1723
|
-
* Fixed clone_structure_to_test task for SQLite #1864 [jon@burningbush.us]
|
1724
|
-
|
1725
|
-
* 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]
|
1726
|
-
|
1727
|
-
* 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]
|
1728
|
-
|
1729
|
-
* Added -c/--charset option to WEBrick server, so you can specify a default charset (which without changes is UTF-8) #2084 [wejn@box.cz]
|
1730
|
-
|
1731
|
-
* Make the default stats task extendable by modifying the STATS_DIRECTORIES constant
|
1732
|
-
|
1733
|
-
* Allow the selected environment to define RAILS_DEFAULT_LOGGER, and have Rails::Initializer use it if it exists.
|
1734
|
-
|
1735
|
-
* Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is empty and doesn't require updating.
|
1736
|
-
|
1737
|
-
* 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)
|
1738
|
-
|
1739
|
-
* Fixed the scaffold generator to fail right away if the database isn't accessible instead of in mid-air #1169 [Chad Fowler]
|
1740
|
-
|
1741
|
-
* Corrected project-local generator location in scripts.rb #2010 [Michael Schuerig]
|
1742
|
-
|
1743
|
-
* Don't require the environment just to clear the logs #2093 [Scott Barron]
|
1744
|
-
|
1745
|
-
* Make the default rakefile read *.rake files from config/tasks (for easy extension of the rakefile by e.g. generators)
|
1746
|
-
|
1747
|
-
* Only load breakpoint in development mode and when BREAKPOINT_SERVER_PORT is defined.
|
1748
|
-
|
1749
|
-
* Allow the --toggle-spin switch on process/reaper to be negated
|
1750
|
-
|
1751
|
-
* Replace render_partial with render :partial in scaffold generator [Nicholas Seckar]
|
1752
|
-
|
1753
|
-
* Added -w flag to ps in process/reaper #1934 [Scott Barron]
|
1754
|
-
|
1755
|
-
* 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]
|
1756
|
-
|
1757
|
-
* 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.
|
1758
|
-
|
1759
|
-
* Added load_fixtures task to the Rakefile, which will load all the fixtures into the database for the current environment #1791 [Marcel Molina Jr.]
|
1760
|
-
|
1761
|
-
* 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]
|
1762
|
-
|
1763
|
-
* 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).
|
1764
|
-
|
1765
|
-
|
1766
|
-
*0.13.1* (11 July, 2005)
|
1767
|
-
|
1768
|
-
* 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.
|
1769
|
-
|
1770
|
-
* Fixed that each request with the WEBrick adapter would open a new database connection #1685 [Sam Stephenson]
|
1771
|
-
|
1772
|
-
* Added support for SQL Server in the database rake tasks #1652 [Ken Barker] 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.
|
1773
|
-
|
1774
|
-
* 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
|
1775
|
-
|
1776
|
-
* Extend Ruby version check to include RUBY_RELEASE_DATE >= '2005-12-25', the final Ruby 1.8.2 release #1674 [court3nay]
|
1777
|
-
|
1778
|
-
* Improved documentation for environment config files #1625 [court3nay]
|
1779
|
-
|
1780
|
-
|
1781
|
-
*0.13.0* (6 July, 2005)
|
1782
|
-
|
1783
|
-
* Changed the default logging level in config/environment.rb to INFO for production (so SQL statements won't be logged)
|
1784
|
-
|
1785
|
-
* Added migration generator: ./script/generate migration add_system_settings
|
1786
|
-
|
1787
|
-
* Added "migrate" as rake task to execute all the pending migrations from db/migrate
|
1788
|
-
|
1789
|
-
* Fixed that model generator would make fixtures plural, even if ActiveRecord::Base.pluralize_table_names was false #1185 [Marcel Molina Jr.]
|
1790
|
-
|
1791
|
-
* Added a DOCTYPE of HTML transitional to the HTML files generated by Rails #1124 [Michael Koziarski]
|
1792
|
-
|
1793
|
-
* SIGTERM also gracefully exits dispatch.fcgi. Ignore SIGUSR1 on Windows.
|
1794
|
-
|
1795
|
-
* 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 [Stefan Kaes]
|
1796
|
-
|
1797
|
-
* 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.
|
1798
|
-
|
1799
|
-
* RailsFCGIHandler (dispatch.fcgi) no longer tries to explicitly flush $stdout (CgiProcess#out always calls flush)
|
1800
|
-
|
1801
|
-
* Fixed rakefile actions against PostgreSQL when the password is all numeric #1462 [Michael Schubert]
|
1802
|
-
|
1803
|
-
* ActionMailer::Base subclasses are reloaded with the other rails components #1262
|
1804
|
-
|
1805
|
-
* Made the WEBrick adapter not use a mutex around action performance if ActionController::Base.allow_concurrency is true (default is false)
|
1806
|
-
|
1807
|
-
* Fixed that mailer generator generated fixtures/plural while units expected fixtures/singular #1457 [Scott Barron]
|
1808
|
-
|
1809
|
-
* 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]
|
1810
|
-
|
1811
|
-
* 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]
|
1812
|
-
|
1813
|
-
* Fixed Webrick to escape + characters in URL's the same way that lighttpd and apache do #1397 [Nicholas Seckar]
|
1814
|
-
|
1815
|
-
* Added -e/--environment option to script/runner #1408 [François Beausoleil]
|
1816
|
-
|
1817
|
-
* Modernize the scaffold generator to use the simplified render and test methods and to change style from @params["id"] to params[:id]. #1367
|
1818
|
-
|
1819
|
-
* Added graceful exit from pressing CTRL-C during the run of the rails command #1150 [Caleb Tennis]
|
1820
|
-
|
1821
|
-
* 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]
|
1822
|
-
|
1823
|
-
* Made dispatch.fcgi more robust by catching fluke errors and retrying unless its a permanent condition. [Jamis Buck]
|
1824
|
-
|
1825
|
-
* Added console --profile for profiling an IRB session #1154 [Jeremy Kemper]
|
1826
|
-
|
1827
|
-
* Changed console_sandbox into console --sandbox #1154 [Jeremy Kemper]
|
1828
|
-
|
1829
|
-
|
1830
|
-
*0.12.1* (20th April, 2005)
|
1831
|
-
|
1832
|
-
* Upgraded to Active Record 1.10.1, Action Pack 1.8.1, Action Mailer 0.9.1, Action Web Service 0.7.1
|
1833
|
-
|
1834
|
-
|
1835
|
-
*0.12.0* (19th April, 2005)
|
1836
|
-
|
1837
|
-
* Fixed that purge_test_database would use database settings from the development environment when recreating the test database #1122 [rails@cogentdude.com]
|
1838
|
-
|
1839
|
-
* Added script/benchmarker to easily benchmark one or more statement a number of times from within the environment. Examples:
|
1840
|
-
|
1841
|
-
# runs the one statement 10 times
|
1842
|
-
script/benchmarker 10 'Person.expensive_method(10)'
|
1843
|
-
|
1844
|
-
# pits the two statements against each other with 50 runs each
|
1845
|
-
script/benchmarker 50 'Person.expensive_method(10)' 'Person.cheap_method(10)'
|
1846
|
-
|
1847
|
-
* Added script/profiler to easily profile a single statement from within the environment. Examples:
|
1848
|
-
|
1849
|
-
script/profiler 'Person.expensive_method(10)'
|
1850
|
-
script/profiler 'Person.expensive_method(10)' 10 # runs the statement 10 times
|
1851
|
-
|
1852
|
-
* Added Rake target clear_logs that'll truncate all the *.log files in log/ to zero #1079 [Lucas Carlson]
|
1853
|
-
|
1854
|
-
* Added lazy typing for generate, such that ./script/generate cn == ./script/generate controller and the likes #1051 [k@v2studio.com]
|
1855
|
-
|
1856
|
-
* Fixed that ownership is brought over in pg_dump during tests for PostgreSQL #1060 [pburleson]
|
1857
|
-
|
1858
|
-
* 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
|
1859
|
-
|
1860
|
-
|
1861
|
-
*0.11.1* (27th March, 2005)
|
1862
|
-
|
1863
|
-
* Fixed the dispatch.fcgi use of a logger
|
1864
|
-
|
1865
|
-
* 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
|
1866
|
-
|
1867
|
-
|
1868
|
-
*0.11.0* (22th March, 2005)
|
1869
|
-
|
1870
|
-
* Removed SCRIPT_NAME from the WEBrick environment to prevent conflicts with PATH_INFO #896 [Nicholas Seckar]
|
1871
|
-
|
1872
|
-
* 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]
|
1873
|
-
|
1874
|
-
* Added additional error handling to the FastCGI dispatcher to catch even errors taking down the entire process
|
1875
|
-
|
1876
|
-
* Improved the generated scaffold code a lot to take advantage of recent Rails developments #882 [Tobias Lütke]
|
1877
|
-
|
1878
|
-
* 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]
|
1879
|
-
|
1880
|
-
* 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 Lütke]
|
1881
|
-
|
1882
|
-
* Added script/runner which can be used to run code inside the environment by eval'ing the first parameter. Examples:
|
1883
|
-
|
1884
|
-
./script/runner 'ReminderService.deliver'
|
1885
|
-
./script/runner 'Mailer.receive(STDIN.read)'
|
1886
|
-
|
1887
|
-
This makes it easier to do CRON and postfix scripts without actually making a script just to trigger 1 line of code.
|
1888
|
-
|
1889
|
-
* Fixed webrick_server cookie handling to allow multiple cookes to be set at once #800, #813 [dave@cherryville.org]
|
1890
|
-
|
1891
|
-
* Fixed the Rakefile's interaction with postgresql to:
|
1892
|
-
|
1893
|
-
1. Use PGPASSWORD and PGHOST in the environment to fix prompting for
|
1894
|
-
passwords when connecting to a remote db and local socket connections.
|
1895
|
-
2. Add a '-x' flag to pg_dump which stops it dumping privileges #807 [rasputnik]
|
1896
|
-
3. Quote the user name and use template0 when dumping so the functions doesn't get dumped too #855 [pburleson]
|
1897
|
-
4. Use the port if available #875 [madrobby]
|
1898
|
-
|
1899
|
-
* 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
|
1900
|
-
|
1901
|
-
|
1902
|
-
*0.10.1* (7th March, 2005)
|
1903
|
-
|
1904
|
-
* Fixed rake stats to ignore editor backup files like model.rb~ #791 [Sebastian Kanthak]
|
1905
|
-
|
1906
|
-
* Added exception shallowing if the DRb server can't be started (not worth making a fuss about to distract new users) #779 [Tobias Lütke]
|
1907
|
-
|
1908
|
-
* Added an empty favicon.ico file to the public directory of new applications (so the logs are not spammed by its absence)
|
1909
|
-
|
1910
|
-
* Fixed that scaffold generator new template should use local variable instead of instance variable #778 [Dan Peterson]
|
1911
|
-
|
1912
|
-
* Allow unit tests to run on a remote server for PostgreSQL #781 [adamm@galacticasoftware.com]
|
1913
|
-
|
1914
|
-
* Added web_service generator (run ./script/generate web_service for help) #776 [Leon Bredt]
|
1915
|
-
|
1916
|
-
* Added app/apis and components to code statistics report #729 [Scott Barron]
|
1917
|
-
|
1918
|
-
* Fixed WEBrick server to use ABSOLUTE_RAILS_ROOT instead of working_directory #687 [Nicholas Seckar]
|
1919
|
-
|
1920
|
-
* Fixed rails_generator to be usable without RubyGems #686 [Cristi BALAN]
|
1921
|
-
|
1922
|
-
* Fixed -h/--help for generate and destroy generators #331
|
1923
|
-
|
1924
|
-
* Added begin/rescue around the FCGI dispatcher so no uncaught exceptions can bubble up to kill the process (logs to log/fastcgi.crash.log)
|
1925
|
-
|
1926
|
-
* Fixed that association#count would produce invalid sql when called sequentialy #659 [kanis@comcard.de]
|
1927
|
-
|
1928
|
-
* Fixed test/mocks/testing to the correct test/mocks/test #740
|
1929
|
-
|
1930
|
-
* Added early failure if the Ruby version isn't 1.8.2 or above #735
|
1931
|
-
|
1932
|
-
* Removed the obsolete -i/--index option from the WEBrick servlet #743
|
1933
|
-
|
1934
|
-
* 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
|
1935
|
-
|
1936
|
-
|
1937
|
-
*0.10.0* (24th February, 2005)
|
1938
|
-
|
1939
|
-
* 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 Molina Jr.]
|
1940
|
-
|
1941
|
-
* Fixed that script/server -d was broken so daemon mode couldn't be used #687 [Nicholas Seckar]
|
1942
|
-
|
1943
|
-
* Upgraded to breakpoint 92 which fixes:
|
1944
|
-
|
1945
|
-
* overload IRB.parse_opts(), fixes #443
|
1946
|
-
=> breakpoints in tests work even when running them via rake
|
1947
|
-
* untaint handlers, might fix an issue discussed on the Rails ML
|
1948
|
-
* added verbose mode to breakpoint_client
|
1949
|
-
* less noise caused by breakpoint_client by default
|
1950
|
-
* ignored TerminateLineInput exception in signal handler
|
1951
|
-
=> quiet exit on Ctrl-C
|
1952
|
-
|
1953
|
-
* Added support for independent components residing in /components. Example:
|
1954
|
-
|
1955
|
-
Controller: components/list/items_controller.rb
|
1956
|
-
(holds a List::ItemsController class with uses_component_template_root called)
|
1957
|
-
|
1958
|
-
Model : components/list/item.rb
|
1959
|
-
(namespace is still shared, so an Item model in app/models will take precedence)
|
1960
|
-
|
1961
|
-
Views : components/list/items/show.rhtml
|
1962
|
-
|
1963
|
-
|
1964
|
-
* Added --sandbox option to script/console that'll roll back all changes made to the database when you quit #672 [Jeremy Kemper]
|
1965
|
-
|
1966
|
-
* Added 'recent' as a rake target that'll run tests for files that changed in the last 10 minutes #612 [Jeremy Kemper]
|
1967
|
-
|
1968
|
-
* Changed script/console to default to development environment and drop --no-inspect #650 [Jeremy Kemper]
|
1969
|
-
|
1970
|
-
* 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]
|
1971
|
-
|
1972
|
-
* Added that running test_units and test_functional now performs the clone_structure_to_test as well #566 [rasputnik]
|
1973
|
-
|
1974
|
-
* 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]
|
1975
|
-
|
1976
|
-
* Added Action Web Service as a new add-on framework for Action Pack [Leon Bredt]
|
1977
|
-
|
1978
|
-
* Added Active Support as an independent utility and standard library extension bundle
|
1979
|
-
|
1980
|
-
* Upgraded to Active Record 1.7.0, Action Pack 1.5.0, Action Mailer 0.7.0
|
1981
|
-
|
1982
|
-
|
1983
|
-
*0.9.5* (January 25th, 2005)
|
1984
|
-
|
1985
|
-
* 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.
|
1986
|
-
|
1987
|
-
* Added Florian Gross' latest version of Breakpointer and friends that fixes a variaty of bugs #441 [Florian Gross]
|
1988
|
-
|
1989
|
-
* Fixed skeleton Rakefile to work with sqlite3 out of the box #521 [rasputnik]
|
1990
|
-
|
1991
|
-
* Fixed that script/breakpointer didn't get the Ruby path rewritten as the other scripts #523 [brandt@kurowski.net]
|
1992
|
-
|
1993
|
-
* Fixed handling of syntax errors in models that had already been succesfully required once in the current interpreter
|
1994
|
-
|
1995
|
-
* Fixed that models that weren't referenced in associations weren't being reloaded in the development mode by reinstating the reload
|
1996
|
-
|
1997
|
-
* Fixed that generate scaffold would produce bad functional tests
|
1998
|
-
|
1999
|
-
* Fixed that FCGI can also display SyntaxErrors
|
2000
|
-
|
2001
|
-
* Upgraded to Active Record 1.6.0, Action Pack 1.4.0
|
2002
|
-
|
2003
|
-
|
2004
|
-
*0.9.4.1* (January 18th, 2005)
|
2005
|
-
|
2006
|
-
* Added 5-second timeout to WordNet alternatives on creating reserved-word models #501 [Marcel Molina Jr.]
|
2007
|
-
|
2008
|
-
* Fixed binding of caller #496 [Alexey]
|
2009
|
-
|
2010
|
-
* Upgraded to Active Record 1.5.1, Action Pack 1.3.1, Action Mailer 0.6.1
|
2011
|
-
|
2012
|
-
|
2013
|
-
*0.9.4* (January 17th, 2005)
|
2014
|
-
|
2015
|
-
* Added that ApplicationController will catch a ControllerNotFound exception if someone attempts to access a url pointing to an unexisting controller [Tobias Lütke]
|
2016
|
-
|
2017
|
-
* Flipped code-to-test ratio around to be more readable #468 [Scott Baron]
|
2018
|
-
|
2019
|
-
* Fixed log file permissions to be 666 instead of 777 (so they're not executable) #471 [Lucas Carlson]
|
2020
|
-
|
2021
|
-
* Fixed that auto reloading would some times not work or would reload the models twice #475 [Tobias Lütke]
|
2022
|
-
|
2023
|
-
* Added rewrite rules to deal with caching to public/.htaccess
|
2024
|
-
|
2025
|
-
* Added the option to specify a controller name to "generate scaffold" and made the default controller name the plural form of the model.
|
2026
|
-
|
2027
|
-
* Added that rake clone_structure_to_test, db_structure_dump, and purge_test_database tasks now pick up the source database to use from
|
2028
|
-
RAILS_ENV instead of just forcing development #424 [Tobias Lütke]
|
2029
|
-
|
2030
|
-
* Fixed script/console to work with Windows (that requires the use of irb.bat) #418 [Chris McGrath]
|
2031
|
-
|
2032
|
-
* Fixed WEBrick servlet slowdown over time by restricting the load path reloading to mod_ruby
|
2033
|
-
|
2034
|
-
* Removed Fancy Indexing as a default option on the WEBrick servlet as it made it harder to use various caching schemes
|
2035
|
-
|
2036
|
-
* Upgraded to Active Record 1.5, Action Pack 1.3, Action Mailer 0.6
|
2037
|
-
|
2038
|
-
|
2039
|
-
*0.9.3* (January 4th, 2005)
|
2040
|
-
|
2041
|
-
* Added support for SQLite in the auto-dumping/importing of schemas for development -> test #416
|
2042
|
-
|
2043
|
-
* Added automated rewriting of the shebang lines on installs through the gem rails command #379 [Manfred Stienstra]
|
2044
|
-
|
2045
|
-
* Added ActionMailer::Base.deliver_method = :test to the test environment so that mail objects are available in ActionMailer::Base.deliveries
|
2046
|
-
for functional testing.
|
2047
|
-
|
2048
|
-
* Added protection for creating a model through the generators with a name of an existing class, like Thread or Date.
|
2049
|
-
It'll even offer you a synonym using wordnet.princeton.edu as a look-up. No, I'm not kidding :) [Florian Gross]
|
2050
|
-
|
2051
|
-
* Fixed dependency management to happen in a unified fashion for Active Record and Action Pack using the new Dependencies module. This means that
|
2052
|
-
the environment options needs to change from:
|
2053
|
-
|
2054
|
-
Before in development.rb:
|
2055
|
-
ActionController::Base.reload_dependencies = true
|
2056
|
-
ActiveRecord::Base.reload_associations = true
|
2057
|
-
|
2058
|
-
Now in development.rb:
|
2059
|
-
Dependencies.mechanism = :load
|
2060
|
-
|
2061
|
-
Before in production.rb and test.rb:
|
2062
|
-
ActionController::Base.reload_dependencies = false
|
2063
|
-
ActiveRecord::Base.reload_associations = false
|
2064
|
-
|
2065
|
-
Now in production.rb and test.rb:
|
2066
|
-
Dependencies.mechanism = :require
|
2067
|
-
|
2068
|
-
* Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #351
|
2069
|
-
|
2070
|
-
* Fixed that generated action_mailers doesnt need to require the action_mailer since thats already done in the environment #382 [Lucas Carlson]
|
2071
|
-
|
2072
|
-
* Upgraded to Action Pack 1.2.0 and Active Record 1.4.0
|
2073
|
-
|
2074
|
-
|
2075
|
-
*0.9.2*
|
2076
|
-
|
2077
|
-
* Fixed CTRL-C exists from the Breakpointer to be a clean affair without error dumping [Kent Sibilev]
|
2078
|
-
|
2079
|
-
* Fixed "rake stats" to work with sub-directories in models and controllers and to report the code to test ration [Scott Baron]
|
2080
|
-
|
2081
|
-
* Added that Active Record associations are now reloaded instead of cleared to work with the new const_missing hook in Active Record.
|
2082
|
-
|
2083
|
-
* Added graceful handling of an inaccessible log file by redirecting output to STDERR with a warning #330 [rainmkr]
|
2084
|
-
|
2085
|
-
* Added support for a -h/--help parameter in the generator #331 [Ulysses]
|
2086
|
-
|
2087
|
-
* Fixed that File.expand_path in config/environment.rb would fail when dealing with symlinked public directories [mjobin]
|
2088
|
-
|
2089
|
-
* Upgraded to Action Pack 1.1.0 and Active Record 1.3.0
|
2090
|
-
|
2091
|
-
|
2092
|
-
*0.9.1*
|
2093
|
-
|
2094
|
-
* Upgraded to Action Pack 1.0.1 for important bug fix
|
2095
|
-
|
2096
|
-
* Updated gem dependencies
|
2097
|
-
|
2098
|
-
|
2099
|
-
*0.9.0*
|
2100
|
-
|
2101
|
-
* Renamed public/dispatch.servlet to script/server -- it wasn't really dispatching anyway as its delegating calls to public/dispatch.rb
|
2102
|
-
|
2103
|
-
* Renamed AbstractApplicationController and abstract_application.rb to ApplicationController and application.rb, so that it will be possible
|
2104
|
-
for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb
|
2105
|
-
|
2106
|
-
* Added script/console that makes it even easier to start an IRB session for interacting with the domain model. Run with no-args to
|
2107
|
-
see help.
|
2108
|
-
|
2109
|
-
* Added breakpoint support through the script/breakpointer client. This means that you can break out of execution at any point in
|
2110
|
-
the code, investigate and change the model, AND then resume execution! Example:
|
2111
|
-
|
2112
|
-
class WeblogController < ActionController::Base
|
2113
|
-
def index
|
2114
|
-
@posts = Post.find_all
|
2115
|
-
breakpoint "Breaking out from the list"
|
2116
|
-
end
|
2117
|
-
end
|
2118
|
-
|
2119
|
-
So the controller will accept the action, run the first line, then present you with a IRB prompt in the breakpointer window.
|
2120
|
-
Here you can do things like:
|
2121
|
-
|
2122
|
-
Executing breakpoint "Breaking out from the list" at .../webrick_server.rb:16 in 'breakpoint'
|
2123
|
-
|
2124
|
-
>> @posts.inspect
|
2125
|
-
=> "[#<Post:0x14a6be8 @attributes={\"title\"=>nil, \"body\"=>nil, \"id\"=>\"1\"}>,
|
2126
|
-
#<Post:0x14a6620 @attributes={\"title\"=>\"Rails you know!\", \"body\"=>\"Only ten..\", \"id\"=>\"2\"}>]"
|
2127
|
-
>> @posts.first.title = "hello from a breakpoint"
|
2128
|
-
=> "hello from a breakpoint"
|
2129
|
-
|
2130
|
-
...and even better is that you can examine how your runtime objects actually work:
|
2131
|
-
|
2132
|
-
>> f = @posts.first
|
2133
|
-
=> #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>
|
2134
|
-
>> f.
|
2135
|
-
Display all 152 possibilities? (y or n)
|
2136
|
-
|
2137
|
-
Finally, when you're ready to resume execution, you press CTRL-D
|
2138
|
-
|
2139
|
-
* Changed environments to be configurable through an environment variable. By default, the environment is "development", but you
|
2140
|
-
can change that and set your own by configuring the Apache vhost with a string like (mod_env must be available on the server):
|
2141
|
-
|
2142
|
-
SetEnv RAILS_ENV production
|
2143
|
-
|
2144
|
-
...if you're using WEBrick, you can pick the environment to use with the command-line parameters -e/--environment, like this:
|
2145
|
-
|
2146
|
-
ruby public/dispatcher.servlet -e production
|
2147
|
-
|
2148
|
-
* Added a new default environment called "development", which leaves the production environment to be tuned exclusively for that.
|
2149
|
-
|
2150
|
-
* Added a start_server in the root of the Rails application to make it even easier to get started
|
2151
|
-
|
2152
|
-
* Fixed public/.htaccess to use RewriteBase and share the same rewrite rules for all the dispatch methods
|
2153
|
-
|
2154
|
-
* Fixed webrick_server to handle requests in a serialized manner (the Rails reloading infrastructure is not thread-safe)
|
2155
|
-
|
2156
|
-
* Added support for controllers in directories. So you can have:
|
2157
|
-
|
2158
|
-
app/controllers/account_controller.rb # URL: /account/
|
2159
|
-
app/controllers/admin/account_controller.rb # URL: /admin/account/
|
2160
|
-
|
2161
|
-
NOTE: You need to update your public/.htaccess with the new rules to pick it up
|
2162
|
-
|
2163
|
-
* Added reloading for associations and dependencies under cached environments like FastCGI and mod_ruby. This makes it possible to use
|
2164
|
-
those environments for development. This is turned on by default, but can be turned off with
|
2165
|
-
ActiveRecord::Base.reload_associations = false and ActionController::Base.reload_dependencies = false in production environments.
|
2166
|
-
|
2167
|
-
* Added support for sub-directories in app/models. So now you can have something like Basecamp with:
|
2168
|
-
|
2169
|
-
app/models/accounting
|
2170
|
-
app/models/project
|
2171
|
-
app/models/participants
|
2172
|
-
app/models/settings
|
2173
|
-
|
2174
|
-
It's poor man's namespacing, but only for file-system organization. You still require files just like before.
|
2175
|
-
Nothing changes inside the files themselves.
|
2176
|
-
|
2177
|
-
|
2178
|
-
* Fixed a few references in the tests generated by new_mailer [Jeremy Kemper]
|
2179
|
-
|
2180
|
-
* Added support for mocks in testing with test/mocks
|
2181
|
-
|
2182
|
-
* Cleaned up the environments a bit and added global constant RAILS_ROOT
|
2183
|
-
|
2184
|
-
|
2185
|
-
*0.8.5* (9)
|
2186
|
-
|
2187
|
-
* 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]:
|
2188
|
-
|
2189
|
-
def test_complex_stuff
|
2190
|
-
@david.projects << @new_project
|
2191
|
-
breakpoint "Let's have a closer look at @david"
|
2192
|
-
end
|
2193
|
-
|
2194
|
-
You need to install dev-utils yourself for this to work ("gem install dev-util").
|
2195
|
-
|
2196
|
-
* Added shared generator behavior so future upgrades should be possible without manually copying over files [Jeremy Kemper]
|
2197
|
-
|
2198
|
-
* Added the new helper style to both controller and helper templates [Jeremy Kemper]
|
2199
|
-
|
2200
|
-
* Added new_crud generator for creating a model and controller at the same time with explicit scaffolding [Jeremy Kemper]
|
2201
|
-
|
2202
|
-
* Added configuration of Test::Unit::TestCase.fixture_path to test_helper to concide with the new AR fixtures style
|
2203
|
-
|
2204
|
-
* Fixed that new_model was generating singular table/fixture names
|
2205
|
-
|
2206
|
-
* Upgraded to Action Mailer 0.4.0
|
2207
|
-
|
2208
|
-
* Upgraded to Action Pack 0.9.5
|
2209
|
-
|
2210
|
-
* Upgraded to Active Record 1.1.0
|
2211
|
-
|
2212
|
-
|
2213
|
-
*0.8.0 (15)*
|
2214
|
-
|
2215
|
-
* Removed custom_table_name option for new_model now that the Inflector is as powerful as it is
|
2216
|
-
|
2217
|
-
* Changed the default rake action to just do testing and separate API generation and coding statistics into a "doc" task.
|
2218
|
-
|
2219
|
-
* Fixed WEBrick dispatcher to handle missing slashes in the URLs gracefully [alexey]
|
2220
|
-
|
2221
|
-
* Added user option for all postgresql tool calls in the rakefile [elvstone]
|
2222
|
-
|
2223
|
-
* Fixed problem with running "ruby public/dispatch.servlet" instead of "cd public; ruby dispatch.servlet" [alexey]
|
2224
|
-
|
2225
|
-
* Fixed WEBrick server so that it no longer hardcodes the ruby interpreter used to "ruby" but will get the one used based
|
2226
|
-
on the Ruby runtime configuration. [Marcel Molina Jr.]
|
2227
|
-
|
2228
|
-
* Fixed Dispatcher so it'll route requests to magic_beans to MagicBeansController/magic_beans_controller.rb [Caio Chassot]
|
2229
|
-
|
2230
|
-
* "new_controller MagicBeans" and "new_model SubscriptionPayments" will now both behave properly as they use the new Inflector.
|
2231
|
-
|
2232
|
-
* Fixed problem with MySQL foreign key constraint checks in Rake :clone_production_structure_to_test target [Andreas Schwarz]
|
2233
|
-
|
2234
|
-
* Changed WEBrick server to by default be auto-reloading, which is slower but makes source changes instant.
|
2235
|
-
Class compilation cache can be turned on with "-c" or "--cache-classes".
|
2236
|
-
|
2237
|
-
* Added "-b/--binding" option to WEBrick dispatcher to bind the server to a specific IP address (default: 127.0.0.1) [Kevin Temp]
|
2238
|
-
|
2239
|
-
* dispatch.fcgi now DOESN'T set FCGI_PURE_RUBY as it was slowing things down for now reason [Andreas Schwarz]
|
2240
|
-
|
2241
|
-
* Added new_mailer generator to work with Action Mailer
|
2242
|
-
|
2243
|
-
* Included new framework: Action Mailer 0.3
|
2244
|
-
|
2245
|
-
* Upgraded to Action Pack 0.9.0
|
2246
|
-
|
2247
|
-
* Upgraded to Active Record 1.0.0
|
2248
|
-
|
2249
|
-
|
2250
|
-
*0.7.0*
|
2251
|
-
|
2252
|
-
* Added an optional second argument to the new_model script that allows the programmer to specify the table name,
|
2253
|
-
which will used to generate a custom table_name method in the model and will also be used in the creation of fixtures.
|
2254
|
-
[Kevin Radloff]
|
2255
|
-
|
2256
|
-
* script/new_model now turns AccountHolder into account_holder instead of accountholder [Kevin Radloff]
|
2257
|
-
|
2258
|
-
* Fixed the faulty handleing of static files with WEBrick [Andreas Schwarz]
|
2259
|
-
|
2260
|
-
* Unified function_test_helper and unit_test_helper into test_helper
|
2261
|
-
|
2262
|
-
* Fixed bug with the automated production => test database dropping on PostgreSQL [dhawkins]
|
2263
|
-
|
2264
|
-
* create_fixtures in both the functional and unit test helper now turns off the log during fixture generation
|
2265
|
-
and can generate more than one fixture at a time. Which makes it possible for assignments like:
|
2266
|
-
|
2267
|
-
@people, @projects, @project_access, @companies, @accounts =
|
2268
|
-
create_fixtures "people", "projects", "project_access", "companies", "accounts"
|
2269
|
-
|
2270
|
-
* Upgraded to Action Pack 0.8.5 (locally-scoped variables, partials, advanced send_file)
|
2271
|
-
|
2272
|
-
* Upgraded to Active Record 0.9.5 (better table_name guessing, cloning, find_all_in_collection)
|
2273
|
-
|
2274
|
-
|
2275
|
-
*0.6.5*
|
2276
|
-
|
2277
|
-
* No longer specifies a template for rdoc, so it'll use whatever is default (you can change it in the rakefile)
|
2278
|
-
|
2279
|
-
* The new_model generator will now use the same rules for plural wordings as Active Record
|
2280
|
-
(so Category will give categories, not categorys) [Kevin Radloff]
|
2281
|
-
|
2282
|
-
* dispatch.fcgi now sets FCGI_PURE_RUBY to true to ensure that it's the Ruby version that's loaded [danp]
|
2283
|
-
|
2284
|
-
* Made the GEM work with Windows
|
2285
|
-
|
2286
|
-
* Fixed bug where mod_ruby would "forget" the load paths added when switching between controllers
|
2287
|
-
|
2288
|
-
* PostgreSQL are now supported for the automated production => test database dropping [Kevin Radloff]
|
2289
|
-
|
2290
|
-
* Errors thrown by the dispatcher are now properly handled in FCGI.
|
2291
|
-
|
2292
|
-
* Upgraded to Action Pack 0.8.0 (lots and lots and lots of fixes)
|
2293
|
-
|
2294
|
-
* Upgraded to Active Record 0.9.4 (a bunch of fixes)
|
2295
|
-
|
2296
|
-
|
2297
|
-
*0.6.0*
|
2298
|
-
|
2299
|
-
* Added AbstractionApplicationController as a superclass for all controllers generated. This class can be used
|
2300
|
-
to carry filters and methods that are to be shared by all. It has an accompanying ApplicationHelper that all
|
2301
|
-
controllers will also automatically have available.
|
2302
|
-
|
2303
|
-
* Added environments that can be included from any script to get the full Active Record and Action Controller
|
2304
|
-
context running. This can be used by maintenance scripts or to interact with the model through IRB. Example:
|
2305
|
-
|
2306
|
-
require 'config/environments/production'
|
2307
|
-
|
2308
|
-
for account in Account.find_all
|
2309
|
-
account.recalculate_interests
|
2310
|
-
end
|
2311
|
-
|
2312
|
-
A short migration script for an account model that had it's interest calculation strategy changed.
|
2313
|
-
|
2314
|
-
* Accessing the index of a controller with "/weblog" will now redirect to "/weblog/" (only on Apache, not WEBrick)
|
2315
|
-
|
2316
|
-
* Simplified the default Apache config so even remote requests are served off CGI as a default.
|
2317
|
-
You'll now have to do something specific to activate mod_ruby and FCGI (like using the force urls).
|
2318
|
-
This should make it easier for new comers that start on an external server.
|
2319
|
-
|
2320
|
-
* Added more of the necessary Apache options to .htaccess to make it easier to setup
|
2321
|
-
|
2322
|
-
* Upgraded to Action Pack 0.7.9 (lots of fixes)
|
2323
|
-
|
2324
|
-
* Upgraded to Active Record 0.9.3 (lots of fixes)
|
2325
|
-
|
2326
|
-
|
2327
|
-
*0.5.7*
|
2328
|
-
|
2329
|
-
* Fixed bug in the WEBrick dispatcher that prevented it from getting parameters from the URL
|
2330
|
-
(through GET requests or otherwise)
|
2331
|
-
|
2332
|
-
* Added lib in root as a place to store app specific libraries
|
2333
|
-
|
2334
|
-
* Added lib and vendor to load_path, so anything store within can be loaded directly.
|
2335
|
-
Hence lib/redcloth.rb can be loaded with require "redcloth"
|
2336
|
-
|
2337
|
-
* Upgraded to Action Pack 0.7.8 (lots of fixes)
|
2338
|
-
|
2339
|
-
* Upgraded to Active Record 0.9.2 (minor upgrade)
|
2340
|
-
|
2341
|
-
|
2342
|
-
*0.5.6*
|
2343
|
-
|
2344
|
-
* Upgraded to Action Pack 0.7.7 (multipart form fix)
|
2345
|
-
|
2346
|
-
* Updated the generated template stubs to valid XHTML files
|
2347
|
-
|
2348
|
-
* Ensure that controllers generated are capitalized, so "new_controller TodoLists"
|
2349
|
-
gives the same as "new_controller Todolists" and "new_controller todolists".
|
2350
|
-
|
2351
|
-
|
2352
|
-
*0.5.5*
|
2353
|
-
|
2354
|
-
* Works on Windows out of the box! (Dropped symlinks)
|
2355
|
-
|
2356
|
-
* Added webrick dispatcher: Try "ruby public/dispatch.servlet --help" [Florian Gross]
|
2357
|
-
|
2358
|
-
* Report errors about initialization to browser (instead of attempting to use uninitialized logger)
|
2359
|
-
|
2360
|
-
* Upgraded to Action Pack 0.7.6
|
2361
|
-
|
2362
|
-
* Upgraded to Active Record 0.9.1
|
2363
|
-
|
2364
|
-
* Added distinct 500.html instead of reusing 404.html
|
2365
|
-
|
2366
|
-
* Added MIT license
|
2367
|
-
|
2368
|
-
|
2369
|
-
*0.5.0*
|
2370
|
-
|
2371
|
-
* First public release
|