1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
wycats 39d6f9e112 Make many parts of Rails lazy. In order to facilitate this,
add lazy_load_hooks.rb, which allows us to declare code that
should be run at some later time. For instance, this allows
us to defer requiring ActiveRecord::Base at boot time purely
to apply configuration. Instead, we register a hook that should
apply configuration once ActiveRecord::Base is loaded.

With these changes, brings down total boot time of a
new app to 300ms in production and 400ms in dev.

TODO: rename base_hook
2010-03-07 06:24:30 -08:00
..
assets
cases Make many parts of Rails lazy. In order to facilitate this, 2010-03-07 06:24:30 -08:00
connections Remove support for SQLite 2. 2009-08-17 14:54:34 +01:00
fixtures Add inverse polymorphic association support. [#3520 state:resolved] 2009-12-28 15:12:13 +01:00
migrations Made migrations transactional for PostgreSQL [#834 state:resolved] 2008-08-22 14:46:25 -07:00
models Fix a bug where default_scope was overriding attributes given on model initialization [#3218 status:resolved] 2010-02-26 11:09:43 +01:00
schema PostgreSQLAdapter: set time_zone to UTC when Base.default_timezone == :utc so that Postgres doesn't incorrectly offset-adjust values inserted into TIMESTAMP WITH TIME ZONE columns [#3777 state:resolved] 2010-01-25 20:57:07 -06:00
config.rb