Flowdock
method

load_observers

Importance_1
Ruby on Rails latest stable (v4.0.2) - 1 note - Class: Rails::Initializer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

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