aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | Moved Logger extensions into core_extJoshua Peek2008-08-273-129/+128
| | | | | | | | |
| | * | | | | | | Fix Ruby's Time marshaling bug in pre-1.9 versions of Ruby: utc instances ↵Luca Guidi2008-08-273-1/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are now correctly unmarshaled with a utc zone instead of the system local zone [#900 state:resolved]
| | * | | | | | | Formally deprecate the old secret key generatorMichael Koziarski2008-08-271-0/+1
| | | | | | | | |
| | * | | | | | | Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom.Hongli Lai (Phusion2008-08-277-161/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SecureRandom has a few minor security enhancements and can be used as a drop-in replacement Signed-off-by: Michael Koziarski <michael@koziarski.com> [#913 state:committed]
| | * | | | | | | Fix two has_one :through errorspivotal2008-08-273-3/+15
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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]
| | * | | | | | Store application and other context specific helper modules in ↵Joshua Peek2008-08-263-21/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActionView::Base#helpers
| | * | | | | | defined? has no boundsJoshua Peek2008-08-261-1/+1
| | | | | | | |
| | * | | | | | Require missing libraries and check for defined ActionController constant so ↵Joshua Peek2008-08-266-4/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActionView can be used standalone
| | * | | | | | Performance: reduce garbage created by ↵Joshua Peek2008-08-261-1/+8
| | | |_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | ActiveRecord::Calculations#column_alias_for
| | * | | | | Cache JavaScriptGenerator's helper module set on the templateJoshua Peek2008-08-264-16/+20
| | | | | | |
| | * | | | | The 'rails' command was broken by the last commit. Fix that.Hongli Lai (Phusion2008-08-263-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| | * | | | | When an unexpected exception is caught, tell the administrator to read the ↵Hongli Lai (Phusion2008-08-262-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | log file for more information about the error. This should make things less confusing for developers who are new to Rails. Signed-off-by: Michael Koziarski <michael@koziarski.com>
| | * | | | | Fix yet another implicit order dependant testTarmo Tänav2008-08-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| | * | | | | Print the queries that were executed if assert_queries failsTarmo Tänav2008-08-261-1/+1
| | | | | | |
| | * | | | | Be more carefulMichael Koziarski2008-08-261-1/+0
| | | | | | |
| | * | | | | Re enable CI for postgresqlMichael Koziarski2008-08-261-7/+7
| | | | | | |
| | * | | | | Just look at sql_type when testing that the correct database-specific type ↵Tarmo Tänav2008-08-261-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | was used Signed-off-by: Michael Koziarski <michael@koziarski.com>
| | * | | | | Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-08-264-7/+8
| | |\ \ \ \ \
| | | * | | | | Include people and readers fixtures to fix test isolation errorJeremy Kemper2008-08-261-2/+2
| | | | | | | |
| | | * | | | | fix tests relying on implicit orderingJeremy Kemper2008-08-261-2/+3
| | | | | | | |
| | | * | | | | PostgreSQL: pg driver expects nil instead of empty string for missing user/passJeremy Kemper2008-08-261-2/+2
| | | | | | | |
| | | * | | | | Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-08-261-1/+1
| | | |\ \ \ \ \
| | | | * \ \ \ \ Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-08-261-1/+1
| | | | |\ \ \ \ \
| | | | | * | | | | use double quotesChad Woolley2008-08-261-1/+1
| | | | | | | | | |
| | * | | | | | | | Back to fetching all versions in ruby instead of letting SQL do it as it's ↵Tarmo Tänav2008-08-261-5/+6
| | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | difficult to get all databases to convert the text value to a number with the same SQL Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| | * / / / / / / Create mysql binary_fields table with latin1 character set as with utf8 all ↵Tarmo Tänav2008-08-261-2/+2
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the limits would have to be divided by 3 to get the expected text types Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| | * / / / / / Include mysql older than 5.1.23 in the 5.1 series in the list of those that ↵Tarmo Tänav2008-08-261-1/+1
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can't handle NULL defaults Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| | * | | | | um.. yeahJeremy Kemper2008-08-261-2/+2
| | | | | | |
| | * | | | | typoJeremy Kemper2008-08-261-2/+2
| | | | | | |
| | * | | | | fix another ordering failureJeremy Kemper2008-08-261-1/+1
| | | | | | |
| | * | | | | fix tests relying on implicit orderingJeremy Kemper2008-08-251-4/+2
| | | | | | |
| | * | | | | add dynamic finder bang version to raise RecordNotFoundJosh Susser2008-08-253-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [#905 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| | * | | | | refactor dynamic finder name matching into its own classJosh Susser2008-08-254-72/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| | * | | | | ensure tests load sibling Active Support instead of a gemJeremy Kemper2008-08-251-0/+1
| | | | | | |
| | * | | | | Use DECIMAL instead of INTEGER when casting as mysql doesn't work with just ↵Tarmo Tänav2008-08-251-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ä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
| | |\ \ \ \ \