Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | | | | | | Moved Logger extensions into core_ext | Joshua Peek | 2008-08-27 | 3 | -129/+128 | |
| | | | | | | | | | ||||||
| | * | | | | | | | Fix Ruby's Time marshaling bug in pre-1.9 versions of Ruby: utc instances ↵ | Luca Guidi | 2008-08-27 | 3 | -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 generator | Michael Koziarski | 2008-08-27 | 1 | -0/+1 | |
| | | | | | | | | | ||||||
| | * | | | | | | | Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom. | Hongli Lai (Phusion | 2008-08-27 | 7 | -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 errors | pivotal | 2008-08-27 | 3 | -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 Peek | 2008-08-26 | 3 | -21/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActionView::Base#helpers | |||||
| | * | | | | | | defined? has no bounds | Joshua Peek | 2008-08-26 | 1 | -1/+1 | |
| | | | | | | | | ||||||
| | * | | | | | | Require missing libraries and check for defined ActionController constant so ↵ | Joshua Peek | 2008-08-26 | 6 | -4/+30 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActionView can be used standalone | |||||
| | * | | | | | | Performance: reduce garbage created by ↵ | Joshua Peek | 2008-08-26 | 1 | -1/+8 | |
| | | |_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | ActiveRecord::Calculations#column_alias_for | |||||
| | * | | | | | Cache JavaScriptGenerator's helper module set on the template | Joshua Peek | 2008-08-26 | 4 | -16/+20 | |
| | | | | | | | ||||||
| | * | | | | | The 'rails' command was broken by the last commit. Fix that. | Hongli Lai (Phusion | 2008-08-26 | 3 | -3/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
| | * | | | | | When an unexpected exception is caught, tell the administrator to read the ↵ | Hongli Lai (Phusion | 2008-08-26 | 2 | -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 test | Tarmo Tänav | 2008-08-26 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
| | * | | | | | Print the queries that were executed if assert_queries fails | Tarmo Tänav | 2008-08-26 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | * | | | | | Be more careful | Michael Koziarski | 2008-08-26 | 1 | -1/+0 | |
| | | | | | | | ||||||
| | * | | | | | Re enable CI for postgresql | Michael Koziarski | 2008-08-26 | 1 | -7/+7 | |
| | | | | | | | ||||||
| | * | | | | | 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> | |||||
| | * | | | | | Merge branch 'master' of git@github.com:rails/rails | Jeremy Kemper | 2008-08-26 | 4 | -7/+8 | |
| | |\ \ \ \ \ | ||||||
| | | * | | | | | 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 | |
| | | | | | | | | ||||||
| | | * | | | | | PostgreSQL: pg driver expects nil instead of empty string for missing user/pass | Jeremy Kemper | 2008-08-26 | 1 | -2/+2 | |
| | | | | | | | | ||||||
| | | * | | | | | Merge branch 'master' of git@github.com:rails/rails | Jeremy Kemper | 2008-08-26 | 1 | -1/+1 | |
| | | |\ \ \ \ \ | ||||||
| | | | * \ \ \ \ | Merge branch 'master' of git@github.com:rails/rails | Jeremy Kemper | 2008-08-26 | 1 | -1/+1 | |
| | | | |\ \ \ \ \ | ||||||
| | | | | * | | | | | use double quotes | Chad Woolley | 2008-08-26 | 1 | -1/+1 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | Back to fetching all versions in ruby instead of letting SQL do it as it's ↵ | Tarmo Tänav | 2008-08-26 | 1 | -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änav | 2008-08-26 | 1 | -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ä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 | 3 | -1/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [#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 | 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 | |
| | |\ \ \ \ \ |