Changeset 333
- Timestamp:
- 01/04/05 12:35:10 (4 years ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/install.rb (modified) (3 diffs)
- trunk/actionpack/Rakefile (modified) (2 diffs)
- trunk/activerecord/CHANGELOG (modified) (4 diffs)
- trunk/activerecord/Rakefile (modified) (1 diff)
- trunk/railties/CHANGELOG (modified) (2 diffs)
- trunk/railties/Rakefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r330 r333 1 * SVN*1 *1.2.0* (January 4th, 2005) 2 2 3 3 * Added MemCacheStore for storing session data in Danga's MemCache system [Bob Cottrell] 4 4 Depends on: MemCached server (http://www.danga.com/memcached/), MemCache client (http://raa.ruby-lang.org/project/memcache/) 5 5 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 6 18 * Fixed redirects when the controller and action is named the same. Still haven't fixed same controller, module, and action, though #201 [Josh] 7 19 8 20 * Fixed problems with running multiple functional tests in Rails under 1.8.2 by including hack for test/unit weirdness 9 21 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 20 22 * 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.23 23 24 24 trunk/actionpack/install.rb
r20 r333 41 41 action_controller/cgi_ext/cgi_ext.rb 42 42 action_controller/cgi_ext/cgi_methods.rb 43 action_controller/cgi_ext/cookie_performance_fix.rb 43 44 action_controller/cgi_process.rb 44 45 action_controller/cookies.rb 46 action_controller/dependencies.rb 45 47 action_controller/filters.rb 46 48 action_controller/flash.rb … … 54 56 action_controller/session/drb_server.rb 55 57 action_controller/session/drb_store.rb 58 action_controller/session/mem_cache_store.rb 59 action_controller/session.rb 56 60 action_controller/support/class_inheritable_attributes.rb 57 61 action_controller/support/class_attribute_accessors.rb … … 59 63 action_controller/support/cookie_performance_fix.rb 60 64 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 61 70 action_controller/templates/rescues/_request_and_response.rhtml 62 71 action_controller/templates/rescues/diagnostics.rhtml trunk/actionpack/Rakefile
r283 r333 9 9 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 10 10 PKG_NAME = 'actionpack' 11 PKG_VERSION = '1. 1.0' + PKG_BUILD11 PKG_VERSION = '1.2.0' + PKG_BUILD 12 12 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 13 13 … … 50 50 s.email = "david@loudthinking.com" 51 51 s.rubyforge_project = "actionpack" 52 s.homepage = "http:// actionpack.rubyonrails.org"52 s.homepage = "http://www.rubyonrails.org" 53 53 54 54 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] 10 20 11 21 * Added dynamic attribute-based finders as a cleaner way of getting objects by simple queries without turning to SQL. … … 23 33 though, as it's not possible to specify the order in which the objects are returned. 24 34 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 33 35 * Added block-style for callbacks #332 [bitsweat]. 34 36 … … 39 41 before_destroy { |record| Person.destroy_all "firm_id = #{record.id}" } 40 42 41 * Added automated optimistic locking if the field <tt>lock_version</tt> is present. Each update to the42 record increments the lock_version column and the locking facilities ensure that records instantiated twice43 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.save50 51 p2.first_name = "should fail"52 p2.save # Raises a ActiveRecord::StaleObjectError53 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 59 43 * 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]64 44 65 45 * Added Base.default_timezone accessor that determines whether to use Time.local (using :local) or Time.utc (using :utc) when pulling dates … … 68 48 * Added the possibility for adapters to overwrite add_limit! to implement a different limiting scheme than "LIMIT X" used by MySQL, PostgreSQL, and SQLite. 69 49 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 70 64 * Fixed that the const_missing autoload assumes the requested constant is set by require_association and calls const_get to retrieve it. 71 65 If require_association did not set the constant then const_get will call const_missing, resulting in an infinite loop #380 [bitsweat] 72 66 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] 74 74 75 75 trunk/activerecord/Rakefile
r303 r333 9 9 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 10 10 PKG_NAME = 'activerecord' 11 PKG_VERSION = '1. 3.0' + PKG_BUILD11 PKG_VERSION = '1.4.0' + PKG_BUILD 12 12 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 13 13 trunk/railties/CHANGELOG
r325 r333 1 * SVN*1 *0.9.3* (January 4th, 2005) 2 2 3 3 * Added support for SQLite in the auto-dumping/importing of schemas for development -> test #416 4 4 5 * Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #3516 7 5 * Added automated rewriting of the shebang lines on installs through the gem rails command #379 [Manfred Stienstra] 8 6 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] 10 12 11 13 * Fixed dependency management to happen in a unified fashion for Active Record and Action Pack using the new Dependencies module. This means that … … 26 28 Dependencies.mechanism = :require 27 29 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] 33 33 34 34 trunk/railties/Rakefile
r317 r333 10 10 PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' 11 11 PKG_NAME = 'rails' 12 PKG_VERSION = '0.9. 2' + PKG_BUILD12 PKG_VERSION = '0.9.3' + PKG_BUILD 13 13 PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" 14 14 PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}"