1. 10 6月, 2005 1 次提交
  2. 07 4月, 2005 1 次提交
  3. 06 3月, 2005 1 次提交
  4. 26 1月, 2005 1 次提交
    • D
      Fixed dependency reloading by switching to a remove_const approach where all... · 10220d35
      David Heinemeier Hansson 提交于
      Fixed dependency reloading by switching to a remove_const approach where all Active Records, Active Record Observers, and Action Controllers are reloading by undefining their classes. This enables you to remove methods in all three types and see the change reflected immediately and it fixes #539. This also means that only those three types of classes will benefit from the const_missing and reloading approach. If you want other classes (like some in lib/) to reload, you must use require_dependency to do it.
      
      git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
      10220d35
  5. 16 1月, 2005 1 次提交
    • D
      Added support for associating unsaved objects #402 [Tim Bates] · 823554ea
      David Heinemeier Hansson 提交于
      Added replace to associations, so you can do project.manager.replace(new_manager) or project.milestones.replace(new_milestones) #402 [Tim Bates]
      Added build and create methods to has_one and belongs_to associations, so you can now do project.manager.build(attributes) #402 [Tim Bates]
      Fixed that Base#== wouldn't work for multiple references to the same unsaved object #402 [Tim Bates]
      Added that if a before_* callback returns false, all the later callbacks and the associated action are cancelled. If an after_* callback returns false, all the later callbacks are cancelled. Callbacks are generally run in the order they are defined, with the exception of callbacks defined as methods on the model, which are called last. #402 [Tim Bates]
      
      git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
      823554ea
  6. 07 12月, 2004 1 次提交
  7. 24 11月, 2004 1 次提交