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

Changeset 260

Show
Ignore:
Timestamp:
12/22/04 23:56:17 (4 years ago)
Author:
david
Message:

Releasing Rails 0.9.2

Files:

Legend:

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

    r256 r260  
    1 *SVN* 
    2  
    3 * Fixed UrlHelper#link_to_unless so it doesn't care if the id is a string or fixnum [zenspider] 
     1*1.1.0* 
    42 
    53* Added search through session to clear out association caches at the end of each request. This makes it possible to place Active Record objects 
     
    97  error message tells you what file actually failed to load, rather than falling back on assuming it was the helper file itself #346 [dblack] 
    108 
    11 * Fixed regression with Base#reset_session that wouldn't use the the DEFAULT_SESSION_OPTIONS [adam@the-kramers.net] 
    12  
    13 * Fixed error rendering of rxml documents to not just swallow the exception and return 0 (still not guessing the right line, but hey) 
    14  
    15 * Fixed that textilize and markdown would instantiate their engines even on empty strings. This also fixes #333 [Ulysses] 
    16  
    179* Added use of *_before_type_cast for all input and text fields. This is helpful for getting "100,000" back on a integer-based  
    1810  validation where the value would normally be "100". 
     
    2315 
    2416* Added POST support for the breakpoint retries, so form processing that raises an exception can be retried with the original request [Florian Gross] 
     17 
     18* Fixed regression with Base#reset_session that wouldn't use the the DEFAULT_SESSION_OPTIONS [adam@the-kramers.net] 
     19 
     20* Fixed error rendering of rxml documents to not just swallow the exception and return 0 (still not guessing the right line, but hey) 
     21 
     22* Fixed that textilize and markdown would instantiate their engines even on empty strings. This also fixes #333 [Ulysses] 
     23 
     24* Fixed UrlHelper#link_to_unless so it doesn't care if the id is a string or fixnum [zenspider] 
    2525 
    2626 
  • trunk/actionpack/Rakefile

    r201 r260  
    99PKG_BUILD     = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 
    1010PKG_NAME      = 'actionpack' 
    11 PKG_VERSION   = '1.0.1' + PKG_BUILD 
     11PKG_VERSION   = '1.1.0' + PKG_BUILD 
    1212PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 
    1313 
  • trunk/activerecord/CHANGELOG

    r259 r260  
    1 *SVN* 
    2  
    3 * Added scope option to validation_uniqueness #349 [Kent Sibilev] 
    4  
    5 * Added allow_nil options to validates_inclusion_of so that validation is only triggered if the attribute is not nil [what-a-day] 
    6  
    7 * Added work-around for PostgreSQL and the problem of getting fixtures to be created from id 1 on each test case. 
    8   This only works for auto-incrementing primary keys called "id" for now #359 [Scott Baron] 
    9  
    10 * Added Base#clear_association_cache to empty all the cached associations #347 [Tobias Luetke] 
    11  
    12 * Added more informative exceptions in establish_connection #356 [bitsweat] 
    13  
    14 * Fixed that options[:counter_sql] was overwritten with interpolated sql rather than original sql #355 [bitsweat] 
    15  
    16 * Fixed that overriding an attribute's accessor would be disregarded by add_on_empty and add_on_boundary_breaking because they simply used  
    17   the attributes[] hash instead of checking for @base.respond_to?(attr.to_s). [Marten] 
    18  
    19 * Fixed that Base.table_name would expect a parameter when used in has_and_belongs_to_many joins [Anna Lissa Cruz] 
    20  
    21 * Fixed that nested transactions now work by letting the outer most transaction have the responsibilty of starting and rolling back the transaction. 
    22   If any of the inner transactions swallow the exception raised, though, the transaction will not be rolled back. So always let the transaction 
    23   bubble up even when you've dealt with local issues. Closes #231 and #340. 
    24  
    25 * Fixed validates_{confirmation,acceptance}_of to only happen when the virtual attributes are not nil #348 [dpiddy@gmail.com] 
     1*1.3.0* 
    262 
    273* Added a require_association hook on const_missing that makes it possible to use any model class without requiring it first. This makes STI look like: 
     
    4016* Added that Base.update_all and Base.delete_all return an integer of the number of affected rows #341 
    4117 
    42 * Changed the interface on AbstractAdapter to require that adapters return the number of affected rows on delete and update operations. 
    43  
    44 * Added that query benchmarking will only happen if its going to be logged anyway #344 
    45  
    46 * Added higher_item and lower_item as public methods for acts_as_list #342 [Tobias Luetke] 
     18* Added scope option to validation_uniqueness #349 [Kent Sibilev] 
    4719 
    4820* Added respondence to *_before_type_cast for all attributes to return their string-state before they were type casted by the column type. 
    4921  This is helpful for getting "100,000" back on a integer-based validation where the value would normally be "100". 
    5022 
    51 * Fixed the automated timestamping feature when running under Rails' development environment that resets the inheritable attributes on each request. 
     23* Added allow_nil options to validates_inclusion_of so that validation is only triggered if the attribute is not nil [what-a-day] 
     24 
     25* Added work-around for PostgreSQL and the problem of getting fixtures to be created from id 1 on each test case. 
     26  This only works for auto-incrementing primary keys called "id" for now #359 [Scott Baron] 
     27 
     28* Added Base#clear_association_cache to empty all the cached associations #347 [Tobias Luetke] 
     29 
     30* Added more informative exceptions in establish_connection #356 [bitsweat] 
    5231 
    5332* Added Base#update_attributes that'll accept a hash of attributes and save the record (returning true if it passed validation, false otherwise).  
     
    6140 
    6241* Added Base.destroy and Base.delete to remove records without holding a reference to them first. 
     42 
     43* Added that query benchmarking will only happen if its going to be logged anyway #344 
     44 
     45* Added higher_item and lower_item as public methods for acts_as_list #342 [Tobias Luetke] 
     46 
     47* Fixed that options[:counter_sql] was overwritten with interpolated sql rather than original sql #355 [bitsweat] 
     48 
     49* Fixed that overriding an attribute's accessor would be disregarded by add_on_empty and add_on_boundary_breaking because they simply used  
     50  the attributes[] hash instead of checking for @base.respond_to?(attr.to_s). [Marten] 
     51 
     52* Fixed that Base.table_name would expect a parameter when used in has_and_belongs_to_many joins [Anna Lissa Cruz] 
     53 
     54* Fixed that nested transactions now work by letting the outer most transaction have the responsibilty of starting and rolling back the transaction. 
     55  If any of the inner transactions swallow the exception raised, though, the transaction will not be rolled back. So always let the transaction 
     56  bubble up even when you've dealt with local issues. Closes #231 and #340. 
     57 
     58* Fixed validates_{confirmation,acceptance}_of to only happen when the virtual attributes are not nil #348 [dpiddy@gmail.com] 
     59 
     60* Changed the interface on AbstractAdapter to require that adapters return the number of affected rows on delete and update operations. 
     61 
     62* Fixed the automated timestamping feature when running under Rails' development environment that resets the inheritable attributes on each request. 
     63 
    6364 
    6465 
  • trunk/activerecord/Rakefile

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

    r246 r260  
    1 *SVN
     1*0.9.2
    22 
    33* Fixed CTRL-C exists from the Breakpointer to be a clean affair without error dumping [Kent Sibilev] 
     
    1111* Added support for a -h/--help parameter in the generator #331 [Ulysses] 
    1212 
    13 * File.expand_path in config/environment.rb would fail when dealing with symlinked public directories [mjobin] 
     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 
    1416 
    1517 
  • trunk/railties/Rakefile

    r205 r260  
    1010PKG_BUILD       = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 
    1111PKG_NAME        = 'rails' 
    12 PKG_VERSION     = '0.9.1' + PKG_BUILD 
     12PKG_VERSION     = '0.9.2' + PKG_BUILD 
    1313PKG_FILE_NAME   = "#{PKG_NAME}-#{PKG_VERSION}" 
    1414PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}" 
     
    222222 
    223223  s.add_dependency('rake', '>= 0.4.11') 
    224   s.add_dependency('activerecord', '>= 1.2.0') 
    225   s.add_dependency('actionpack', '>= 1.0.1') 
     224  s.add_dependency('activerecord', '>= 1.3.0') 
     225  s.add_dependency('actionpack', '>= 1.1.0') 
    226226  s.add_dependency('actionmailer', '>= 0.5.0') 
    227227