- 17 12月, 2011 2 次提交
-
-
由 Sergey Nartimov 提交于
-
由 Xavier Noria 提交于
-
- 16 12月, 2011 16 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Allows two models to use the same table but have different primary keys.
-
由 José Valim 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
Move delegation reponsibilities of Relation to a module. Also precompile method missing calls for rofscale.
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
Clean up the cache before the request in case we are running in the reload_classes_only_on_change schema.
-
由 José Valim 提交于
-
- 15 12月, 2011 9 次提交
-
-
由 Jon Leighton 提交于
-
由 Andrew Kaspick 提交于
Allow nested attributes in associations to update values in it's owner object. Fixes a regression from 3.0.x
-
由 Aaron Patterson 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Alexander 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
- 14 12月, 2011 5 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
With transactional fixtures enabled, the session records would end up in @_current_transaction_records, and at the end of the transaction, methods would be called on them that would trigger method_missing and trigger attribute methods to be generated. However, at this point the sessions table would not exist, and the columns were not cached, so an exception would be raised because we can't find the columns to generate attribute methods for. Not sure exactly why this didn't crop up before but there have been changes to the schema cache code and perhaps that means that column data that was cached previously at that point is now uncached.
-
由 Jon Leighton 提交于
It was a bad idea to rescue exceptions here. This can interfere with transaction rollbacks which seems to be the cause of current CI failure. Instead, each adapter should implement its own DB-specific O(1) implementation, and we fall back on the generic, slower, implementation otherwise.
-
- 13 12月, 2011 5 次提交
-
-
由 José Valim 提交于
-
由 Aaron Patterson 提交于
-
由 José Valim 提交于
This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3
-
由 Brian Durand 提交于
Add ActiveSupport::Cache::NullStore to expose caching interface without actually caching for development and test environments.
-
由 clst 提交于
because with select p.* you can no longer use count(). Using count will result in an SQL error message.
-
- 12 12月, 2011 1 次提交
-
-
由 clst 提交于
people.* will not work when the alias is named p
-
- 11 12月, 2011 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-