Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[PATCH] Changes in autoload and some minor fixes

#5359

Hello!

I have removed autoloading exceptions classes, and set explict require for them where needed. Also squashed some warnings.

Changes are in my branch on github (strzalek/rails):
http://github.com/strzalek/rails/compare/rails:master...master

Reported by Łukasz Strzałkowski · August 11th, 2010 @ 09:47 PM

State: stale
Milestone: 3.1
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. Łukasz Strzałkowski
    Łukasz Strzałkowski
    • Title changed from Changes in autoload and some minor fixes to [PATCH] Changes in autoload and some minor fixes
    • Tag set to autoload, patch

    August 12th, 2010 @ 07:19 AM

  2. José Valim
    José Valim
    • Milestone set to 3.1
    • Importance changed from to Low

    I will apply your changes later when we release Rails 3 final to avoid making big changes in the code now.

    August 12th, 2010 @ 01:16 PM

  3. Łukasz Strzałkowski
    Łukasz Strzałkowski

    I did some cleaning on my branch recently. All changes for this ticket you can now find under branch autoload in my fork: http://github.com/strzalek/rails/commits/autoload

    August 28th, 2010 @ 11:28 AM

  4. José Valim
    José Valim
    • State changed from new to resolved

    Applied, except the one which remove a few errors since they are probably used by plugins/extensions.

    September 2nd, 2010 @ 10:54 AM

  5. Łukasz Strzałkowski
    Łukasz Strzałkowski

    Thanks.

    I didn't catch this becouse I wasn't even looking after this. Thought that if it is not used in core than no body care about it ;-)

    September 2nd, 2010 @ 03:12 PM

  6. José Valim
    José Valim

    Your changes broke the booting of a new rails 3 app. Could you please
    investigate or should I revert?

    September 2nd, 2010 @ 05:21 PM

  7. Łukasz Strzałkowski
    Łukasz Strzałkowski

    Jose,

    Sorry for that. When I was doing this change, I looked carefuly on tests and tried some sample app. Everything was okay.

    I've just pulled the newest revision of master, and fired it up with new, clean, rails 3 app without any problem.

    Please revert this if it's breaking booting process and if you can provide some feedback how to reproduce it, along with what error is raised during the booting I would be thankful.

    Sorry about that one more time. I will try to fix it as soon as I reprodcue it, for now I think it should be reverted as it huge blocker.

    September 2nd, 2010 @ 07:10 PM

  8. Łukasz Strzałkowski
    Łukasz Strzałkowski

    Ok, I've found the error, I'll try fix it quickly.

    September 2nd, 2010 @ 07:15 PM

  9. Łukasz Strzałkowski
    Łukasz Strzałkowski

    Please revert it for now.

    I have some freaking problems with gems and rvm localy and I'm unable to fix it now.

    September 2nd, 2010 @ 08:01 PM

  10. Repository
    Repository
    • State changed from resolved to open

    (from [599e46bf24419a429ee0bb0ea02afd48f47aa4ec]) Revert "Setup explicit requires for files with exceptions. Removed them from autoloading."

    Booting a new Rails application does not work after this commit [#5359 [PATCH] Changes in autoload and some minor fixes state:open]

    This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6.
    http://github.com/rails/rails/commit/599e46bf24419a429ee0bb0ea02afd...

    September 2nd, 2010 @ 08:11 PM

  11. José Valim
    José Valim

    Reverted! Waiting for a new patch! :)

    September 2nd, 2010 @ 08:13 PM

  12. Santiago Pastorino
    Santiago Pastorino

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.

    Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.

    February 2nd, 2011 @ 04:49 PM

  13. Santiago Pastorino
    Santiago Pastorino
    • State changed from open to stale

    February 2nd, 2011 @ 04:49 PM