If you use MongoMapper or Mongoid (or anything other than ActiveRecord) and recently upgraded to Rails
3.1.0.rc5, you may have noticed that the asset pipeline stopped working even thought it was working fine in
3.1.0.rc4. That’s because in
sprockets/railtie require is now explicit.
require 'sprockets/railtie' to your
config/application.rb file and you should be golden. Like this:
# config/application.rb # require 'rails/all' require 'action_controller/railtie' require 'action_mailer/railtie' require 'active_resource/railtie' require 'sprockets/railtie'