Permalink
Commits on Jan 25, 2005
  1. @dhh

    Raise LoadErrors separately

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 25, 2005
  2. @dhh

    Moved subclass reloading responsibilities to Dependencies

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 25, 2005
  3. @dhh

    Comply to the new dependency reload system

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 25, 2005
  4. @dhh

    New approach to reloading that uses remove_const on ARs and AOs as we…

    …ll as ACs
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 25, 2005
  5. @dhh

    Added methods for removing subclasses -- couldnt make it work with th…

    …e regular nested-module approach (ObjectSpace was being difficult), so this is a straight inclusion
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 25, 2005
  6. @dhh

    Fixed the ordering of attributes in the xml-decleration of Builder #540

    … [woeye]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 25, 2005
  7. @dhh

    Added the option of supplying an array of ids and attributes to Base#…

    …update, so that multiple records can be updated at once (inspired by #526/Duane Johnson). Added the option of supplying an array of attributes to Base#create, so that multiple records can be created at once. Added that Base#delete and Base#destroy both can take an array of ids to delete/destroy #336. Added that has_many association build and create methods can take arrays of record data like Base#create and Base#build to build/create multiple records at once.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 25, 2005
  8. @dhh

    Fixed documentation #538

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 25, 2005
  9. @dhh

    Added @request.raw_post as a convenience access to @request.env['RAW_…

    …POST_DATA'] and fixed the patch problems with the session #534 [Tobias Luetke]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 25, 2005
  10. @dhh

    The create and build methods are only available for has_one/belongs_t…

    …o if an association already exist. It will not work when it's nil. Updated the documentation to reflect that.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@501 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 25, 2005
Commits on Jan 24, 2005
  1. @dhh

    Fixed that /Recipe/new and /recipe/new points to the same thing [Lyle…

    … Johnson]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@500 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  2. @dhh

    Applied the dblack patch

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  3. @dhh

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@498 5ecf4fe…

    …2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  4. @dhh

    Fetch from current dir

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  5. @dhh

    Added Base.update_collection that can update an array of id/attribute…

    … pairs, such as the ones produced by the recent added support for automatic id-based indexing for lists of items #526 [Duane Johnson]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@496 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  6. @dhh

    Added support for automatic id-based indexing for lists of items #532

    …[dblack]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@495 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  7. @dhh

    Added :application_prefix to url_for and friends that makes it easier…

    … to setup Rails in non-vhost environments #516 [Jamis Buck]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@494 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  8. @dhh

    Added :encode option to mail_to that'll allow you to masquarede the e…

    …mail address behind javascript or hex encoding #494 [Lucas Carlson]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  9. @dhh

    Added Florian Gross' latest version of Breakpointer and friends that …

    …fixes a variaty of bugs #441 [Florian Gross]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  10. @dhh

    Added ActiveRecord::Base.timestamps_gmt that can be set to true to ma…

    …ke the automated timestamping use GMT instead of local time #520 [Scott Baron]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@491 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  11. @dhh

    Fixed skeleton Rakefile to work with sqlite3 out of the box #521 [ras…

    …putnik]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@490 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  12. @dhh

    Added that update_all calls sanitize_sql on its updates argument, so …

    …stuff like MyRecord.update_all(['time = ?', Time.now]) works #519 [notahat]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@489 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  13. @dhh

    Fixed that the dynamic finders didnt treat nil as a "IS NULL" but rat…

    …her "= NULL" case #515 [Demetrius]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  14. @dhh

    Fixed install.rb files

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@487 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  15. @dhh

    Fixed that script/breakpointer didn't get the Ruby path rewritten as …

    …the other scripts #523 [brandt@kurowski.net]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  16. @dhh

    Added bind-named arrays for interpolating a group of ids or strings i…

    …n conditions #528 [bitsweat]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@485 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  17. @dhh

    Added that has_and_belongs_to_many associations with additional attri…

    …butes also can be created between unsaved objects and only committed to the database when Base#save is called on the associator #524 [Eric Anderson]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@484 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  18. @dhh

    Fixed that records fetched with piggy-back attributes or through rich…

    … has_and_belongs_to_many associations couldn't be saved due to the extra attributes not part of the table #522 [Eric Anderson]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@483 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  19. @dhh

    Fixed handling of syntax errors in models that had already been succe…

    …sfully required once in the current interpreter. Fixed superclass mismatch and other controller related problems by not using dependency reloading for controllers.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  20. @dhh

    Minor tweak

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  21. @dhh

    Another swing at reloading

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@480 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
  22. @dhh

    Another swing at reloading

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 24, 2005
Commits on Jan 23, 2005
  1. @dhh

    Brought back reloading of models

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 23, 2005
  2. @dhh

    Added mass-assignment protection for the inheritance column -- regard…

    …less of a custom column is used or not
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@477 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 23, 2005
  3. @dhh

    Fixed that association proxies would fail === tests like PremiumSubsc…

    …ription === @account.subscription
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Jan 23, 2005