Skip to content
This repository

Nov 28, 2007

  1. Jeremy Kemper

    attr_protected and _accessible use sets of strings instead of arrays …

    …of symbols internally. Closes #10300.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored
  2. Jeremy Kemper

    attr_readonly uses a set of strings instead of an array of symbols in…

    …ternally. References #10300.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Nov 09, 2007

  1. David Heinemeier Hansson

    Kill the whiny_protected_attributes setting and kill the exception ra…

    …ised. Instead, just log the mass-assignment misalignment as a debug warning (closes #9966)
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh authored

Nov 08, 2007

  1. Smattering of grammatical fixes to documentation. Closes #10083 [BobS…

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

Nov 07, 2007

  1. David Heinemeier Hansson

    Address shortcomings of changeset [8054] [protocool]

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

Nov 06, 2007

  1. Enhance explanation with more examples for attr_accessible macro. Clo…

    …ses #8095 [fearoffish, Marcel Molina]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored

Oct 29, 2007

  1. Jeremy Kemper

    Introduce finder :joins with associations. Same :include syntax but w…

    …ith inner rather than outer joins. Closes #10012.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Oct 26, 2007

  1. Add docs explaining how to protect all attributes using attr_accessib…

    …le with no arguments. Closes #9631 [boone, rmm5t]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8032 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored
  2. Use VALID_FIND_OPTIONS when resolving :find scoping rather than hard …

    …coding the list of valid find options. Closes #9443 [sur]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8025 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina authored

Oct 16, 2007

  1. Jeremy Kemper

    Qualified column names work in hash conditions, like :conditions => {…

    … 'comments.created_at' => ... }. Closes #9733.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7943 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored
  2. Jeremy Kemper

    Quote table names. Defaults to column quoting. Closes #4593.

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

Oct 15, 2007

  1. Jeremy Kemper

    Factor out checks for duplicable objects. Closes #9333.

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

Oct 10, 2007

  1. find_and_(initialize|create)_by methods can now properly initialize p…

    …rotected attributes
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Tobias Lütke authored

Oct 08, 2007

  1. Michael Koziarski

    Make sure AR::Base#clone handles attr changes made in after_initializ…

    …e hooks. Closes #7191 [weyus]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7802 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

Oct 07, 2007

  1. Jeremy Kemper

    Raise ProtectedAttributeAssignmentError in development and test envir…

    …onments when mass-assigning to an attr_protected attribute. Closes #9699.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7777 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy authored

Oct 06, 2007

  1. Michael Koziarski

    Send the correct INSERT statement when dealing with objects with only…

    … primary keys. Closes #9523 [tarmo]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7753 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored
  2. risk danger olson

    Fix that ActiveRecord would create attribute methods and override cus…

    …tom attribute getters if the method is also defined in Kernel.methods. [Rick]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    technoweenie authored

Oct 03, 2007

  1. Michael Koziarski

    Cache the descends_from_activerecord? call to speed up query generati…

    …on. [skaes] Closes #9765
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

Sep 30, 2007

  1. risk danger olson

    Add attr_readonly to specify columns that are skipped during a normal…

    … ActiveRecord #save operation. Closes #6896 [dcmanges]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    technoweenie authored

Sep 28, 2007

  1. David Heinemeier Hansson

    Fixed spelling errors (closes #9706) [tarmo/rmm5t]

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

Sep 22, 2007

  1. David Heinemeier Hansson

    Docfix (closes #8767) [kampers]

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

Sep 18, 2007

  1. Define dynamic finders as real methods after first usage. Close #9317

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Tobias Lütke authored
  2. Jeremy Kemper

    Deprecation: remove deprecated threaded_connections methods. Use allo…

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

Sep 14, 2007

  1. Jeremy Kemper

    Deprecation: removed Reloadable.

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

Sep 13, 2007

  1. Jeremy Kemper

    minor speedups + forward-compat syntax

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

    minor speedup

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

Aug 31, 2007

  1. Jeremy Kemper

    Performance: absorb instantiate and initialize_with_callbacks into th…

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

Aug 21, 2007

  1. David Heinemeier Hansson

    Fixed that eager loading queries and with_scope should respect the :g…

    …roup option [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh authored

Aug 14, 2007

  1. Michael Koziarski

    Change the implementation of ActiveRecord's attribute reader and writ…

    …er methods:
    
     * Generate Reader and Writer methods which cache attribute values in hashes.  This is to avoid repeatedly parsing the same date or integer columns.
     * Move the attribute related methods out to attribute_methods.rb to de-clutter base.rb
     * Change exception raised when users use find with :select then try to access a skipped column.  Plugins could override missing_attribute() to lazily load the columns.
     * Move method definition to the class, instead of the instance
     * Always generate the readers, writers and predicate methods.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

Aug 06, 2007

  1. Michael Koziarski

    Let inspect on AR classes work when the table doesn't exist. Closes #…

    …9194 [tarmo, nzkoz]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7278 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

Aug 05, 2007

  1. Michael Koziarski

    Performance enhancement for Base.exists?. CLoses #8769. [hasmanyjosh]

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

Jul 24, 2007

  1. David Heinemeier Hansson

    Refactored in use of extract_options! (closes #9079) [josh]

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

Jul 07, 2007

  1. Michael Koziarski

    Move from select * to select tablename.* to avoid clobbering IDs. Clo…

    …ses #8889 [dasil003]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    NZKoz authored

Jun 27, 2007

  1. Jeremy Kemper

    Array attribute conditions work with proxied association collections.…

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

Jun 23, 2007

  1. David Heinemeier Hansson

    Docfix (closes #8096)

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh authored
Something went wrong with that request. Please try again.