aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Cache migrated versions list in Migrator and use it to fetch the latest ↵Tarmo Tänav2008-08-251-6/+8
| | | | | | | | | | | | migrated version name [#845 state:resolved] Also optimized Migrator#current_version class method to fetch only the latest version number and not all of them. With this change no matter how many migrations there are the schema_migrations table is only SELECTed from once. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ruby 1.9 compat: switch profile_options to superclass_delegating_accessorJeremy Kemper2008-08-251-8/+9
|
* Load the first and not the last has_one result when doing join-based eager ↵Tarmo Tänav2008-08-253-0/+17
| | | | | | | | | | | 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 :throughFrederick Cheung2008-08-252-2/+18
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Harmonize framework require strategy. Don't add self to load path since ↵Jeremy Kemper2008-08-256-38/+36
| | | | Rails initializer and RubyGems handle it.
* Fix preloading of has_one through associationsFrederick Cheung2008-08-252-11/+11
| | | | | | [#903 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Performance: Cache modules that extend the view context for JavaScriptGeneratorJoshua Peek2008-08-254-5/+16
|
* Include all helpers into ActionView::HelperJoshua Peek2008-08-256-54/+100
|
* strip trailing whitespaceJeremy Kemper2008-08-251-157/+157
|
* Ruby 1.9 compat: fix test error masked by old String#each behaviorJeremy Kemper2008-08-251-1/+1
|
* Work around frozen Date memoizationJeremy Kemper2008-08-252-4/+28
|
* The view context always responds to controller, check if controller ↵Joshua Peek2008-08-251-1/+1
| | | | available instead
* Base path may be nil if template is at the root of the view pathJoshua Peek2008-08-251-1/+1
|
* I18n: fix activerecord i18n test for classy backendSven Fuchs2008-08-251-1/+1
|
* Merge branch 'i18n' of git@github.com:svenfuchs/rails into i18nSven Fuchs2008-08-250-0/+0
|\
| * Update translations for pluralization key change from 'many' to 'other'Sven Fuchs2008-08-251-20/+20
| |
* | Update translations for pluralization key change from 'many' to 'other'Sven Fuchs2008-08-251-22/+22
|/
* update i18n gemSven Fuchs2008-08-252-175/+173
|
* Merge commit 'rails/master' into i18nSven Fuchs2008-08-2524-222/+704
|\
| * properly reference geminstaller config under ci dirChad Woolley2008-08-251-1/+1
| |
| * Update translations for pluralization key change from 'other' to 'many'Jeremy Kemper2008-08-241-11/+11
| |
| * Fix test to assign the module instead of a new instanceJeremy Kemper2008-08-241-1/+1
| |
| * Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-08-2411-5/+433
| |\
| | * Include the CI configuration and setup instructions.Chad Woolley2008-08-246-0/+344
| | | | | | | | | | | | This should make it easy to set up your own copy of the CI environment, and easier for us to keep ours running.
| | * Merge branch 'patches'Michael Koziarski2008-08-244-4/+88
| | |\
| | | * Rollback the transaction when a before_* callback returns false.Xavier Noria2008-08-244-4/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | Reverse the priority of the mysql commands in dbconsoleMichael Koziarski2008-08-241-1/+1
| | | |
| * | | Ruby 1.9 compat: update bundled i18n libJeremy Kemper2008-08-232-168/+174
| |/ /
| * | Merge branch 'master' into i18nJeremy Kemper2008-08-2311-42/+90
| |\ \
| | * | Ruby 1.9 compat: Hash is now flattenable, so explicitly exclude itJeremy Kemper2008-08-231-1/+1
| | | |
| | * | Ruby 1.9 compat: set source encodingJeremy Kemper2008-08-231-0/+1
| | | |
| | * | Ruby 1.9: silence some warnings for block args shadowing local varsJeremy Kemper2008-08-232-7/+7
| | | |
| | * | Ruby 1.9: constantize takes advantage of new inherit arg to const_get and ↵Jeremy Kemper2008-08-231-24/+39
| | | | | | | | | | | | | | | | const_defined?
| | * | I18n: use :other instead of :many as default key for pluralization to better ↵Sven Fuchs2008-08-232-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | conform w/ cldr pluralization rules Signed-off-by: Michael Koziarski <michael@koziarski.com>
| | * | Generate belongs_to association when generating a modelTarmo Tänav2008-08-233-1/+13
| | | |
| | * | Generate belongs_to associations automatically for 'references' types [#640 ↵Tarmo Tänav2008-08-232-0/+11
| | | | | | | | | | | | | | | | state:resolved]
| | * | New inflectors will overwrite defaults [#337 state:resolved]Peter Wagenet2008-08-232-0/+13
| | | | | | | | | | | | | | | | Signed-off-by: Tarmo Tänav <tarmo@itech.ee>
| | * | Don't set "NULL" as a constraint on nullable columns [#398 state:resolved]Tarmo Tänav2008-08-232-10/+6
| | | | | | | | | | | | | | | | This is already the default and adding it breaks SQL standards compatibility.
* | | | I18n: add aliases #t and #l to TranslationHelper#translate and #localizeSven Fuchs2008-08-251-0/+2
|/ / /
* / / I18n: use :other instead of :many as default key for pluralization to better ↵Sven Fuchs2008-08-232-12/+12
|/ / | | | | | | conform w/ cldr pluralization rules
* / Pass class through to DeprecatedConstantProxy targetTarmo Tänav2008-08-231-0/+4
|/ | | | | | | This is needed because include_all_modules_from checks calls "class" on every constant and sometimes it can hit deprecated constants which aren't even Modules, but while checking for it deprecation warnings are shown.
* Always require activesupport, even if its constant already existsTarmo Tänav2008-08-232-10/+9
| | | | | | | | | | This is needed because the existance of the ActiveSupport constant by itself does not guarantee that the whole library has been loaded. Also load the StringInquirer in the Rails#env method as the it might be called inside the initializer block before activesupport itself has been loaded.
* Clear prefix_parameters cache when setting prefixTarmo Tänav2008-08-232-0/+12
|
* coerce blank strings to nil values for boolean and integer fieldsJosh Susser2008-08-225-12/+27
| | | | [#860 state:resolved]
* Made migrations transactional for PostgreSQL [#834 state:resolved]Tarmo Tänav2008-08-226-4/+59
| | | | Patch originally from http://dev.rubyonrails.org/ticket/5470
* Merge branch 'master' into i18nJeremy Kemper2008-08-2217-22/+96
|\
| * Removed old deprecation test because the warning was removed in 1129a24Joshua Peek2008-08-221-9/+3
| |
| * Ensure :partial => @collection and :collection => @collection behaves same. ↵Ryan Bates2008-08-223-1/+15
| | | | | | | | | | | | [#884 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Fixed that rake doc:plugins to uses UTF-8. [#573 state:resolved]Chris Lloyd2008-08-221-0/+1
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * camelize(:lower) should always downcase first character. [#696 state:resolved]Amos King2008-08-223-1/+9
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>