1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

21 commits

Author SHA1 Message Date
Francesco Rodriguez
bc7ac33846 add :nodoc: to internal implementations [ci skip] 2012-06-22 16:29:59 -05:00
Aaron Patterson
25f1d5da37 use tsort_each to avoid intermediary array 2012-03-30 20:14:08 -07:00
José Valim
d68884f4fd :group => :assets should only run in the assets environment. 2011-10-02 22:08:33 +02:00
José Valim
eb367afeed rake assets:precompile loads the application but does not initialize it.
To the app developer, this means configuration add in
config/initializers/* will not be executed.

Plugins developers need to special case their initializers that are
meant to be run in the assets group by adding :group => :assets.

Conflicts:

	railties/CHANGELOG
	railties/test/application/assets_test.rb
2011-09-24 03:17:23 +02:00
José Valim
e061a12a15 Remove run_initializers from class methods. 2010-06-24 11:40:22 +02:00
Jeremy Kemper
5eb3b4d9a7 Fix initializable tests 2010-06-24 02:16:59 -07:00
Jeremy Kemper
9f7874ac41 Move Collection responsibility from application to initializable 2010-06-24 02:13:08 -07:00
Jeremy Kemper
cdb8609c64 Speed up boot by tsorting as infrequently as possible 2010-06-24 02:04:00 -07:00
Paul Rosania
766e857bea tsort-based dependency resolution for initializers
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-01-29 19:25:58 -08:00
José Valim
5d07869245 Ensure all initializers are collections. 2010-01-26 00:08:08 +01:00
José Valim
98240c49b0 Get rid of initializers global and create i18n railtie. 2010-01-23 01:29:29 +01:00
Carlhuda
fa8dfc7d01 Raise an exception if an initializer is defined without a block 2009-12-23 15:16:38 -08:00
Joshua Peek
f70079efb1 Fix warnings in railties configuration and initializeable 2009-12-14 15:42:48 -06:00
Carlhuda
abfc4dad3e Remove global Rails initializers 2009-12-02 11:35:47 -08:00
Yehuda Katz + Carl Lerche
82b9b151ff Refactor plugins 2009-11-11 18:09:16 -08:00
Yehuda Katz + Carl Lerche
4369426993 Add the ability to merge initializers from various objects in order. 2009-11-05 14:45:53 -08:00
Yehuda Katz + Carl Lerche
897164ddb7 Conceptually unify instance & global initializers 2009-11-05 14:44:29 -08:00
Yehuda Katz
86596975be Tests pass again 2009-10-27 19:05:47 -07:00
Yehuda Katz + Carl Lerche
df95f16570 Update initializable 2009-10-27 17:01:33 -07:00
Carl Lerche
e4d7e5090c Moving more initializers into the application object 2009-10-08 12:31:09 -07:00
Carl Lerche
6d6ae0841c Start moving the initializers into the application object 2009-10-08 12:31:09 -07:00