Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 333

Show
Ignore:
Timestamp:
01/04/05 12:35:10 (4 years ago)
Author:
david
Message:

Prepared for release of 0.9.3

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/CHANGELOG

    r330 r333  
    1 *SVN* 
     1*1.2.0* (January 4th, 2005) 
    22 
    33* Added MemCacheStore for storing session data in Danga's MemCache system [Bob Cottrell] 
    44  Depends on: MemCached server (http://www.danga.com/memcached/), MemCache client (http://raa.ruby-lang.org/project/memcache/) 
    55 
     6* Added thread-safety to the DRbStore #66, #389 [Ben Stiglitz] 
     7 
     8* Added DateHelper#select_time and DateHelper#select_second #373 [Scott Baron] 
     9 
     10* Added :host and :protocol options to url_for and friends to redirect to another host and protocol than the current. 
     11 
     12* Added class declaration for the MissingFile exception #388 [Kent Sibilev] 
     13 
     14* Added "short hypertext note with a hyperlink to the new URI(s)" to redirects to fulfill compliance with RFC 2616 (HTTP/1.1) section 10.3.3 #397 [Tim Bates] 
     15 
     16* Added second boolean parameter to Base.redirect_to_url and Response#redirect to control whether the redirect is permanent or not (301 vs 302) #375 [Hodel] 
     17 
    618* Fixed redirects when the controller and action is named the same. Still haven't fixed same controller, module, and action, though #201 [Josh] 
    719 
    820* Fixed problems with running multiple functional tests in Rails under 1.8.2 by including hack for test/unit weirdness 
    921 
    10 * Added thread-safety to the DRbStore #66, #389 [Ben Stiglitz] 
    11  
    12 * Added DateHelper#select_time and DateHelper#select_second #373 [Scott Baron] 
    13  
    14 * Added class declaration for the MissingFile exception #388 [Kent Sibilev] 
    15  
    16 * Added "short hypertext note with a hyperlink to the new URI(s)" to redirects to fulfill compliance with RFC 2616 (HTTP/1.1) section 10.3.3 #397 [Tim Bates] 
    17  
    18 * Added second boolean parameter to Base.redirect_to_url and Response#redirect to control whether the redirect is permanent or not (301 vs 302) #375 [Hodel] 
    19  
    2022* Fixed that @request.remote_ip didn't work in the test environment #369 [Bruno Mattarollo] 
    21  
    22 * Added :host and :protocol options to url_for and friends to redirect to another host and protocol than the current. 
    2323 
    2424 
  • trunk/actionpack/install.rb

    r20 r333  
    4141 action_controller/cgi_ext/cgi_ext.rb 
    4242 action_controller/cgi_ext/cgi_methods.rb 
     43 action_controller/cgi_ext/cookie_performance_fix.rb 
    4344 action_controller/cgi_process.rb 
    4445 action_controller/cookies.rb 
     46 action_controller/dependencies.rb 
    4547 action_controller/filters.rb 
    4648 action_controller/flash.rb 
     
    5456 action_controller/session/drb_server.rb 
    5557 action_controller/session/drb_store.rb 
     58 action_controller/session/mem_cache_store.rb 
     59 action_controller/session.rb 
    5660 action_controller/support/class_inheritable_attributes.rb 
    5761 action_controller/support/class_attribute_accessors.rb 
     
    5963 action_controller/support/cookie_performance_fix.rb 
    6064 action_controller/support/inflector.rb 
     65 action_controller/support/binding_of_caller.rb 
     66 action_controller/support/breakpoint.rb 
     67 action_controller/support/dependencies.rb 
     68 action_controller/support/misc.rb 
     69 action_controller/support/module_attribute_accessors.rb 
    6170 action_controller/templates/rescues/_request_and_response.rhtml 
    6271 action_controller/templates/rescues/diagnostics.rhtml 
  • trunk/actionpack/Rakefile

    r283 r333  
    99PKG_BUILD     = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 
    1010PKG_NAME      = 'actionpack' 
    11 PKG_VERSION   = '1.1.0' + PKG_BUILD 
     11PKG_VERSION   = '1.2.0' + PKG_BUILD 
    1212PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 
    1313 
     
    5050  s.email = "david@loudthinking.com" 
    5151  s.rubyforge_project = "actionpack" 
    52   s.homepage = "http://actionpack.rubyonrails.org" 
     52  s.homepage = "http://www.rubyonrails.org" 
    5353 
    5454  s.has_rdoc = true 
  • trunk/activerecord/CHANGELOG

    r328 r333  
    1 *SVN* 
    2  
    3 * Fixed that validates_uniqueness_of used 'id' instead of defined primary key #406 
    4  
    5 * Fixed that the overwritten respond_to? method didn't take two parameters like the original #391 
    6  
    7 * Added HasManyAssociation#count that works like Base#count #413 [intinig] 
    8  
    9 * Fixed handling of binary content in blobs and similar fields for Ruby/MySQL and SQLite #409 [xal] 
     1*1.4.0* (January 4th, 2005) 
     2 
     3* Added automated optimistic locking if the field <tt>lock_version</tt> is present.  Each update to the 
     4  record increments the lock_version column and the locking facilities ensure that records instantiated twice 
     5  will let the last one saved raise a StaleObjectError if the first was also updated. Example: 
     6   
     7    p1 = Person.find(1) 
     8    p2 = Person.find(1) 
     9     
     10    p1.first_name = "Michael" 
     11    p1.save 
     12     
     13    p2.first_name = "should fail" 
     14    p2.save # Raises a ActiveRecord::StaleObjectError 
     15   
     16  You're then responsible for dealing with the conflict by rescuing the exception and either rolling back, merging, 
     17  or otherwise apply the business logic needed to resolve the conflict. 
     18 
     19  #384 [Michael Koziarski] 
    1020 
    1121* Added dynamic attribute-based finders as a cleaner way of getting objects by simple queries without turning to SQL.  
     
    2333  though, as it's not possible to specify the order in which the objects are returned. 
    2434 
    25 * Added that Base#find takes an optional options hash, including :conditions. Base#find_on_conditions deprecated in favor of #find with :conditions #407 [bitsweat] 
    26  
    27 * Added a db2 adapter that only depends on the Ruby/DB2 bindings (http://raa.ruby-lang.org/project/ruby-db2/) #386 [Maik Schmidt] 
    28  
    29 * Added the final touches to the Microsoft SQL Server adapter by DeLynn Berry that makes it suitable for actual use #394 [DeLynn Barry] 
    30  
    31 * Fixed a bug in the Ruby/MySQL that caused binary content to be escaped badly and come back mangled #405 [Tobias Luetke] 
    32  
    3335* Added block-style for callbacks #332 [bitsweat]. 
    3436 
     
    3941      before_destroy { |record| Person.destroy_all "firm_id = #{record.id}" } 
    4042 
    41 * Added automated optimistic locking if the field <tt>lock_version</tt> is present.  Each update to the 
    42   record increments the lock_version column and the locking facilities ensure that records instantiated twice 
    43   will let the last one saved raise a StaleObjectError if the first was also updated. Example: 
    44    
    45     p1 = Person.find(1) 
    46     p2 = Person.find(1) 
    47      
    48     p1.first_name = "Michael" 
    49     p1.save 
    50      
    51     p2.first_name = "should fail" 
    52     p2.save # Raises a ActiveRecord::StaleObjectError 
    53    
    54   You're then responsible for dealing with the conflict by rescuing the exception and either rolling back, merging, 
    55   or otherwise apply the business logic needed to resolve the conflict. 
    56  
    57   #384 [Michael Koziarski] 
    58  
    5943* Added :counter_cache option to acts_as_tree that works just like the one you can define on belongs_to #371 [Josh] 
    60  
    61 * Fixed quoting in validates_format_of that would allow some rules to pass regardless of input #390 [Dmitry V. Sabanin] 
    62  
    63 * Fixed broken transactions that were actually only running object-level and not db level transactions [andreas] 
    6444 
    6545* Added Base.default_timezone accessor that determines whether to use Time.local (using :local) or Time.utc (using :utc) when pulling dates  
     
    6848* Added the possibility for adapters to overwrite add_limit! to implement a different limiting scheme than "LIMIT X" used by MySQL, PostgreSQL, and SQLite. 
    6949 
     50* Added the possibility of having objects with acts_as_list created before their scope is available or... 
     51 
     52* Added a db2 adapter that only depends on the Ruby/DB2 bindings (http://raa.ruby-lang.org/project/ruby-db2/) #386 [Maik Schmidt] 
     53 
     54* Added the final touches to the Microsoft SQL Server adapter by Joey Gibson that makes it suitable for actual use #394 [DeLynn Barry] 
     55 
     56* Added that Base#find takes an optional options hash, including :conditions. Base#find_on_conditions deprecated in favor of #find with :conditions #407 [bitsweat] 
     57 
     58* Added HasManyAssociation#count that works like Base#count #413 [intinig] 
     59 
     60* Fixed handling of binary content in blobs and similar fields for Ruby/MySQL and SQLite #409 [xal] 
     61 
     62* Fixed a bug in the Ruby/MySQL that caused binary content to be escaped badly and come back mangled #405 [Tobias Luetke] 
     63 
    7064* Fixed that the const_missing autoload assumes the requested constant is set by require_association and calls const_get to retrieve it.  
    7165  If require_association did not set the constant then const_get will call const_missing, resulting in an infinite loop #380 [bitsweat] 
    7266 
    73 * Added the possibility of having objects with acts_as_list created before their scope is available or... 
     67* Fixed broken transactions that were actually only running object-level and not db level transactions [andreas] 
     68 
     69* Fixed that validates_uniqueness_of used 'id' instead of defined primary key #406 
     70 
     71* Fixed that the overwritten respond_to? method didn't take two parameters like the original #391 
     72 
     73* Fixed quoting in validates_format_of that would allow some rules to pass regardless of input #390 [Dmitry V. Sabanin] 
    7474 
    7575 
  • trunk/activerecord/Rakefile

    r303 r333  
    99PKG_BUILD     = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 
    1010PKG_NAME      = 'activerecord' 
    11 PKG_VERSION   = '1.3.0' + PKG_BUILD 
     11PKG_VERSION   = '1.4.0' + PKG_BUILD 
    1212PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 
    1313 
  • trunk/railties/CHANGELOG

    r325 r333  
    1 *SVN* 
     1*0.9.3* (January 4th, 2005) 
    22 
    33* Added support for SQLite in the auto-dumping/importing of schemas for development -> test #416 
    44 
    5 * Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #351 
    6  
    75* Added automated rewriting of the shebang lines on installs through the gem rails command #379 [Manfred Stienstra] 
    86 
    9 * Fixed that generated action_mailers doesnt need to require the action_mailer since thats already done in the environment #382 [Lucas Carlson] 
     7* Added ActionMailer::Base.deliver_method = :test to the test environment so that mail objects are available in ActionMailer::Base.deliveries 
     8  for functional testing. 
     9 
     10* Added protection for creating a model through the generators with a name of an existing class, like Thread or Date. 
     11  It'll even offer you a synonym using wordnet.princeton.edu as a look-up. No, I'm not kidding :) [Florian Gross] 
    1012 
    1113* Fixed dependency management to happen in a unified fashion for Active Record and Action Pack using the new Dependencies module. This means that 
     
    2628      Dependencies.mechanism = :require 
    2729 
    28 * Added ActionMailer::Base.deliver_method = :test to the test environment so that mail objects are available in ActionMailer::Base.deliveries 
    29   for functional testing. 
    30  
    31 * Added protection for creating a model through the generators with a name of an existing class, like Thread or Date. 
    32   It'll even offer you a synonym using wordnet.princeton.edu as a look-up. No, I'm not kidding :) [Florian Gross] 
     30* Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #351 
     31 
     32* Fixed that generated action_mailers doesnt need to require the action_mailer since thats already done in the environment #382 [Lucas Carlson] 
    3333 
    3434 
  • trunk/railties/Rakefile

    r317 r333  
    1010PKG_BUILD       = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 
    1111PKG_NAME        = 'rails' 
    12 PKG_VERSION     = '0.9.2' + PKG_BUILD 
     12PKG_VERSION     = '0.9.3' + PKG_BUILD 
    1313PKG_FILE_NAME   = "#{PKG_NAME}-#{PKG_VERSION}" 
    1414PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}"