Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Initial conversion to connection pool | Nick | 2008-08-29 | 1 | -24/+15 | |
|/ | | | | | | So far so good, tests still run clean. Next steps: synchronize connection pool access and modification, and change allow_concurrency to simply switch a real lock for a null lock. | |||||
* | Make case insensitive validates_uniqueness_of use unicode aware downcase method. | Eugene Pimenov | 2008-08-29 | 1 | -0/+12 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Fix parentheses warnings | Michael Koziarski | 2008-08-29 | 1 | -1/+1 | |
| | ||||||
* | Fix NamedScope regex so methods containing "an" get delegated to ↵ | Jan De Poorter | 2008-08-29 | 1 | -0/+4 | |
| | | | | | | proxy_found. [#901 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Merge scoped :joins together instead of overwriting them. May expose scoping ↵ | Andrew White | 2008-08-28 | 1 | -2/+79 | |
| | | | | | | | | bugs in your code! [#501 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Refactored AssociationCollection#count for uniformity and Ruby 1.8.7 support. | Ernie Miller | 2008-08-28 | 1 | -0/+7 | |
| | | | | | | [#831 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Implement count limit/offset support for has_many associations | Tarmo Tänav | 2008-08-27 | 1 | -0/+6 | |
| | | | | | | [#348 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Alias included associations if needed when doing a count | Tarmo Tänav | 2008-08-27 | 1 | -0/+4 | |
| | | | | | | [#302 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Dirty: treat two changes resulting in the original value as being unchanged. | Tom Lea | 2008-08-27 | 1 | -0/+36 | |
| | | | | | | [#798 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Merge commit 'sven/i18n' | Jeremy Kemper | 2008-08-27 | 1 | -12/+7 | |
|\ | | | | | | | | | Conflicts: activesupport/lib/active_support.rb | |||||
| * | i18n: fixed failing tests after removing #populate and #store_translations | Marko Seppae | 2008-08-27 | 1 | -12/+7 | |
| | | ||||||
* | | Fix two has_one :through errors | pivotal | 2008-08-27 | 1 | -0/+9 | |
|/ | | | | | | | | * Set the association target on assignment; * Reset target to nil on reset, rather than empty array. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#895 state:committed] | |||||
* | Fix yet another implicit order dependant test | Tarmo Tänav | 2008-08-26 | 1 | -3/+3 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Just look at sql_type when testing that the correct database-specific type ↵ | Tarmo Tänav | 2008-08-26 | 1 | -4/+1 | |
| | | | | | | was used Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Include people and readers fixtures to fix test isolation error | Jeremy Kemper | 2008-08-26 | 1 | -2/+2 | |
| | ||||||
* | fix tests relying on implicit ordering | Jeremy Kemper | 2008-08-26 | 1 | -2/+3 | |
| | ||||||
* | Include mysql older than 5.1.23 in the 5.1 series in the list of those that ↵ | Tarmo Tänav | 2008-08-26 | 1 | -1/+1 | |
| | | | | | | can't handle NULL defaults Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | um.. yeah | Jeremy Kemper | 2008-08-26 | 1 | -2/+2 | |
| | ||||||
* | typo | Jeremy Kemper | 2008-08-26 | 1 | -2/+2 | |
| | ||||||
* | fix another ordering failure | Jeremy Kemper | 2008-08-26 | 1 | -1/+1 | |
| | ||||||
* | fix tests relying on implicit ordering | Jeremy Kemper | 2008-08-25 | 1 | -4/+2 | |
| | ||||||
* | add dynamic finder bang version to raise RecordNotFound | Josh Susser | 2008-08-25 | 1 | -0/+14 | |
| | | | | | | [#905 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | refactor dynamic finder name matching into its own class | Josh Susser | 2008-08-25 | 1 | -0/+42 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | ensure tests load sibling Active Support instead of a gem | Jeremy Kemper | 2008-08-25 | 1 | -0/+1 | |
| | ||||||
* | Load the first and not the last has_one result when doing join-based eager ↵ | Tarmo Tänav | 2008-08-25 | 2 | -0/+16 | |
| | | | | | | | | | | | loading This matters when the has_one is defined with an order in which case there is an expectation that the first one will be loaded. [#904 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Implement old-skool eagerloading for has_one :through | Frederick Cheung | 2008-08-25 | 1 | -0/+16 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Fix preloading of has_one through associations | Frederick Cheung | 2008-08-25 | 1 | -5/+9 | |
| | | | | | | [#903 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | strip trailing whitespace | Jeremy Kemper | 2008-08-25 | 1 | -157/+157 | |
| | ||||||
* | Ruby 1.9 compat: fix test error masked by old String#each behavior | Jeremy Kemper | 2008-08-25 | 1 | -1/+1 | |
| | ||||||
* | I18n: fix activerecord i18n test for classy backend | Sven Fuchs | 2008-08-25 | 1 | -1/+1 | |
| | ||||||
* | Fix test to assign the module instead of a new instance | Jeremy Kemper | 2008-08-24 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'patches' | Michael Koziarski | 2008-08-24 | 1 | -2/+60 | |
|\ | ||||||
| * | Rollback the transaction when a before_* callback returns false. | Xavier Noria | 2008-08-24 | 1 | -2/+60 | |
| | | | | | | | | | | | | | | Previously this would have committed the transaction but not carried out save or destroy operation. [#891 state:committed] Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | | Don't set "NULL" as a constraint on nullable columns [#398 state:resolved] | Tarmo Tänav | 2008-08-23 | 1 | -4/+4 | |
|/ | | | | This is already the default and adding it breaks SQL standards compatibility. | |||||
* | coerce blank strings to nil values for boolean and integer fields | Josh Susser | 2008-08-22 | 2 | -5/+13 | |
| | | | | [#860 state:resolved] | |||||
* | Made migrations transactional for PostgreSQL [#834 state:resolved] | Tarmo Tänav | 2008-08-22 | 1 | -0/+15 | |
| | | | | Patch originally from http://dev.rubyonrails.org/ticket/5470 | |||||
* | Merge branch 'master' into i18n | Jeremy Kemper | 2008-08-22 | 2 | -3/+36 | |
|\ | ||||||
| * | Ensure t.timestamps respects options. [#828 state:resolved] | Patrick Reagan | 2008-08-22 | 1 | -2/+35 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Fixed ordering in ↵ | Tarmo Tänav | 2008-08-22 | 1 | -1/+1 | |
| | | | | | | | | test_find_in_association_with_custom_finder_sql_and_multiple_interpolations | |||||
* | | Merge commit 'sven/i18n' into i18n | Jeremy Kemper | 2008-08-22 | 2 | -58/+339 | |
|\ \ | |/ |/| | ||||||
| * | Merge branch 'master' into i18n | Sven Fuchs | 2008-08-21 | 10 | -0/+97 | |
| |\ | ||||||
| * | | Custom error messages scope improved | Iain Hecker | 2008-08-21 | 1 | -23/+75 | |
| | | | ||||||
| * | | Locale file changed to yaml | Iain Hecker | 2008-08-20 | 1 | -1/+1 | |
| | | | ||||||
| * | | add human_name and value to ar validation #generate_message | Sven Fuchs | 2008-08-20 | 1 | -3/+3 | |
| | | | ||||||
| * | | Added :value as interpolation variable available to error messages | Iain Hecker | 2008-08-20 | 1 | -2/+2 | |
| | | | ||||||
| * | | Introduced AR::Base.human_name to validations | Iain Hecker | 2008-08-20 | 1 | -2/+2 | |
| | | | ||||||
| * | | Added Base.human_name method | Iain Hecker | 2008-08-20 | 1 | -0/+46 | |
| | | | ||||||
| * | | Cleaned up ActiveRecord i18n scoping | Iain Hecker | 2008-08-14 | 1 | -75/+80 | |
| | | | ||||||
| * | | fixing unit tests for active_record validations_i18n | Sven Fuchs | 2008-08-13 | 1 | -2/+2 | |
| | | | ||||||
| * | | fix validations_i18n tests for changed locale file format | Sven Fuchs | 2008-08-13 | 1 | -1/+1 | |
| | | |