Skip to content
This repository

Dec 08, 2005

  1. Jeremy Kemper

    r3387@asus: jeremy | 2005-12-07 20:48:42 -0800

     Apply [3242] to stable.  Reloading an instance refreshes its aggregations as well as its associations.  Closes #3024.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Dec 07, 2005

  1. Jeremy Kemper

    r3363@asus: jeremy | 2005-12-06 22:26:27 -0800

     Apply #428 changesets to stable: r3000, r3001, r3002, r3025, r3045, r3096, r3148, r3152, r3165, r3189, r3195, r3205, r3216, r3219, r3221, r3222.  Closes #428.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Nov 24, 2005

  1. Jeremy Kemper

    r3303@asus: jeremy | 2005-11-23 17:14:31 -0800

     Apply [3051], [3052], [3053], [3059] to stable.  Brings the Firebird adapter to 1.0.  References #1874.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Nov 19, 2005

  1. Jeremy Kemper

    r3167@asus: jeremy | 2005-11-18 22:47:31 -0800

     Apply [3089] to stable.  Don't generate read methods for columns whose names are not valid ruby method names.  Closes #2946.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3090 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Nov 14, 2005

  1. Jeremy Kemper

    r3073@asus: jeremy | 2005-11-13 23:42:32 -0800

     Apply [3021] to stable.  Correct documentation for Base.delete_all.  Closes #1568.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Nov 13, 2005

  1. Jeremy Kemper

    r3008@asus (orig r2978): david | 2005-11-11 01:50:42 -0800

     Make sure that legacy db tasks also reference :database for SQLite (closes #2830) [kazuhiko@fdiary.net]
     r3009@asus (orig r2979):  david | 2005-11-11 02:02:44 -0800
     Changelogging
     r3011@asus (orig r2981):  bitsweat | 2005-11-11 10:49:01 -0800
     Include the Enumerable module in ActiveRecord::Errors.
     r3012@asus (orig r2982):  bitsweat | 2005-11-11 15:45:02 -0800
     SQLServer: don't report limits for unsupported field types.  Closes #2835.
     r3014@asus (orig r2984):  minam | 2005-11-11 21:09:05 -0800
     Make Validations#create! use the current scope
     
     r3015@asus (orig r2985):  bitsweat | 2005-11-12 03:59:54 -0800
      r4325@asus:  jeremy | 2005-11-12 03:57:46 -0800
      PostgreSQL: correctly discover custom primary key sequences.  PostgreSQL: smarter sequence name defaults, stricter last_insert_id, warn on pk without sequence.  Base.reset_sequence_name analogous to reset_table_name (mostly useful for testing).  Base.define_attr_method allows nil values.  References #2594.
     
     r3017@asus (orig r2987):  david | 2005-11-12 08:26:23 -0800
     Pulled auto-starting browser: More pain than gain
     r3019@asus (orig r2989):  bitsweat | 2005-11-12 14:28:38 -0800
     PostgreSQL: min_messages = warning for AR tests.
     r3020@asus (orig r2990):  bitsweat | 2005-11-12 17:12:48 -0800
     SQLite: the clone_structure_to_test Rake task should always use the test environment.  References #2846.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@2991 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Nov 10, 2005

  1. Jeremy Kemper

    Update docs for AR::Base#clone.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored
  2. Jeremy Kemper

    Add :group option, correspond to GROUP BY, to the find method and to …

    …the has_many association. Closes #2818.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Nov 06, 2005

  1. Jeremy Kemper

    r2915@asus: jeremy | 2005-11-06 05:02:53 -0800

     Rename Base.constrain to Base.with_scope so it doesn't conflict with existing concept of database constraints.  Make scoping more robust: uniform method => parameters, validated method names and supported finder parameters, raise exception on nested scopes.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Nov 04, 2005

  1. David Heinemeier Hansson

    Added extension capabilities to has_many and has_and_belongs_to_many …

    …proxies [DHH] Added find_or_create_by_X as a second type of dynamic finder that'll create the record if it doesn't already exist [DHH] Added constrain scoping for creates using a hash of attributes bound to the :creation key [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2872 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh authored

Nov 02, 2005

  1. Jeremy Kemper

    Correct reader method generation for primary key attribute: handle ca…

    …se when primary_key is defined but its column is nil, such as when the model class is backed by a view.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2850 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Nov 01, 2005

  1. Jeremy Kemper

    A missing primary key column shouldn't raise an error when generating…

    … its error message.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Oct 28, 2005

  1. David Heinemeier Hansson

    Added migration support to SQL Server adapter (please someone do the …

    …same for Oracle and DB2) (closes #2625) [Tom Ward]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh authored
  2. Jeremy Kemper

    r3800@sedna: jeremy | 2005-10-28 00:39:05 -0700

     Readonly constraints, association collection method_missing, dup constraint options
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2774 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Oct 26, 2005

  1. David Heinemeier Hansson

    Added :offset and :limit to the kinds of options that Base.constrain …

    …can use (closes #2466) [duane.johnson@gmail.com]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh authored

Oct 25, 2005

  1. Jeremy Kemper

    r2736@asus: jeremy | 2005-10-24 17:08:12 -0700

     Test for eager associations with limits should not assume that records are ordered by id.
     r2737@asus:  jeremy | 2005-10-24 19:06:09 -0700
     Fail fast if invalid primary key column.
     r2746@asus:  jeremy | 2005-10-25 15:37:28 -0700
     Begin rollback of fixture delete order.  Its solves a problem for 1% of users who already have a workaround while severely slowing down the other 99%.
     r2747@asus:  jeremy | 2005-10-25 16:03:01 -0700
     Rollback the rest.
     r2748@asus:  jeremy | 2005-10-25 16:06:26 -0700
     Re-add fixtures declaration to conditions scoping test
     r2749@asus:  jeremy | 2005-10-25 16:09:03 -0700
     Re-add fixtures declaration to finder test
     r2750@asus:  jeremy | 2005-10-25 16:13:50 -0700
     Don't assume keyboards table is empty
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Oct 24, 2005

  1. Jeremy Kemper

    r2726@asus: jeremy | 2005-10-24 14:11:59 -0700

     correct primary key semantics: foo.id and foo.real_pk_column should both exist and return nil if foo.new_record?
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Oct 22, 2005

  1. Jeremy Kemper

    Clarify semantics of ActiveRecord::Base#respond_to? Closes #2560.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Oct 20, 2005

  1. Jeremy Kemper

    HABTM finder sets :readonly => false. Closes #2525.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Oct 18, 2005

  1. Jeremy Kemper

    Parenthesize :conditions

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Oct 16, 2005

  1. Jeremy Kemper

    r3616@asus: jeremy | 2005-09-26 23:09:28 -0700

     Ticket 2292 - Sequences, schemas, and fixtures
     r3917@asus:  jeremy | 2005-10-15 10:43:24 -0700
     fix pk assert
     r3918@asus:  jeremy | 2005-10-15 10:46:52 -0700
     rework query cache connection= override
     r3919@asus:  jeremy | 2005-10-15 10:47:45 -0700
     correct fixtures usage
     r3920@asus:  jeremy | 2005-10-15 10:53:23 -0700
     correct attr assignment
     r3921@asus:  jeremy | 2005-10-15 12:59:10 -0700
     sequences
     r3922@asus:  jeremy | 2005-10-15 16:36:09 -0700
     reset fixtures work with sequences
     r3951@asus:  jeremy | 2005-10-15 23:23:12 -0700
     cut down excess features
     r3952@asus:  jeremy | 2005-10-15 23:40:30 -0700
     don't test for PostgreSQL specifically
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2639 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Oct 15, 2005

  1. Jamis Buck

    Allow ARStore::Session to indicate that it should not be reloaded in …

    …dev mode
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jamis authored
  2. Jamis Buck

    squash the memleak in dev mode finally (fingers crossed, here)

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jamis authored
  3. Eliminate an obsolete comment.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2601 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored
  4. Jeremy Kemper

    r3618@sedna: jeremy | 2005-10-14 12:06:03 -0700

     Branch for :join tainting
     r3631@sedna:  jeremy | 2005-10-14 20:13:49 -0700
     Introduce read-only records, object.readonly\!, object.readonly?, Foo.find(:all, :readonly => true).  Foo.find(:all, :joins => '...') also implies :readonly => true.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2594 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Oct 14, 2005

  1. Change quote delimiters for sql interpolation to obviate SyntaxErrors…

    …. Closes 2215. [leroen@gmail.com]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2593 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored
  2. Jamis Buck

    Avoid memleak in dev mode with fastcgi

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2584 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jamis authored

Oct 13, 2005

  1. Delegate access to a customized primary key to the conventional id me…

    …thod. Closes #2444.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2569 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored
  2. Sam Stephenson

    Support using different database adapters for development and test wi…

    …th ActiveRecord::Base.schema_format = :ruby
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    sstephenson authored

Oct 12, 2005

  1. Deprecated ActiveRecord::Base.threaded_connection in favor of ActiveR…

    …ecord::Base.allow_concurrency.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2542 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored
  2. Protect id attribute from mass assigment even when the primary key is…

    … set to something else. Closes #2438.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored

Oct 11, 2005

  1. Misc doc fixes (typos/grammar/etc.). Closes #2430.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored
  2. Speed up for unthreaded environments. Closes #2431.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2530 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored

Oct 10, 2005

  1. Speed up the setting of table_name. Closes #2428.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2520 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored

Oct 09, 2005

  1. Optimize instantiation of STI subclass records. In partial fullfilmen…

    …t of #1236.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored
Something went wrong with that request. Please try again.