Permalink
Switch branches/tags
Commits on Jan 25, 2005
  1. Raise LoadErrors separately

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

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

    dhh committed Jan 25, 2005
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  4. New approach to reloading that uses remove_const on ARs and AOs as we…

    dhh committed Jan 25, 2005
    …ll as ACs
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  5. Added methods for removing subclasses -- couldnt make it work with th…

    dhh committed Jan 25, 2005
    …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
  6. Fixed the ordering of attributes in the xml-decleration of Builder #540

    dhh committed Jan 25, 2005
    … [woeye]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  7. Added the option of supplying an array of ids and attributes to Base#…

    dhh committed Jan 25, 2005
    …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
  8. Fixed documentation #538

    dhh committed Jan 25, 2005
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  9. Added @request.raw_post as a convenience access to @request.env['RAW_…

    dhh committed Jan 25, 2005
    …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
  10. The create and build methods are only available for has_one/belongs_t…

    dhh committed Jan 25, 2005
    …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
Commits on Jan 24, 2005
  1. Fixed that /Recipe/new and /recipe/new points to the same thing [Lyle…

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

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

    dhh committed Jan 24, 2005
    …2-1ee6-0310-87b1-e25e094e27de
  4. Fetch from current dir

    dhh committed Jan 24, 2005
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  5. Added Base.update_collection that can update an array of id/attribute…

    dhh committed Jan 24, 2005
    … 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
  6. Added support for automatic id-based indexing for lists of items #532

    dhh committed Jan 24, 2005
    …[dblack]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@495 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  7. Added :application_prefix to url_for and friends that makes it easier…

    dhh committed Jan 24, 2005
    … 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
  8. Added :encode option to mail_to that'll allow you to masquarede the e…

    dhh committed Jan 24, 2005
    …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
  9. Added Florian Gross' latest version of Breakpointer and friends that …

    dhh committed Jan 24, 2005
    …fixes a variaty of bugs #441 [Florian Gross]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  10. Added ActiveRecord::Base.timestamps_gmt that can be set to true to ma…

    dhh committed Jan 24, 2005
    …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
  11. Fixed skeleton Rakefile to work with sqlite3 out of the box #521 [ras…

    dhh committed Jan 24, 2005
    …putnik]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@490 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  12. Added that update_all calls sanitize_sql on its updates argument, so …

    dhh committed Jan 24, 2005
    …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
  13. Fixed that the dynamic finders didnt treat nil as a "IS NULL" but rat…

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

    dhh committed Jan 24, 2005
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@487 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  15. Fixed that script/breakpointer didn't get the Ruby path rewritten as …

    dhh committed Jan 24, 2005
    …the other scripts #523 [brandt@kurowski.net]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  16. Added bind-named arrays for interpolating a group of ids or strings i…

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

    dhh committed Jan 24, 2005
    …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
  18. Fixed that records fetched with piggy-back attributes or through rich…

    dhh committed Jan 24, 2005
    … 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
  19. Fixed handling of syntax errors in models that had already been succe…

    dhh committed Jan 24, 2005
    …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
  20. Minor tweak

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

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

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

    dhh committed Jan 23, 2005
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. Added mass-assignment protection for the inheritance column -- regard…

    dhh committed Jan 23, 2005
    …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
  3. Fixed that association proxies would fail === tests like PremiumSubsc…

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