method

load_observers

Importance_1
v2.3.8 - Show latest stable - 1 note - Class: Rails::Initializer
load_observers() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Show source
Register or log in to add new notes.
August 6, 2008
1 thank

not loaded if any gems missing at startup

similar to http://rails-doc.org/rails/Rails/Initializer/load_application_initializers#95-initializers

observers and custom initializers aren’t loaded if any gems are missing -

current behaviour isn’t great - as it’s not intuitive - and you get no warning.

here’s a lighthouse ticket i created a while ago about this.

http://rails.lighthouseapp.com/projects/8994/tickets/618-initializer-doesnt-load-observers-initializers-if-unable-to-load-a-gem#ticket-618-1