Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor dynamic finder name matching into its own class | Josh Susser | 2008-08-25 | 4 | -72/+125 |
| | | | | 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 |
| | |||||
* | Use DECIMAL instead of INTEGER when casting as mysql doesn't work with just ↵ | Tarmo Tänav | 2008-08-25 | 1 | -3/+8 |
| | | | | | | | | "INTEGER" and other databases don't like "UNSIGNED" which mysql requires And don't mask exceptions. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Cache migrated versions list in Migrator and use it to fetch the latest ↵ | Tarmo Tänav | 2008-08-25 | 1 | -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_accessor | Jeremy Kemper | 2008-08-25 | 1 | -8/+9 |
| | |||||
* | Load the first and not the last has_one result when doing join-based eager ↵ | Tarmo Tänav | 2008-08-25 | 3 | -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 :through | Frederick Cheung | 2008-08-25 | 2 | -2/+18 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Harmonize framework require strategy. Don't add self to load path since ↵ | Jeremy Kemper | 2008-08-25 | 6 | -38/+36 |
| | | | | Rails initializer and RubyGems handle it. | ||||
* | Fix preloading of has_one through associations | Frederick Cheung | 2008-08-25 | 2 | -11/+11 |
| | | | | | | [#903 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Performance: Cache modules that extend the view context for JavaScriptGenerator | Joshua Peek | 2008-08-25 | 4 | -5/+16 |
| | |||||
* | Include all helpers into ActionView::Helper | Joshua Peek | 2008-08-25 | 6 | -54/+100 |
| | |||||
* | 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 |
| | |||||
* | Work around frozen Date memoization | Jeremy Kemper | 2008-08-25 | 2 | -4/+28 |
| | |||||
* | The view context always responds to controller, check if controller ↵ | Joshua Peek | 2008-08-25 | 1 | -1/+1 |
| | | | | available instead | ||||
* | Base path may be nil if template is at the root of the view path | Joshua Peek | 2008-08-25 | 1 | -1/+1 |
| | |||||
* | I18n: fix activerecord i18n test for classy backend | Sven Fuchs | 2008-08-25 | 1 | -1/+1 |
| | |||||
* | Merge branch 'i18n' of git@github.com:svenfuchs/rails into i18n | Sven Fuchs | 2008-08-25 | 0 | -0/+0 |
|\ | |||||
| * | Update translations for pluralization key change from 'many' to 'other' | Sven Fuchs | 2008-08-25 | 1 | -20/+20 |
| | | |||||
* | | Update translations for pluralization key change from 'many' to 'other' | Sven Fuchs | 2008-08-25 | 1 | -22/+22 |
|/ | |||||
* | update i18n gem | Sven Fuchs | 2008-08-25 | 2 | -175/+173 |
| | |||||
* | Merge commit 'rails/master' into i18n | Sven Fuchs | 2008-08-25 | 24 | -222/+704 |
|\ | |||||
| * | properly reference geminstaller config under ci dir | Chad Woolley | 2008-08-25 | 1 | -1/+1 |
| | | |||||
| * | Update translations for pluralization key change from 'other' to 'many' | Jeremy Kemper | 2008-08-24 | 1 | -11/+11 |
| | | |||||
| * | Fix test to assign the module instead of a new instance | Jeremy Kemper | 2008-08-24 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' of git@github.com:rails/rails | Jeremy Kemper | 2008-08-24 | 11 | -5/+433 |
| |\ | |||||
| | * | Include the CI configuration and setup instructions. | Chad Woolley | 2008-08-24 | 6 | -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 Koziarski | 2008-08-24 | 4 | -4/+88 |
| | |\ | |||||
| | | * | Rollback the transaction when a before_* callback returns false. | Xavier Noria | 2008-08-24 | 4 | -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 dbconsole | Michael Koziarski | 2008-08-24 | 1 | -1/+1 |
| | | | | |||||
| * | | | Ruby 1.9 compat: update bundled i18n lib | Jeremy Kemper | 2008-08-23 | 2 | -168/+174 |
| |/ / | |||||
| * | | Merge branch 'master' into i18n | Jeremy Kemper | 2008-08-23 | 11 | -42/+90 |
| |\ \ | |||||
| | * | | Ruby 1.9 compat: Hash is now flattenable, so explicitly exclude it | Jeremy Kemper | 2008-08-23 | 1 | -1/+1 |
| | | | | |||||
| | * | | Ruby 1.9 compat: set source encoding | Jeremy Kemper | 2008-08-23 | 1 | -0/+1 |
| | | | | |||||
| | * | | Ruby 1.9: silence some warnings for block args shadowing local vars | Jeremy Kemper | 2008-08-23 | 2 | -7/+7 |
| | | | | |||||
| | * | | Ruby 1.9: constantize takes advantage of new inherit arg to const_get and ↵ | Jeremy Kemper | 2008-08-23 | 1 | -24/+39 |
| | | | | | | | | | | | | | | | | const_defined? | ||||
| | * | | I18n: use :other instead of :many as default key for pluralization to better ↵ | Sven Fuchs | 2008-08-23 | 2 | -12/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | conform w/ cldr pluralization rules Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
| | * | | Generate belongs_to association when generating a model | Tarmo Tänav | 2008-08-23 | 3 | -1/+13 |
| | | | | |||||
| | * | | Generate belongs_to associations automatically for 'references' types [#640 ↵ | Tarmo Tänav | 2008-08-23 | 2 | -0/+11 |
| | | | | | | | | | | | | | | | | state:resolved] | ||||
| | * | | New inflectors will overwrite defaults [#337 state:resolved] | Peter Wagenet | 2008-08-23 | 2 | -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änav | 2008-08-23 | 2 | -10/+6 |
| | | | | | | | | | | | | | | | | This is already the default and adding it breaks SQL standards compatibility. | ||||
* | | | | I18n: add aliases #t and #l to TranslationHelper#translate and #localize | Sven Fuchs | 2008-08-25 | 1 | -0/+2 |
|/ / / | |||||
* / / | I18n: use :other instead of :many as default key for pluralization to better ↵ | Sven Fuchs | 2008-08-23 | 2 | -12/+12 |
|/ / | | | | | | | conform w/ cldr pluralization rules | ||||
* / | Pass class through to DeprecatedConstantProxy target | Tarmo Tänav | 2008-08-23 | 1 | -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 exists | Tarmo Tänav | 2008-08-23 | 2 | -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 prefix | Tarmo Tänav | 2008-08-23 | 2 | -0/+12 |
| | |||||
* | coerce blank strings to nil values for boolean and integer fields | Josh Susser | 2008-08-22 | 5 | -12/+27 |
| | | | | [#860 state:resolved] | ||||
* | Made migrations transactional for PostgreSQL [#834 state:resolved] | Tarmo Tänav | 2008-08-22 | 6 | -4/+59 |
| | | | | Patch originally from http://dev.rubyonrails.org/ticket/5470 | ||||
* | Merge branch 'master' into i18n | Jeremy Kemper | 2008-08-22 | 17 | -22/+96 |
|\ | |||||
| * | Removed old deprecation test because the warning was removed in 1129a24 | Joshua Peek | 2008-08-22 | 1 | -9/+3 |
| | |