Akira Matsuda
589dd0f6c9
[Active Support] require_relative => require
...
This basically reverts 8da30ad6be
2017-10-21 22:48:27 +09:00
Koichi ITO
ac717d65a3
[Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment
2017-07-11 13:12:32 +09:00
Kir Shatrov
72950568dd
Use frozen-string-literal in ActiveSupport
2017-07-09 15:08:29 +03:00
Akira Matsuda
8da30ad6be
[Active Support] require => require_relative
2017-07-01 18:38:04 +09:00
Xavier Noria
d66e7835be
applies new string literal convention in activesupport/lib
...
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 18:10:53 +02:00
Santiago Pastorino
4a0c514eb4
AS json refactor, move to_json implementation to core_ext and a cleanup a bit the code
2010-07-01 12:04:11 -07:00
Santiago Pastorino
926ca9c102
Load JSON additions (as to_json) on active_support/all.
...
[#4730 state:committed]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-26 21:15:18 +02:00
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
David Heinemeier Hansson
1cd949006a
Fix the i18n dependency problem
2009-12-27 14:43:06 -08:00
Jeremy Kemper
5f222c524e
Remove 'core' fluff. Hookable ActiveSupport.load_all!
2009-05-20 18:12:44 -07:00