Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Add extra hash conditions tests for named_scope | Pratik Naik | 2008-06-28 | 2 | -0/+5 | |
| | | ||||||
* | | Allow conditions on multiple tables to be specified using hash. | Pratik Naik | 2008-06-28 | 3 | -9/+37 | |
| | | | | | | | | | | | | | | | | | | Examples: User.all :joins => :items, :conditions => { :age => 10, :items => { :color => 'black' } } Item.first :conditions => { :items => { :color => 'red' } } Note : Hash key in :conditions is referring to the actual table name or the alias defined in query. | |||||
* | | Fix typo in apparently-dead will_unload? method. | Jeremy Kemper | 2008-06-27 | 1 | -1/+1 | |
| | | ||||||
* | | Ensure observer test inherits from ActiveSupport::TestCase | Pratik Naik | 2008-06-27 | 1 | -1/+1 | |
| | | ||||||
* | | Warn and uses singularized ModelName if a plural ModelName is given to ↵ | Pat George | 2008-06-27 | 2 | -1/+50 | |
| | | | | | | | | | | | | script/generate. Override with --force-plural. [#333 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | | Allow single quote (the ' character) in the middle of URL when ↵ | Cheah Chu Yeow | 2008-06-27 | 2 | -1/+2 | |
| | | | | | | | | | | | | auto_link-ing. [#471 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | | MySQL: treat integer with :limit => 11 as a display width, not byte size, ↵ | Jeremy Kemper | 2008-06-27 | 4 | -21/+29 | |
| | | | | | | | | for backward-compatibility. | |||||
* | | Make sure associated has_many/habtm objects get saved even when :validate => ↵ | Jan De Poorter | 2008-06-27 | 2 | -8/+30 | |
| | | | | | | | | | | | | false is used. [#486 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | | Cache sanitized conditions in reflection object for associations | Pratik Naik | 2008-06-27 | 2 | -1/+5 | |
| | | ||||||
* | | Extract owner_quoted_id so it can be overridden. [#292 state:committed] | Andre Arko | 2008-06-25 | 5 | -11/+15 | |
| | | ||||||
* | | Added Thin support to script/server. [#488 state:resolved] | Bob Klosinski | 2008-06-25 | 3 | -2/+39 | |
| | | ||||||
* | | Freeze ModelName cache_key also | Jeremy Kemper | 2008-06-25 | 1 | -1/+1 | |
| | | ||||||
* | | Performance: minor Column#text? and #number? speedups | Jeremy Kemper | 2008-06-25 | 1 | -2/+2 | |
| | | ||||||
* | | Set precompiled fixture load path constant to speed up tests | Joshua Peek | 2008-06-25 | 16 | -193/+183 | |
| | | ||||||
* | | Hide InlineTemplate class from ActionController and use ActionView's render API | Joshua Peek | 2008-06-25 | 2 | -8/+6 | |
| | | ||||||
* | | Made ActionView::Base#render_file private | Joshua Peek | 2008-06-25 | 8 | -28/+30 | |
| | | ||||||
* | | Consolidate CustomHandlerTest, TemplateFileTest, and TemplateObjectTest and ↵ | Joshua Peek | 2008-06-25 | 6 | -254/+142 | |
| | | | | | | | | test them at a higher level of abstraction in ViewRenderTest. | |||||
* | | Patched HTML::Document#initialize call to Node.parse so that it includes the ↵ | Jimmy Baker | 2008-06-24 | 2 | -1/+26 | |
| | | | | | | | | strict argument. [#330] | |||||
* | | Include cache key in ModelName | Jeremy Kemper | 2008-06-24 | 2 | -6/+7 | |
| | | ||||||
* | | Performance: minor Array#to_param and #to_query speedups | Jeremy Kemper | 2008-06-24 | 1 | -2/+3 | |
| | | ||||||
* | | Improve readability | Jeremy Kemper | 2008-06-24 | 2 | -9/+13 | |
| | | ||||||
* | | Test for tinyint | Jeremy Kemper | 2008-06-23 | 2 | -2/+2 | |
| | | ||||||
* | | link_to_function and button_to_function shouldn't modify their options hashes | Jeremy Kemper | 2008-06-23 | 1 | -2/+2 | |
| | | ||||||
* | | Treat any limit > 4 as bigint | Jeremy Kemper | 2008-06-23 | 1 | -6/+8 | |
| | | ||||||
* | | Allow script/about to run in production mode instead of failing with a ↵ | Cheah Chu Yeow | 2008-06-23 | 3 | -1/+5 | |
| | | | | | | | | | | | | cryptic const_missing error. [#370 state:resolved] | |||||
* | | Revert "Check for mocha gem without requiring the lib. [#403 state:resolved]" | Jeremy Kemper | 2008-06-23 | 1 | -2/+2 | |
| | | | | | | | | This reverts commit 4d5ac3f3d2e1667971752c9a4e536de1a5bec364. | |||||
* | | Check for mocha gem without requiring the lib. [#403 state:resolved] | Jeremy Kemper | 2008-06-22 | 1 | -2/+2 | |
| | | ||||||
* | | Always treat integer :limit as byte length. [#420 state:resolved] | Tarmo Tänav | 2008-06-22 | 6 | -16/+81 | |
| | | ||||||
* | | Partial updates don't update lock_version if nothing changed. [#426 ↵ | Daniel Morrison | 2008-06-22 | 4 | -0/+42 | |
| | | | | | | | | state:resolved] | |||||
* | | Fix column collision with named_scope and :joins. [#46 state:resolved] | Mark Catley | 2008-06-22 | 5 | -3/+39 | |
| | | ||||||
* | | Fixed polymorphic_url to be able to handle singleton resources. | Tammer Saleh | 2008-06-22 | 3 | -12/+60 | |
| | | | | | | | | | | | | | | Example usage: polymorphic_url([:admin, @user, :blog, @post]) # => admin_user_blog_post_url(@user, @post) [#461 state:resolved] | |||||
* | | Oops, already had a postgresql_version method! | Jeremy Kemper | 2008-06-22 | 1 | -6/+1 | |
| | | ||||||
* | | Only use DROP ... IF EXISTS for PostgreSQL 8.2 or later. [#400 state:resolved] | ian | 2008-06-22 | 1 | -1/+9 | |
| | | ||||||
* | | ActiveRecord::Migrator#run records version-state after migrating. [#369 ↵ | Michael Raidel | 2008-06-22 | 3 | -11/+21 | |
| | | | | | | | | state:resolved] | |||||
* | | Fixed that scopes defined with a string name could not be composed | Tarmo Tänav | 2008-06-22 | 3 | -0/+8 | |
| | | ||||||
* | | nix extra newline | Jeremy Kemper | 2008-06-22 | 1 | -2/+1 | |
| | | ||||||
* | | Changelog for 509374e | Jeremy Kemper | 2008-06-22 | 1 | -0/+3 | |
| | | ||||||
* | | Named bind variables can now be used with postgresql-style typecasts | Tarmo Tänav | 2008-06-22 | 2 | -3/+11 | |
| | | | | | | | | | | For example :conditions => ['stringcol::integer = :var', { :var => 10 }] will no longer raise an exception about ':integer' having a missing value. | |||||
* | | MySQL: rename_column preserves default values. [#466 state:resolved] | Diego Algorta | 2008-06-22 | 3 | -1/+37 | |
| | | ||||||
* | | Horo rdoc template | Jeremy Kemper | 2008-06-22 | 10 | -16/+630 | |
| | | ||||||
* | | Performance: javascript helper tweaks to speed up escaping and reduce object ↵ | Jeremy Kemper | 2008-06-21 | 3 | -60/+73 | |
| | | | | | | | | allocations when building options strings | |||||
* | | Everything responds to #to_param | Jeremy Kemper | 2008-06-21 | 1 | -3/+1 | |
| | | ||||||
* | | Don't assume RubyProf constants are defined | Jeremy Kemper | 2008-06-20 | 1 | -5/+5 | |
| | | ||||||
* | | Added block-handling to Enumerable#many? (Damian Janowski) [#452 state:resolved] | David Heinemeier Hansson | 2008-06-20 | 3 | -4/+11 | |
| | | ||||||
* | | true#to_param => true, so be sure to #to_s expanded cache keys | Jeremy Kemper | 2008-06-20 | 1 | -9/+9 | |
| | | ||||||
* | | Tired of seeing <foo>/run | Jeremy Kemper | 2008-06-20 | 1 | -1/+1 | |
| | | ||||||
* | | Don't profile GC runs/time by default | Jeremy Kemper | 2008-06-20 | 1 | -1/+1 | |
| | | ||||||
* | | Fall back to #to_s for cache key expansion | Jeremy Kemper | 2008-06-20 | 2 | -1/+9 | |
| | | ||||||
* | | Check whether blocks are called from erb using a special __in_erb_template ↵ | Jeremy Kemper | 2008-06-19 | 14 | -159/+204 | |
| | | | | | | | | variable visible in block binding. | |||||
* | | Move erb_trim_mode setting to the ERB template handler. Keep a ↵ | Jeremy Kemper | 2008-06-19 | 2 | -5/+9 | |
| | | | | | | | | Base.erb_trim_mode= delegator around. |