> I think it's so some local variables are available in the init.rb > file: directory, lib_path, etc. Actually, they're now methods of the > Rails::Plugin class.
This suggests that you could refactor it, but you can't actually remove it completely, because it's also used in the code which brings in environment files. The code is kinda repetitive: eval(IO.read(init_path), binding, init_path) # plugins eval(IO.read(configuration.environment_path), binding, configuration.environment_path) # env files So I made a tiny refactoring patch: http://dev.rubyonrails.org/ticket/9128 Gracias senores, Giles --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
