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

Changeset 1216

Show
Ignore:
Timestamp:
04/18/05 20:10:11 (3 years ago)
Author:
david
Message:

Fixed documentation and prepared for release of 0.12

Files:

Legend:

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

    r1203 r1216  
    1 *SVN* 
     1*0.9.0* (19th April, 2005) 
    22 
    33* Added that deliver_* will now return the email that was sent 
    44 
     5* Added that quoting to UTF-8 only happens if the characters used are in that range #955 [Jamis Buck]  
     6 
    57* Fixed quoting for all address headers, not just to #955 [Jamis Buck] 
    6  
    7 * Added that quoting to UTF-8 only happens if the characters used are in that range #955 [Jamis Buck]  
    88 
    99* Fixed unquoting of emails that doesn't have an explicit charset #1036 [wolfgang@stufenlos.net] 
  • trunk/actionmailer/Rakefile

    r1102 r1216  
    99PKG_BUILD     = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 
    1010PKG_NAME      = 'actionmailer' 
    11 PKG_VERSION   = '0.8.1' + PKG_BUILD 
     11PKG_VERSION   = '0.9.0' + PKG_BUILD 
    1212PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 
    1313 
     
    5353  s.homepage = "http://www.rubyonrails.org" 
    5454 
    55   s.add_dependency('actionpack', '= 1.7.0' + PKG_BUILD) 
     55  s.add_dependency('actionpack', '= 1.8.0' + PKG_BUILD) 
    5656 
    5757  s.has_rdoc = true 
  • trunk/actionpack/CHANGELOG

    r1211 r1216  
    1 *SVN* 
    2  
    3 * Added support for web servers that use PATH_INFO instead of REQUEST_URI like IIS #1014 [BradG/Nicholas Seckar] 
    4  
    5 * Added graceful handling of PUT, DELETE, and OPTIONS requests for a complete coverage of REST functionality #1136 [joshknowles@gmail.com] 
    6  
    7 * Fixed that you can now pass an alternative :href option to link_to_function/remote in order to point to somewhere other than # if the javascript fails or is turned off. You can do the same with form_remote_tag by passing in :action. #1113 [Sam Stephenson] 
    8  
    9 * Added Request#xml_http_request? (and an alias xhr?) to that'll return true when the request came from one of the Javascript helper methods (Ajax). This can be used to give one behavior for modern browsers supporting Ajax, another to old browsers #1127 [Sam Stephenson] 
     1*1.8.0* (19th April, 2005) 
    102 
    113* Added assert_tag and assert_no_tag as a much improved alternative to the deprecated assert_template_xpath_match #1126 [Jamis Buck] 
    124 
    135* Deprecated the majority of all the testing assertions and replaced them with a much smaller core and access to all the collections the old assertions relied on. That way the regular test/unit assertions can be used against these. Added documentation about how to use it all. 
    14  
    15 * Fixed DateHelper to return values on the option tags such that they'll work properly in IE with form_remote_tag #1024 [rscottmace@gmail.com] 
    16  
    17 * Fixed FormTagHelper#check_box to respect checked #1049 [DelynnB] 
    18  
    19 * Added that render_partial called from a controller will use the action name as default #828 [Dan Peterson] 
    20  
    21 * Added Element.toggle, Element.show, and Element.hide to the prototype javascript library. Toggle.display has been deprecated, but will still work #992 [Lucas Carlson] 
    22  
    23 * Added that deleting a cookie should not just set it to an empty string but also instantly expire it #1118 [todd@robotcoop.com] 
    24  
    25 * Added AssetTagHelper#image_path, AssetTagHelper#javascript_path, and AssetTagHelper#stylesheet_path #1110 [Larry Halff] 
    26  
    27 * Fixed url_for(nil) in functional tests #1116 [Alisdair McDiarmid] 
    28  
    29 * Fixed error handling of broken layouts #1115 [Michael Schubert] 
    30  
    31 * Changed render_partial to take local assigns as the second parameter instead of an explicit object and then the assigns. So the API changes from: 
    32  
    33     <%= render_partial "account", person, "rules" => regulations.rules %> 
    34      
    35   ...to: 
    36    
    37     <%= render_partial "account", :account => person, :rules => regulations.rules %> 
    38    
    39   The old API will still work, though, and render_partial "account" will still assume :account => @account. 
    40  
    41 * Added submit_to_remote that allows you to trigger an Ajax form submition at the click of the submission button, which allows for multiple targets in a single form through the use of multiple submit buttons #930 [yrashk@gmail.com] 
    42  
    43 * Fixed pagination to work with joins #1034 [scott@sigkill.org] 
    44  
    45 * Fixed that *rest parameter in map.connect couldn't accept an empty list #1037 [Dee.Zsombor@gmail.com] 
    46  
    47 * Added :confirm option to link_to_remote just like link_to has #1082 [yrashk@fp.org.ua] 
    48  
    49 * Added minute_step as an option to select_minute (and the helpers that use it) to jump in larger increments than just 1 minute. At 15, it would return 0, 15, 30, 45 options #1085 [ordwaye@evergreen.edu] 
    50  
    51 * Fixed that an exception would be thrown when an empty form was submitted #1090 [jan@ulbrich-boerwang.de] 
    52  
    53 * Moved TextHelper#human_size to NumberHelper#number_to_human_size, but kept an deprecated alias to the old method name 
    54  
    55 * Fixed that the content-type for some browsers could include an additional \r which made wonky things happen #1067 [Thomas Fuchs] 
    56  
    57 * Fixed that radio buttons shouldn't have a default size attribute #1074 [hendrik@mans.de] 
    58  
    59 * Added ActionView::Helpers::InstanceTag::DEFAULT_RADIO_OPTIONS that contains a hash of default options for radio buttons #1074 [hendrik@mans.de] 
    60  
    61 * Fixed that in some circumstances controllers outside of modules may have hidden ones inside modules. For example, admin/content might have been hidden by /content. #1075 [Nicholas Seckar] 
    62  
    63 * Added JavascriptHelper#periodically_call_remote in order to create areas of a page that update automatically at a set interval #945 [Jon Tirsen] 
    64  
    65 * Fixed Cache#expire_matched_fragments that couldn't recognize the difference between string and url_for options #1030 [skaes@web.de] 
    66  
    67 * Added simulation of @request.request_uri in functional tests #1038 [Jamis Buck] 
    68  
    69 * Fixed autolinking to work better in more cases #1013 [Jamis Buck] 
    70  
    71 * Added the possible of using symbols in form helpers that relate to instance variables like text_field :account, :name in addition to text_field "account", "name"' 
    72  
    73 * Fixed javascript_include_tag to output type instead of language and conform to XHTML #1018 [Rick Olson] 
    74  
    75 * Added NumberHelper for common string representations like phone number, currency, and percentage #1015 [DeLynn] 
    76  
    77 * Added pagination for scaffolding (10 items per page) #964 [mortonda@dgrmm.net] 
    78  
    79 * Added assert_no_cookie and fixed assert_cookie_equal to deal with non-existing cookies #979 [bitsweat] 
    80  
    81 * Fixed :overwrite_param so it doesn't delete but reject elements from @request.parameters #982 [raphinou@yahoo.com] 
    82  
    83 * Added :method option to verify for ensuring that either GET, POST, etc is allowed #984 [Jamis Buck] 
    84  
    85 * Added options to set cc, bcc, subject, and body for UrlHelper#mail_to #966 [DeLynn] 
    86  
    87 * Fixed include_blank for select_hour/minute/second #527 [edward@debian.org] 
    88  
    89 * Improved the message display on the exception handler pages #963 [Johan Sorensen] 
    90  
    91 * Fixed that on very rare occasions, webrick would raise a NoMethodError: private method 'split' called for nil #1001 [Flurin Egger] 
    926 
    937* Added a wide range of new Javascript effects: 
     
    10418     
    10519    * Effect.Fade which smoothly turns opacity from 100 to 0 and then hides the element #960 [thomas@fesch.at] 
     20 
     21* Added Request#xml_http_request? (and an alias xhr?) to that'll return true when the request came from one of the Javascript helper methods (Ajax). This can be used to give one behavior for modern browsers supporting Ajax, another to old browsers #1127 [Sam Stephenson] 
     22 
     23* Changed render_partial to take local assigns as the second parameter instead of an explicit object and then the assigns. So the API changes from: 
     24 
     25    <%= render_partial "account", person, "rules" => regulations.rules %> 
     26     
     27  ...to: 
     28   
     29    <%= render_partial "account", :account => person, :rules => regulations.rules %> 
     30   
     31  The old API will still work, though, and render_partial "account" will still assume :account => @account. 
     32 
     33* Added support for web servers that use PATH_INFO instead of REQUEST_URI like IIS #1014 [BradG/Nicholas Seckar] 
     34 
     35* Added graceful handling of PUT, DELETE, and OPTIONS requests for a complete coverage of REST functionality #1136 [joshknowles@gmail.com] 
     36 
     37* Fixed that you can now pass an alternative :href option to link_to_function/remote in order to point to somewhere other than # if the javascript fails or is turned off. You can do the same with form_remote_tag by passing in :action. #1113 [Sam Stephenson] 
     38 
     39* Fixed DateHelper to return values on the option tags such that they'll work properly in IE with form_remote_tag #1024 [rscottmace@gmail.com] 
     40 
     41* Fixed FormTagHelper#check_box to respect checked #1049 [DelynnB] 
     42 
     43* Added that render_partial called from a controller will use the action name as default #828 [Dan Peterson] 
     44 
     45* Added Element.toggle, Element.show, and Element.hide to the prototype javascript library. Toggle.display has been deprecated, but will still work #992 [Lucas Carlson] 
     46 
     47* Added that deleting a cookie should not just set it to an empty string but also instantly expire it #1118 [todd@robotcoop.com] 
     48 
     49* Added AssetTagHelper#image_path, AssetTagHelper#javascript_path, and AssetTagHelper#stylesheet_path #1110 [Larry Halff] 
     50 
     51* Fixed url_for(nil) in functional tests #1116 [Alisdair McDiarmid] 
     52 
     53* Fixed error handling of broken layouts #1115 [Michael Schubert] 
     54 
     55* Added submit_to_remote that allows you to trigger an Ajax form submition at the click of the submission button, which allows for multiple targets in a single form through the use of multiple submit buttons #930 [yrashk@gmail.com] 
     56 
     57* Fixed pagination to work with joins #1034 [scott@sigkill.org] 
     58 
     59* Fixed that *rest parameter in map.connect couldn't accept an empty list #1037 [Dee.Zsombor@gmail.com] 
     60 
     61* Added :confirm option to link_to_remote just like link_to has #1082 [yrashk@fp.org.ua] 
     62 
     63* Added minute_step as an option to select_minute (and the helpers that use it) to jump in larger increments than just 1 minute. At 15, it would return 0, 15, 30, 45 options #1085 [ordwaye@evergreen.edu] 
     64 
     65* Fixed that an exception would be thrown when an empty form was submitted #1090 [jan@ulbrich-boerwang.de] 
     66 
     67* Moved TextHelper#human_size to NumberHelper#number_to_human_size, but kept an deprecated alias to the old method name 
     68 
     69* Fixed that the content-type for some browsers could include an additional \r which made wonky things happen #1067 [Thomas Fuchs] 
     70 
     71* Fixed that radio buttons shouldn't have a default size attribute #1074 [hendrik@mans.de] 
     72 
     73* Added ActionView::Helpers::InstanceTag::DEFAULT_RADIO_OPTIONS that contains a hash of default options for radio buttons #1074 [hendrik@mans.de] 
     74 
     75* Fixed that in some circumstances controllers outside of modules may have hidden ones inside modules. For example, admin/content might have been hidden by /content. #1075 [Nicholas Seckar] 
     76 
     77* Added JavascriptHelper#periodically_call_remote in order to create areas of a page that update automatically at a set interval #945 [Jon Tirsen] 
     78 
     79* Fixed Cache#expire_matched_fragments that couldn't recognize the difference between string and url_for options #1030 [skaes@web.de] 
     80 
     81* Added simulation of @request.request_uri in functional tests #1038 [Jamis Buck] 
     82 
     83* Fixed autolinking to work better in more cases #1013 [Jamis Buck] 
     84 
     85* Added the possible of using symbols in form helpers that relate to instance variables like text_field :account, :name in addition to text_field "account", "name"' 
     86 
     87* Fixed javascript_include_tag to output type instead of language and conform to XHTML #1018 [Rick Olson] 
     88 
     89* Added NumberHelper for common string representations like phone number, currency, and percentage #1015 [DeLynn] 
     90 
     91* Added pagination for scaffolding (10 items per page) #964 [mortonda@dgrmm.net] 
     92 
     93* Added assert_no_cookie and fixed assert_cookie_equal to deal with non-existing cookies #979 [bitsweat] 
     94 
     95* Fixed :overwrite_param so it doesn't delete but reject elements from @request.parameters #982 [raphinou@yahoo.com] 
     96 
     97* Added :method option to verify for ensuring that either GET, POST, etc is allowed #984 [Jamis Buck] 
     98 
     99* Added options to set cc, bcc, subject, and body for UrlHelper#mail_to #966 [DeLynn] 
     100 
     101* Fixed include_blank for select_hour/minute/second #527 [edward@debian.org] 
     102 
     103* Improved the message display on the exception handler pages #963 [Johan Sorensen] 
     104 
     105* Fixed that on very rare occasions, webrick would raise a NoMethodError: private method 'split' called for nil #1001 [Flurin Egger] 
    106106 
    107107* Fixed problem with page caching #958 [Rick Olson] 
  • trunk/actionpack/lib/action_controller/assertions.rb

    r1195 r1216  
    135135      # * <tt>:children</tt>: a hash, for counting children of a node. Accepts 
    136136      #   the keys: 
    137       # ** <tt>:count</tt>: either a number or a range which must equal (or 
    138       #    include) the number of children that match. 
    139       # ** <tt>:less_than</tt>: the number of matching children must be less 
    140       #    than this number. 
    141       # ** <tt>:greater_than</tt>: the number of matching children must be 
    142       #    greater than this number. 
    143       # ** <tt>:only</tt>: another hash consisting of the keys to use 
    144       #    to match on the children, and only matching children will be 
    145       #    counted. 
     137      #   * <tt>:count</tt>: either a number or a range which must equal (or 
     138      #    include) the number of children that match. 
     139      #   * <tt>:less_than</tt>: the number of matching children must be less 
     140      #    than this number. 
     141      #   * <tt>:greater_than</tt>: the number of matching children must be 
     142      #    greater than this number. 
     143      #   * <tt>:only</tt>: another hash consisting of the keys to use 
     144      #    to match on the children, and only matching children will be 
     145      #    counted. 
    146146      # * <tt>:content</tt>: (text nodes only). The content of the node must 
    147147      #   match the given value. 
  • trunk/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb

    r1195 r1216  
    22require 'html/node' 
    33 
    4 module HTML 
     4module HTML#:nodoc: 
    55   
    66  # A top-level HTMl document. You give it a body of text, and it will parse that 
    77  # text into a tree of nodes. 
    8   class Document 
     8  class Document #:nodoc: 
    99 
    1010    # The root of the parsed document. 
  • trunk/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb

    r1195 r1216  
    11require 'strscan' 
    22 
    3 module HTML 
     3module HTML#:nodoc: 
    44   
    5   class Conditions < Hash 
     5  class Conditions < Hash#:nodoc: 
    66    def initialize(hash) 
    77      super() 
     
    5454 
    5555  # The base class of all nodes, textual and otherwise, in an HTML document. 
    56   class Node 
     56  class Node#:nodoc: 
    5757    # The array of children of this node. Not all nodes have children. 
    5858    attr_reader :children 
     
    168168 
    169169  # A node that represents text, rather than markup. 
    170   class Text < Node 
     170  class Text < Node#:nodoc: 
    171171     
    172172    attr_reader :content 
     
    224224  # closing tag, or a self-closing tag. It has a name, and may have a hash of 
    225225  # attributes. 
    226   class Tag < Node 
     226  class Tag < Node#:nodoc: 
    227227     
    228228    # Either +nil+, <tt>:close</tt>, or <tt>:self</tt> 
  • trunk/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb

    r1195 r1216  
    11require 'strscan' 
    22 
    3 module HTML 
     3module HTML#:nodoc: 
    44   
    55  # A simple HTML tokenizer. It simply breaks a stream of text into tokens, where each 
     
    1414  #     p token 
    1515  #   end 
    16   class Tokenizer 
     16  class Tokenizer#:nodoc: 
    1717     
    1818    # The current (byte) position in the text 
  • trunk/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb

    r1195 r1216  
    1 module HTML 
    2   module Version 
     1module HTML#:nodoc: 
     2  module Version#:nodoc: 
    33 
    44    MAJOR = 0 
  • trunk/actionpack/Rakefile

    r1153 r1216  
    99PKG_BUILD     = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 
    1010PKG_NAME      = 'actionpack' 
    11 PKG_VERSION   = '1.7.0' + PKG_BUILD 
     11PKG_VERSION   = '1.8.0' + PKG_BUILD 
    1212PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 
    1313 
     
    6262  s.requirements << 'none' 
    6363 
    64   s.add_dependency('activesupport', '= 1.0.3' + PKG_BUILD) 
     64  s.add_dependency('activesupport', '= 1.0.4' + PKG_BUILD) 
    6565 
    6666  s.require_path = 'lib' 
  • trunk/actionwebservice/CHANGELOG

    r1197 r1216  
    1 *0.7.0* (Unreleased
     1*0.7.0* (19th April, 2005
    22 
    33* When casting structured types, don't try to send obj.name= unless obj responds to it, causes casting to be less likely to fail for XML-RPC 
  • trunk/actionwebservice/Rakefile

    r1102 r1216  
    1010PKG_BUILD     = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 
    1111PKG_NAME      = 'actionwebservice' 
    12 PKG_VERSION   = '0.6.2' + PKG_BUILD 
     12PKG_VERSION   = '0.7.0' + PKG_BUILD 
    1313PKG_FILE_NAME   = "#{PKG_NAME}-#{PKG_VERSION}" 
    1414PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}" 
     
    6363  s.homepage = "http://www.rubyonrails.org" 
    6464 
    65   s.add_dependency('actionpack', '= 1.7.0' + PKG_BUILD) 
    66   s.add_dependency('activerecord', '= 1.9.1' + PKG_BUILD) 
    67   s.add_dependency('activesupport', '= 1.0.3' + PKG_BUILD) 
     65  s.add_dependency('actionpack', '= 1.8.0' + PKG_BUILD) 
     66  s.add_dependency('activerecord', '= 1.10.0' + PKG_BUILD) 
     67  s.add_dependency('activesupport', '= 1.0.4' + PKG_BUILD) 
    6868 
    6969  s.has_rdoc = true 
  • trunk/activerecord/CHANGELOG

    r1215 r1216  
    1 *SVN* 
    2  
    3 * Added Base.save! that attempts to save the record just like Base.save but will raise a InvalidRecord exception instead of returning false if the record is not valid [After much pestering from Dave Thomas] 
     1*1.10.0* (19th April, 2005) 
    42 
    53* Added eager loading of associations as a way to solve the N+1 problem more gracefully without piggy-back queries. Example: 
     
    2523    Person.find(:all, :offset => 10, :limit => 10) 
    2624 
    27 * Fixed PostgreSQL usage of fixtures with regards to public schemas and table names with dots #962 [gnuman1@gmail.com] 
    28  
    29 * Fixed that fixtures were being deleted in the same order as inserts causing FK errors #890 [andrew.john.peters@gmail.com] 
    30  
    31 * Fixed loading of fixtures in to be in the right order (or PostgreSQL would bark) #1047 [stephenh@chase3000.com] 
    32  
    33 * Fixed page caching for non-vhost applications living underneath the root #1004 [Ben Schumacher] 
    34  
    35 * Fixes a problem with the SQL Adapter which was resulting in IDENTITY_INSERT not being set to ON when it should be #1104 [adelle] 
    36  
    37 * Added the option to specify the acceptance string in validates_acceptance_of #1106 [caleb@aei-tech.com] 
    38  
    3925* Added acts_as_nested_set #1000 [wschenk]. Introduction: 
    4026 
     
    4329    a single query.  A good use case for this is a threaded post system, where you want 
    4430    to display every reply to a comment without multiple selects. 
     31 
     32* Added Base.save! that attempts to save the record just like Base.save but will raise a RecordInvalid exception instead of returning false if the record is not valid [After much pestering from Dave Thomas] 
     33 
     34* Fixed PostgreSQL usage of fixtures with regards to public schemas and table names with dots #962 [gnuman1@gmail.com] 
     35 
     36* Fixed that fixtures were being deleted in the same order as inserts causing FK errors #890 [andrew.john.peters@gmail.com] 
     37 
     38* Fixed loading of fixtures in to be in the right order (or PostgreSQL would bark) #1047 [stephenh@chase3000.com] 
     39 
     40* Fixed page caching for non-vhost applications living underneath the root #1004 [Ben Schumacher] 
     41 
     42* Fixes a problem with the SQL Adapter which was resulting in IDENTITY_INSERT not being set to ON when it should be #1104 [adelle] 
     43 
     44* Added the option to specify the acceptance string in validates_acceptance_of #1106 [caleb@aei-tech.com] 
    4545 
    4646* Added insert_at(position) to acts_as_list #1083 [DeLynnB] 
  • trunk/activerecord/lib/active_record/base.rb

    r1212 r1216  
    9797  # the question marks with symbols and supplying a hash with values for the matching symbol keys: 
    9898  # 
    99   #   Company.find_first([  
     99  #   Company.find(:first, [  
    100100  #     "id = :id AND name = :name AND division = :division AND created_at > :accounting_date",  
    101101  #     { :id => 3, :name => "37signals", :division => "First", :accounting_date => '2005-01-01' } 
     
    296296      # * Find first: This will return the first record matched by the options used. These options can either be specific 
    297297      #   conditions or merely an order. If no record can matched, nil is returned. 
    298       # # Find all: This will return all the records matched by the options used. If no records are found, an empty array is returned. 
     298      # * Find all: This will return all the records matched by the options used. If no records are found, an empty array is returned. 
    299299      # 
    300300      # All approaches accepts an option hash as their last parameter. The options are: 
     
    316316      # 
    317317      # Examples for find first: 
    318       #   Person.find(:first) # returns the first object fetched by SELECT * FROM people 
     318      #   Person.find(:first) # returns the first object fetched by SELECT * FROM people 
    319319      #   Person.find(:first, :conditions => [ "user_name = ?", user_name]) 
    320320      #   Person.find(:first, :order => "created_on DESC", :offset => 5) 
    321321      # 
    322322      # Examples for find all: 
    323       #   Person.find(:all)    # returns an array of objects for all the rows fetched by SELECT * FROM people 
     323      #   Person.find(:all) # returns an array of objects for all the rows fetched by SELECT * FROM people 
    324324      #   Person.find(:all, :conditions => [ "category IN (?)", categories], :limit => 50) 
    325325      #   Person.find(:all, :offset => 10, :limit => 10) 
  • trunk/activerecord/lib/active_record/validations.rb

    r1215 r1216  
    11module ActiveRecord 
    2   class InvalidRecord < ActiveRecordError #:nodoc: 
     2  class RecordInvalid < ActiveRecordError #:nodoc: 
    33  end 
    44   
     
    556556    end 
    557557 
    558     # Attempts to save the record just like Base.save but will raise a InvalidRecord exception instead of returning false 
     558    # Attempts to save the record just like Base.save but will raise a RecordInvalid exception instead of returning false 
    559559    # if the record is not valid. 
    560560    def save! 
    561       valid? ? save_without_validation : raise(InvalidRecord) 
     561      valid? ? save_without_validation : raise(RecordInvalid) 
    562562    end 
    563563 
  • trunk/activerecord/Rakefile

    r1153 r1216  
    99PKG_BUILD     = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 
    1010PKG_NAME      = 'activerecord' 
    11 PKG_VERSION   = '1.9.1' + PKG_BUILD 
     11PKG_VERSION   = '1.10.0' + PKG_BUILD 
    1212PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 
    1313 
     
    7777  end 
    7878   
    79   s.add_dependency('activesupport', '= 1.0.3' + PKG_BUILD) 
     79  s.add_dependency('activesupport', '= 1.0.4' + PKG_BUILD) 
    8080 
    8181  s.files.delete "test/fixtures/fixture_database.sqlite" 
  • trunk/activerecord/README

    r785 r1216  
    334334then use: 
    335335 
    336   % [sudo] gem install activerecord-1.7.0.gem 
     336  % [sudo] gem install activerecord-1.10.0.gem 
    337337 
    338338You can also install Active Record the old-fashion way with the following command: 
  • trunk/activerecord/test/validations_test.rb

    r1215 r1216  
    6767  def test_invalid_record_exception 
    6868    r = Reply.new 
    69     assert_raises(ActiveRecord::InvalidRecord) { r.save! } 
     69    assert_raises(ActiveRecord::RecordInvalid) { r.save! } 
    7070  end 
    7171 
  • trunk/activesupport/CHANGELOG

    r1125 r1216  
    1 *SVN* 
     1*1.0.4* (19th April, 2005) 
    22 
    33* Fixed that in some circumstances controllers outside of modules may have hidden ones inside modules. For example, admin/content might have been hidden by /content. #1075 [Nicholas Seckar] 
  • trunk/railties/CHANGELOG

    r1187 r1216  
    1 *SVN* 
     1*0.12.0* (19th April, 2005) 
    22 
    33* Fixed that purge_test_database would use database settings from the development environment when recreating the test database #1122 [rails@cogentdude.com] 
     
    1111    script/benchmarker 50 'Person.expensive_method(10)' 'Person.cheap_method(10)' 
    1212 
    13  
    1413* Added script/profiler to easily profile a single statement from within the environment. Examples: 
    1514 
     
    2221 
    2322* Fixed that ownership is brought over in pg_dump during tests for PostgreSQL #1060 [pburleson@gmail.com] 
     23 
     24* 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 
    2425 
    2526 
  • trunk/railties/Rakefile

    r1166 r1216  
    1010PKG_BUILD       = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 
    1111PKG_NAME        = 'rails' 
    12 PKG_VERSION     = '0.11.1' + PKG_BUILD 
     12PKG_VERSION     = '0.12.0' + PKG_BUILD 
    1313PKG_FILE_NAME   = "#{PKG_NAME}-#{PKG_VERSION}" 
    1414PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}" 
     
    239239  EOF 
    240240 
    241   s.add_dependency('rake', '>= 0.5.0') 
    242   s.add_dependency('activesupport',    '= 1.0.3' + PKG_BUILD) 
    243   s.add_dependency('activerecord',     '= 1.9.1' + PKG_BUILD) 
    244   s.add_dependency('actionpack',       '= 1.7.0' + PKG_BUILD) 
    245   s.add_dependency('actionmailer',     '= 0.8.1' + PKG_BUILD) 
    246   s.add_dependency('actionwebservice', '= 0.6.2' + PKG_BUILD) 
     241  s.add_dependency('rake', '>= 0.5.3') 
     242  s.add_dependency('activesupport',    '= 1.0.4' + PKG_BUILD) 
     243  s.add_dependency('activerecord',     '= 1.10.0' + PKG_BUILD) 
     244  s.add_dependency('actionpack',       '= 1.8.0' + PKG_BUILD) 
     245  s.add_dependency('actionmailer',     '= 0.9.0' + PKG_BUILD) 
     246  s.add_dependency('actionwebservice', '= 0.7.0' + PKG_BUILD) 
    247247 
    248248  s.rdoc_options << '--exclude' << '.'