changelog
来自「ruby on rails web敏捷开发之路第二版 源代码」· 代码 · 共 512 行 · 第 1/2 页
TXT
512 行
*0.11.1* (27th March, 2005)* Fixed the dispatch.fcgi use of a logger* 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*0.11.0* (22th March, 2005)* Removed SCRIPT_NAME from the WEBrick environment to prevent conflicts with PATH_INFO #896 [Nicholas Seckar]* Removed ?$1 from the dispatch.f/cgi redirect line to get rid of 'complete/path/from/request.html' => nil being in the @params now that the ENV["REQUEST_URI"] is used to determine the path #895 [dblack/Nicholas Seckar]* Added additional error handling to the FastCGI dispatcher to catch even errors taking down the entire process* Improved the generated scaffold code a lot to take advantage of recent Rails developments #882 [Tobias Luetke]* 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]* Changed .htaccess to allow dispatch.* to be called from a sub-directory as part of the push with Action Pack to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke]* Added script/runner which can be used to run code inside the environment by eval'ing the first parameter. Examples: ./script/runner 'ReminderService.deliver' ./script/runner 'Mailer.receive(STDIN.read)' This makes it easier to do CRON and postfix scripts without actually making a script just to trigger 1 line of code.* Fixed webrick_server cookie handling to allow multiple cookes to be set at once #800, #813 [dave@cherryville.org]* Fixed the Rakefile's interaction with postgresql to: 1. Use PGPASSWORD and PGHOST in the environment to fix prompting for passwords when connecting to a remote db and local socket connections. 2. Add a '-x' flag to pg_dump which stops it dumping privileges #807 [rasputnik] 3. Quote the user name and use template0 when dumping so the functions doesn't get dumped too #855 [pburleson] 4. Use the port if available #875 [madrobby]* 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*0.10.1* (7th March, 2005)* Fixed rake stats to ignore editor backup files like model.rb~ #791 [skanthak]* Added exception shallowing if the DRb server can't be started (not worth making a fuss about to distract new users) #779 [Tobias Luetke]* Added an empty favicon.ico file to the public directory of new applications (so the logs are not spammed by its absence)* Fixed that scaffold generator new template should use local variable instead of instance variable #778 [Dan Peterson]* Allow unit tests to run on a remote server for PostgreSQL #781 [adamm@galacticasoftware.com]* Added web_service generator (run ./script/generate web_service for help) #776 [Leon Bredt]* Added app/apis and components to code statistics report #729 [Scott Barron]* Fixed WEBrick server to use ABSOLUTE_RAILS_ROOT instead of working_directory #687 [Nicholas Seckar]* Fixed rails_generator to be usable without RubyGems #686 [Cristi BALAN]* Fixed -h/--help for generate and destroy generators #331* Added begin/rescue around the FCGI dispatcher so no uncaught exceptions can bubble up to kill the process (logs to log/fastcgi.crash.log)* Fixed that association#count would produce invalid sql when called sequentialy #659 [kanis@comcard.de]* Fixed test/mocks/testing to the correct test/mocks/test #740* Added early failure if the Ruby version isn't 1.8.2 or above #735* Removed the obsolete -i/--index option from the WEBrick servlet #743* 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*0.10.0* (24th February, 2005)* 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]* Fixed that script/server -d was broken so daemon mode couldn't be used #687 [Nicholas Seckar]* Upgraded to breakpoint 92 which fixes: * overload IRB.parse_opts(), fixes #443 => breakpoints in tests work even when running them via rake * untaint handlers, might fix an issue discussed on the Rails ML * added verbose mode to breakpoint_client * less noise caused by breakpoint_client by default * ignored TerminateLineInput exception in signal handler => quiet exit on Ctrl-C* Added support for independent components residing in /components. Example: Controller: components/list/items_controller.rb (holds a List::ItemsController class with uses_component_template_root called) Model : components/list/item.rb (namespace is still shared, so an Item model in app/models will take precedence) Views : components/list/items/show.rhtml* Added --sandbox option to script/console that'll roll back all changes made to the database when you quit #672 [bitsweat]* Added 'recent' as a rake target that'll run tests for files that changed in the last 10 minutes #612 [bitsweat]* Changed script/console to default to development environment and drop --no-inspect #650 [bitsweat]* Added that the 'fixture :posts' syntax can be used for has_and_belongs_to_many fixtures where a model doesn't exist #572 [bitsweat]* Added that running test_units and test_functional now performs the clone_structure_to_test as well #566 [rasputnik]* 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 [bitsweat]* Added Action Web Service as a new add-on framework for Action Pack [Leon Bredt]* Added Active Support as an independent utility and standard library extension bundle* Upgraded to Active Record 1.7.0, Action Pack 1.5.0, Action Mailer 0.7.0*0.9.5* (January 25th, 2005)* 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.* Added Florian Gross' latest version of Breakpointer and friends that fixes a variaty of bugs #441 [Florian Gross]* Fixed skeleton Rakefile to work with sqlite3 out of the box #521 [rasputnik]* Fixed that script/breakpointer didn't get the Ruby path rewritten as the other scripts #523 [brandt@kurowski.net]* Fixed handling of syntax errors in models that had already been succesfully required once in the current interpreter* Fixed that models that weren't referenced in associations weren't being reloaded in the development mode by reinstating the reload* Fixed that generate scaffold would produce bad functional tests* Fixed that FCGI can also display SyntaxErrors* Upgraded to Active Record 1.6.0, Action Pack 1.4.0*0.9.4.1* (January 18th, 2005)* Added 5-second timeout to WordNet alternatives on creating reserved-word models #501 [Marcel Molina]* Fixed binding of caller #496 [Alexey]* Upgraded to Active Record 1.5.1, Action Pack 1.3.1, Action Mailer 0.6.1*0.9.4* (January 17th, 2005)* Added that ApplicationController will catch a ControllerNotFound exception if someone attempts to access a url pointing to an unexisting controller [Tobias Luetke]* Flipped code-to-test ratio around to be more readable #468 [Scott Baron]* Fixed log file permissions to be 666 instead of 777 (so they're not executable) #471 [Lucas Carlson]* Fixed that auto reloading would some times not work or would reload the models twice #475 [Tobias Luetke]* Added rewrite rules to deal with caching to public/.htaccess* Added the option to specify a controller name to "generate scaffold" and made the default controller name the plural form of the model.* Added that rake clone_structure_to_test, db_structure_dump, and purge_test_database tasks now pick up the source database to use from RAILS_ENV instead of just forcing development #424 [Tobias Luetke]* Fixed script/console to work with Windows (that requires the use of irb.bat) #418 [octopod]* Fixed WEBrick servlet slowdown over time by restricting the load path reloading to mod_ruby* Removed Fancy Indexing as a default option on the WEBrick servlet as it made it harder to use various caching schemes* Upgraded to Active Record 1.5, Action Pack 1.3, Action Mailer 0.6*0.9.3* (January 4th, 2005)* Added support for SQLite in the auto-dumping/importing of schemas for development -> test #416* Added automated rewriting of the shebang lines on installs through the gem rails command #379 [Manfred Stienstra]* Added ActionMailer::Base.deliver_method = :test to the test environment so that mail objects are available in ActionMailer::Base.deliveries for functional testing.* Added protection for creating a model through the generators with a name of an existing class, like Thread or Date. It'll even offer you a synonym using wordnet.princeton.edu as a look-up. No, I'm not kidding :) [Florian Gross]* Fixed dependency management to happen in a unified fashion for Active Record and Action Pack using the new Dependencies module. This means that the environment options needs to change from: Before in development.rb: ActionController::Base.reload_dependencies聽= true 聽 ActiveRecord::Base.reload_associations聽 聽 聽= true Now in development.rb: Dependencies.mechanism = :load Before in production.rb and test.rb: ActionController::Base.reload_dependencies聽= false ActiveRecord::Base.reload_associations聽 聽 聽= false Now in production.rb and test.rb: Dependencies.mechanism = :require* Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #351* Fixed that generated action_mailers doesnt need to require the action_mailer since thats already done in the environment #382 [Lucas Carlson]* Upgraded to Action Pack 1.2.0 and Active Record 1.4.0*0.9.2** Fixed CTRL-C exists from the Breakpointer to be a clean affair without error dumping [Kent Sibilev]* Fixed "rake stats" to work with sub-directories in models and controllers and to report the code to test ration [Scott Baron]* Added that Active Record associations are now reloaded instead of cleared to work with the new const_missing hook in Active Record.* Added graceful handling of an inaccessible log file by redirecting output to STDERR with a warning #330 [rainmkr]* Added support for a -h/--help parameter in the generator #331 [Ulysses]* Fixed that File.expand_path in config/environment.rb would fail when dealing with symlinked public directories [mjobin]* Upgraded to Action Pack 1.1.0 and Active Record 1.3.0*0.9.1** Upgraded to Action Pack 1.0.1 for important bug fix* Updated gem dependencies*0.9.0** Renamed public/dispatch.servlet to script/server -- it wasn't really dispatching anyway as its delegating calls to public/dispatch.rb* Renamed AbstractApplicationController and abstract_application.rb to ApplicationController and application.rb, so that it will be possible for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb* Added script/console that makes it even easier to start an IRB session for interacting with the domain model. Run with no-args to see help.* Added breakpoint support through the script/breakpointer client. This means that you can break out of execution at any point in the code, investigate and change the model, AND then resume execution! Example: class WeblogController < ActionController::Base def index @posts = Post.find_all breakpoint "Breaking out from the list" end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?