| 1 |
*0.9.2* |
|---|
| 2 |
|
|---|
| 3 |
* Fixed CTRL-C exists from the Breakpointer to be a clean affair without error dumping [Kent Sibilev] |
|---|
| 4 |
|
|---|
| 5 |
* Fixed "rake stats" to work with sub-directories in models and controllers and to report the code to test ration [Scott Baron] |
|---|
| 6 |
|
|---|
| 7 |
* Added that Active Record associations are now reloaded instead of cleared to work with the new const_missing hook in Active Record. |
|---|
| 8 |
|
|---|
| 9 |
* Added graceful handling of an inaccessible log file by redirecting output to STDERR with a warning #330 [rainmkr] |
|---|
| 10 |
|
|---|
| 11 |
* Added support for a -h/--help parameter in the generator #331 [Ulysses] |
|---|
| 12 |
|
|---|
| 13 |
* Fixed that File.expand_path in config/environment.rb would fail when dealing with symlinked public directories [mjobin] |
|---|
| 14 |
|
|---|
| 15 |
* Upgraded to Action Pack 1.1.0 and Active Record 1.3.0 |
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
*0.9.1* |
|---|
| 19 |
|
|---|
| 20 |
* Upgraded to Action Pack 1.0.1 for important bug fix |
|---|
| 21 |
|
|---|
| 22 |
* Updated gem dependencies |
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
*0.9.0* |
|---|
| 26 |
|
|---|
| 27 |
* Renamed public/dispatch.servlet to script/server -- it wasn't really dispatching anyway as its delegating calls to public/dispatch.rb |
|---|
| 28 |
|
|---|
| 29 |
* Renamed AbstractApplicationController and abstract_application.rb to ApplicationController and application.rb, so that it will be possible |
|---|
| 30 |
for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb |
|---|
| 31 |
|
|---|
| 32 |
* Added script/console that makes it even easier to start an IRB session for interacting with the domain model. Run with no-args to |
|---|
| 33 |
see help. |
|---|
| 34 |
|
|---|
| 35 |
* Added breakpoint support through the script/breakpointer client. This means that you can break out of execution at any point in |
|---|
| 36 |
the code, investigate and change the model, AND then resume execution! Example: |
|---|
| 37 |
|
|---|
| 38 |
class WeblogController < ActionController::Base |
|---|
| 39 |
def index |
|---|
| 40 |
@posts = Post.find_all |
|---|
| 41 |
breakpoint "Breaking out from the list" |
|---|
| 42 |
end |
|---|
| 43 |
end |
|---|
| 44 |
|
|---|
| 45 |
So the controller will accept the action, run the first line, then present you with a IRB prompt in the breakpointer window. |
|---|
| 46 |
Here you can do things like: |
|---|
| 47 |
|
|---|
| 48 |
Executing breakpoint "Breaking out from the list" at .../webrick_server.rb:16 in 'breakpoint' |
|---|
| 49 |
|
|---|
| 50 |
>> @posts.inspect |
|---|
| 51 |
=> "[#<Post:0x14a6be8 @attributes={\"title\"=>nil, \"body\"=>nil, \"id\"=>\"1\"}>, |
|---|
| 52 |
#<Post:0x14a6620 @attributes={\"title\"=>\"Rails you know!\", \"body\"=>\"Only ten..\", \"id\"=>\"2\"}>]" |
|---|
| 53 |
>> @posts.first.title = "hello from a breakpoint" |
|---|
| 54 |
=> "hello from a breakpoint" |
|---|
| 55 |
|
|---|
| 56 |
...and even better is that you can examine how your runtime objects actually work: |
|---|
| 57 |
|
|---|
| 58 |
>> f = @posts.first |
|---|
| 59 |
=> #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}> |
|---|
| 60 |
>> f. |
|---|
| 61 |
Display all 152 possibilities? (y or n) |
|---|
| 62 |
|
|---|
| 63 |
Finally, when you're ready to resume execution, you press CTRL-D |
|---|
| 64 |
|
|---|
| 65 |
* Changed environments to be configurable through an environment variable. By default, the environment is "development", but you |
|---|
| 66 |
can change that and set your own by configuring the Apache vhost with a string like (mod_env must be available on the server): |
|---|
| 67 |
|
|---|
| 68 |
SetEnv RAILS_ENV production |
|---|
| 69 |
|
|---|
| 70 |
...if you're using WEBrick, you can pick the environment to use with the command-line parameters -e/--environment, like this: |
|---|
| 71 |
|
|---|
| 72 |
ruby public/dispatcher.servlet -e production |
|---|
| 73 |
|
|---|
| 74 |
* Added a new default environment called "development", which leaves the production environment to be tuned exclusively for that. |
|---|
| 75 |
|
|---|
| 76 |
* Added a start_server in the root of the Rails application to make it even easier to get started |
|---|
| 77 |
|
|---|
| 78 |
* Fixed public/.htaccess to use RewriteBase and share the same rewrite rules for all the dispatch methods |
|---|
| 79 |
|
|---|
| 80 |
* Fixed webrick_server to handle requests in a serialized manner (the Rails reloading infrastructure is not thread-safe) |
|---|
| 81 |
|
|---|
| 82 |
* Added support for controllers in directories. So you can have: |
|---|
| 83 |
|
|---|
| 84 |
app/controllers/account_controller.rb # URL: /account/ |
|---|
| 85 |
app/controllers/admin/account_controller.rb # URL: /admin/account/ |
|---|
| 86 |
|
|---|
| 87 |
NOTE: You need to update your public/.htaccess with the new rules to pick it up |
|---|
| 88 |
|
|---|
| 89 |
* Added reloading for associations and dependencies under cached environments like FastCGI and mod_ruby. This makes it possible to use |
|---|
| 90 |
those environments for development. This is turned on by default, but can be turned off with |
|---|
| 91 |
ActiveRecord::Base.reload_associations = false and ActionController::Base.reload_dependencies = false in production environments. |
|---|
| 92 |
|
|---|
| 93 |
* Added support for sub-directories in app/models. So now you can have something like Basecamp with: |
|---|
| 94 |
|
|---|
| 95 |
app/models/accounting |
|---|
| 96 |
app/models/project |
|---|
| 97 |
app/models/participants |
|---|
| 98 |
app/models/settings |
|---|
| 99 |
|
|---|
| 100 |
It's poor man's namespacing, but only for file-system organization. You still require files just like before. |
|---|
| 101 |
Nothing changes inside the files themselves. |
|---|
| 102 |
|
|---|
| 103 |
|
|---|
| 104 |
* Fixed a few references in the tests generated by new_mailer [bitsweat] |
|---|
| 105 |
|
|---|
| 106 |
* Added support for mocks in testing with test/mocks |
|---|
| 107 |
|
|---|
| 108 |
* Cleaned up the environments a bit and added global constant RAILS_ROOT |
|---|
| 109 |
|
|---|
| 110 |
|
|---|
| 111 |
*0.8.5* (9) |
|---|
| 112 |
|
|---|
| 113 |
* Made dev-util available to all tests, so you can insert breakpoints in any test case to get an IRB prompt at that point [bitsweat]: |
|---|
| 114 |
|
|---|
| 115 |
def test_complex_stuff |
|---|
| 116 |
@david.projects << @new_project |
|---|
| 117 |
breakpoint "Let's have a closer look at @david" |
|---|
| 118 |
end |
|---|
| 119 |
|
|---|
| 120 |
You need to install dev-utils yourself for this to work ("gem install dev-util"). |
|---|
| 121 |
|
|---|
| 122 |
* Added shared generator behavior so future upgrades should be possible without manually copying over files [bitsweat] |
|---|
| 123 |
|
|---|
| 124 |
* Added the new helper style to both controller and helper templates [bitsweat] |
|---|
| 125 |
|
|---|
| 126 |
* Added new_crud generator for creating a model and controller at the same time with explicit scaffolding [bitsweat] |
|---|
| 127 |
|
|---|
| 128 |
* Added configuration of Test::Unit::TestCase.fixture_path to test_helper to concide with the new AR fixtures style |
|---|
| 129 |
|
|---|
| 130 |
* Fixed that new_model was generating singular table/fixture names |
|---|
| 131 |
|
|---|
| 132 |
* Upgraded to Action Mailer 0.4.0 |
|---|
| 133 |
|
|---|
| 134 |
* Upgraded to Action Pack 0.9.5 |
|---|
| 135 |
|
|---|
| 136 |
* Upgraded to Active Record 1.1.0 |
|---|
| 137 |
|
|---|
| 138 |
|
|---|
| 139 |
*0.8.0 (15)* |
|---|
| 140 |
|
|---|
| 141 |
* Removed custom_table_name option for new_model now that the Inflector is as powerful as it is |
|---|
| 142 |
|
|---|
| 143 |
* Changed the default rake action to just do testing and separate API generation and coding statistics into a "doc" task. |
|---|
| 144 |
|
|---|
| 145 |
* Fixed WEBrick dispatcher to handle missing slashes in the URLs gracefully [alexey] |
|---|
| 146 |
|
|---|
| 147 |
* Added user option for all postgresql tool calls in the rakefile [elvstone] |
|---|
| 148 |
|
|---|
| 149 |
* Fixed problem with running "ruby public/dispatch.servlet" instead of "cd public; ruby dispatch.servlet" [alexey] |
|---|
| 150 |
|
|---|
| 151 |
* Fixed WEBrick server so that it no longer hardcodes the ruby interpreter used to "ruby" but will get the one used based |
|---|
| 152 |
on the Ruby runtime configuration. [Marcel Molina Jr.] |
|---|
| 153 |
|
|---|
| 154 |
* Fixed Dispatcher so it'll route requests to magic_beans to MagicBeansController/magic_beans_controller.rb [Caio Chassot] |
|---|
| 155 |
|
|---|
| 156 |
* "new_controller MagicBeans" and "new_model SubscriptionPayments" will now both behave properly as they use the new Inflector. |
|---|
| 157 |
|
|---|
| 158 |
* Fixed problem with MySQL foreign key constraint checks in Rake :clone_production_structure_to_test target [Andreas Schwarz] |
|---|
| 159 |
|
|---|
| 160 |
* Changed WEBrick server to by default be auto-reloading, which is slower but makes source changes instant. |
|---|
| 161 |
Class compilation cache can be turned on with "-c" or "--cache-classes". |
|---|
| 162 |
|
|---|
| 163 |
* Added "-b/--binding" option to WEBrick dispatcher to bind the server to a specific IP address (default: 127.0.0.1) [Kevin Temp] |
|---|
| 164 |
|
|---|
| 165 |
* dispatch.fcgi now DOESN'T set FCGI_PURE_RUBY as it was slowing things down for now reason [Andreas Schwarz] |
|---|
| 166 |
|
|---|
| 167 |
* Added new_mailer generator to work with Action Mailer |
|---|
| 168 |
|
|---|
| 169 |
* Included new framework: Action Mailer 0.3 |
|---|
| 170 |
|
|---|
| 171 |
* Upgraded to Action Pack 0.9.0 |
|---|
| 172 |
|
|---|
| 173 |
* Upgraded to Active Record 1.0.0 |
|---|
| 174 |
|
|---|
| 175 |
|
|---|
| 176 |
*0.7.0* |
|---|
| 177 |
|
|---|
| 178 |
* Added an optional second argument to the new_model script that allows the programmer to specify the table name, |
|---|
| 179 |
which will used to generate a custom table_name method in the model and will also be used in the creation of fixtures. |
|---|
| 180 |
[Kevin Radloff] |
|---|
| 181 |
|
|---|
| 182 |
* script/new_model now turns AccountHolder into account_holder instead of accountholder [Kevin Radloff] |
|---|
| 183 |
|
|---|
| 184 |
* Fixed the faulty handleing of static files with WEBrick [Andreas Schwarz] |
|---|
| 185 |
|
|---|
| 186 |
* Unified function_test_helper and unit_test_helper into test_helper |
|---|
| 187 |
|
|---|
| 188 |
* Fixed bug with the automated production => test database dropping on PostgreSQL [dhawkins] |
|---|
| 189 |
|
|---|
| 190 |
* create_fixtures in both the functional and unit test helper now turns off the log during fixture generation |
|---|
| 191 |
and can generate more than one fixture at a time. Which makes it possible for assignments like: |
|---|
| 192 |
|
|---|
| 193 |
@people, @projects, @project_access, @companies, @accounts = |
|---|
| 194 |
create_fixtures "people", "projects", "project_access", "companies", "accounts" |
|---|
| 195 |
|
|---|
| 196 |
* Upgraded to Action Pack 0.8.5 (locally-scoped variables, partials, advanced send_file) |
|---|
| 197 |
|
|---|
| 198 |
* Upgraded to Active Record 0.9.5 (better table_name guessing, cloning, find_all_in_collection) |
|---|
| 199 |
|
|---|
| 200 |
|
|---|
| 201 |
*0.6.5* |
|---|
| 202 |
|
|---|
| 203 |
* No longer specifies a template for rdoc, so it'll use whatever is default (you can change it in the rakefile) |
|---|
| 204 |
|
|---|
| 205 |
* The new_model generator will now use the same rules for plural wordings as Active Record |
|---|
| 206 |
(so Category will give categories, not categorys) [Kevin Radloff] |
|---|
| 207 |
|
|---|
| 208 |
* dispatch.fcgi now sets FCGI_PURE_RUBY to true to ensure that it's the Ruby version that's loaded [danp] |
|---|
| 209 |
|
|---|
| 210 |
* Made the GEM work with Windows |
|---|
| 211 |
|
|---|
| 212 |
* Fixed bug where mod_ruby would "forget" the load paths added when switching between controllers |
|---|
| 213 |
|
|---|
| 214 |
* PostgreSQL are now supported for the automated production => test database dropping [Kevin Radloff] |
|---|
| 215 |
|
|---|
| 216 |
* Errors thrown by the dispatcher are now properly handled in FCGI. |
|---|
| 217 |
|
|---|
| 218 |
* Upgraded to Action Pack 0.8.0 (lots and lots and lots of fixes) |
|---|
| 219 |
|
|---|
| 220 |
* Upgraded to Active Record 0.9.4 (a bunch of fixes) |
|---|
| 221 |
|
|---|
| 222 |
|
|---|
| 223 |
*0.6.0* |
|---|
| 224 |
|
|---|
| 225 |
* Added AbstractionApplicationController as a superclass for all controllers generated. This class can be used |
|---|
| 226 |
to carry filters and methods that are to be shared by all. It has an accompanying ApplicationHelper that all |
|---|
| 227 |
controllers will also automatically have available. |
|---|
| 228 |
|
|---|
| 229 |
* Added environments that can be included from any script to get the full Active Record and Action Controller |
|---|
| 230 |
context running. This can be used by maintenance scripts or to interact with the model through IRB. Example: |
|---|
| 231 |
|
|---|
| 232 |
require 'config/environments/production' |
|---|
| 233 |
|
|---|
| 234 |
for account in Account.find_all |
|---|
| 235 |
account.recalculate_interests |
|---|
| 236 |
end |
|---|
| 237 |
|
|---|
| 238 |
A short migration script for an account model that had it's interest calculation strategy changed. |
|---|
| 239 |
|
|---|
| 240 |
* Accessing the index of a controller with "/weblog" will now redirect to "/weblog/" (only on Apache, not WEBrick) |
|---|
| 241 |
|
|---|
| 242 |
* Simplified the default Apache config so even remote requests are served off CGI as a default. |
|---|
| 243 |
You'll now have to do something specific to activate mod_ruby and FCGI (like using the force urls). |
|---|
| 244 |
This should make it easier for new comers that start on an external server. |
|---|
| 245 |
|
|---|
| 246 |
* Added more of the necessary Apache options to .htaccess to make it easier to setup |
|---|
| 247 |
|
|---|
| 248 |
* Upgraded to Action Pack 0.7.9 (lots of fixes) |
|---|
| 249 |
|
|---|
| 250 |
* Upgraded to Active Record 0.9.3 (lots of fixes) |
|---|
| 251 |
|
|---|
| 252 |
|
|---|
| 253 |
*0.5.7* |
|---|
| 254 |
|
|---|
| 255 |
* Fixed bug in the WEBrick dispatcher that prevented it from getting parameters from the URL |
|---|
| 256 |
(through GET requests or otherwise) |
|---|
| 257 |
|
|---|
| 258 |
* Added lib in root as a place to store app specific libraries |
|---|
| 259 |
|
|---|
| 260 |
* Added lib and vendor to load_path, so anything store within can be loaded directly. |
|---|
| 261 |
Hence lib/redcloth.rb can be loaded with require "redcloth" |
|---|
| 262 |
|
|---|
| 263 |
* Upgraded to Action Pack 0.7.8 (lots of fixes) |
|---|
| 264 |
|
|---|
| 265 |
* Upgraded to Active Record 0.9.2 (minor upgrade) |
|---|
| 266 |
|
|---|
| 267 |
|
|---|
| 268 |
*0.5.6* |
|---|
| 269 |
|
|---|
| 270 |
* Upgraded to Action Pack 0.7.7 (multipart form fix) |
|---|
| 271 |
|
|---|
| 272 |
* Updated the generated template stubs to valid XHTML files |
|---|
| 273 |
|
|---|
| 274 |
* Ensure that controllers generated are capitalized, so "new_controller TodoLists" |
|---|
| 275 |
gives the same as "new_controller Todolists" and "new_controller todolists". |
|---|
| 276 |
|
|---|
| 277 |
|
|---|
| 278 |
*0.5.5* |
|---|
| 279 |
|
|---|
| 280 |
* Works on Windows out of the box! (Dropped symlinks) |
|---|
| 281 |
|
|---|
| 282 |
* Added webrick dispatcher: Try "ruby public/dispatch.servlet --help" [Florian Gross] |
|---|
| 283 |
|
|---|
| 284 |
* Report errors about initialization to browser (instead of attempting to use uninitialized logger) |
|---|
| 285 |
|
|---|
| 286 |
* Upgraded to Action Pack 0.7.6 |
|---|
| 287 |
|
|---|
| 288 |
* Upgraded to Active Record 0.9.1 |
|---|
| 289 |
|
|---|
| 290 |
* Added distinct 500.html instead of reusing 404.html |
|---|
| 291 |
|
|---|
| 292 |
* Added MIT license |
|---|
| 293 |
|
|---|
| 294 |
|
|---|
| 295 |
*0.5.0* |
|---|
| 296 |
|
|---|
| 297 |
* First public release |
|---|