Permalink
Commits on Nov 6, 2005
  1. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2890 5ecf4f…

    …e2-1ee6-0310-87b1-e25e094e27de
    jeremy committed Nov 6, 2005
  2. r2916@asus: jeremy | 2005-11-06 05:04:06 -0800

     Rename conditions_scoping_test to method_scoping_test.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy committed Nov 6, 2005
  3. 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 committed Nov 6, 2005
  4. Fixed that SQL Server should ignore :size declarations on anything bu…

    …t integer and string in the agnostic schema representation (closes #2756) [Ryan Tomayko]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2887 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Nov 6, 2005
  5. svn:externals is now an explicit option for script/plugin (closes #2755

    …) [Ryan Tomayko]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Nov 6, 2005
  6. Enable HTTP installation of plugins when svn isn't avaialable. Closes #…

    …2661. [Chad Fowler]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    sstephenson committed Nov 6, 2005
Commits on Nov 5, 2005
  1. Added Rails::Info to catalog assorted information about a Rails appli…

    …cation's environment
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2882 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    sstephenson committed Nov 5, 2005
  2. Update changelog

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2881 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    sstephenson committed Nov 5, 2005
  3. Scaffold-generated controller action gives paginate the plural_ rathe…

    …r than singular_name. Closes #2743.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy committed Nov 5, 2005
  4. Update paginator docs. Closes #2744.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2878 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy committed Nov 5, 2005
Commits on Nov 4, 2005
  1. script/lighttpd: Detach and exit the forked process

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2877 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    sstephenson committed Nov 4, 2005
  2. Fix assert_no_tag

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2876 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Nov 4, 2005
  3. script/lighttpd: tail the logfile when running in the foreground, and…

    … attempt to guess the port number
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2875 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    sstephenson committed Nov 4, 2005
  4. Added skip_before_filter/skip_after_filter for easier control of the …

    …filter chain in inheritance hierachies [DHH] Added short-hand to assert_tag so assert_tag :tag => "span" can be written as assert_tag "span" [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2873 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Nov 4, 2005
  5. 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 committed Nov 4, 2005
  6. Don't reap the spawner or reaper scripts either. Closes #2727.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy committed Nov 4, 2005
  7. Explicitly require topic from reply fixture.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy committed Nov 4, 2005
  8. Quote column names in generated SQL. Closes #2728.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2866 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy committed Nov 4, 2005
Commits on Nov 3, 2005
  1. Don't reap spawn-fcgi. Closes #2727.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy committed Nov 3, 2005
  2. Add Model.create! to match existing model.save! method. When save! ra…

    …ises RecordInvalid, you can catch the exception, retrieve the invalid record (invalid_exception.record), and see its errors (invalid_exception.record.errors).
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy committed Nov 3, 2005
  3. Added extension capabilities to has_many and has_and_belongs_to_many …

    …proxies [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Nov 3, 2005
  4. Restore the fast Numeric#blank? Closes #2714.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2853 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy committed Nov 3, 2005
Commits on Nov 2, 2005
  1. Reaper knows how to find processes even if the dispatch path is very …

    …long. Closes #2711.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy committed Nov 2, 2005
  2. 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 committed Nov 2, 2005
  3. Changed 0.blank? to false rather than true since it violates everyone…

    …'s expectation of blankness. Closes #2518, Closes #2705.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy committed Nov 2, 2005
  4. Added redirect_to :back as a short-hand for redirect_to(request.env["…

    …HTTP_REFERER"])
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Nov 2, 2005
  5. Make fcgi handler respond to TERM signals with an explicit exit

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jamis committed Nov 2, 2005
  6. Added demonstration of fixture use to the test case generated by the …

    …model generator [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2846 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    dhh committed Nov 2, 2005
  7. If specified, pass PostgreSQL client character encoding to createdb. …

    …Closes #2703.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy committed Nov 2, 2005