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

13 commits

Author SHA1 Message Date
Mike Pack
ec3134739c Allow Pathnames to be added to eager load paths 2013-11-11 11:36:44 -07:00
wangjohn
55d708d597 Calls to the application constant have been refactored to use
Rails.application when drawing routes and creating other configurations
on the application.
2013-06-10 20:59:37 -07:00
Vipul A M
8134c26640 initialize instead of assert to fix warning 2013-04-11 21:26:36 +05:30
Vipul A M
a8df5bdc5d Fix some typos 2013-03-24 19:05:41 +05:30
Andrew White
9d9b22f47a Revert "Deprecate the eager_load_paths configuration"
Because of the possibility of lib being unintentionally eager loaded
it's been agreed that we'll leave autoload paths and eager load paths
separate for Rails 4.0.

This reverts commit 0757b3388f.

Conflicts:
	railties/CHANGELOG.md
2013-02-19 07:22:37 +00:00
Andrew White
0757b3388f Deprecate the eager_load_paths configuration
Since the default in Rails 4.0 is to run in 'threadsafe' mode we need
to eager load all of the paths in `autoload_paths` so we alias
`eager_load_paths` to it. This may have unintended consequences if
you have added 'lib' to `autoload_paths` such as loading unneeded
code or code intended only for development and/or test environments.
If this applies to your application you should thoroughly check what
is being eager loaded.
2013-01-24 23:54:41 +00:00
Aaron Patterson
8f309e3105 convert railties to use AS::TestCase 2012-01-05 17:30:17 -08:00
Jon Leighton
62570e8626 Solve the RAILS_ENV problem in the railties tests in a more generic way 2011-06-06 13:54:05 +01:00
Jon Leighton
f9b41237c8 load_path_test.rb is also dependent on RAILS_ENV=development 2011-06-05 18:27:52 +01:00
José Valim
312f433241 Clear DescendantsTracker on each request. 2010-06-19 17:51:44 +02:00
José Valim
5a0d73f17c Add lib to load paths when application is inherited to be able to load lib code during configuration. 2010-06-02 00:48:16 +02:00
José Valim
e7418ab63c Add more tests to some key points in Railties.
Signed-off-by: Carl Lerche <carllerche@mac.com>
2010-01-28 10:28:41 -08:00
José Valim
1dca7ebc93 Refactor railties test, break huge files in smaller chunks and move initializers to application folder. 2010-01-26 13:57:11 +01:00