From 54aed2387ce790b5e2c88004ea53286680039421 Mon Sep 17 00:00:00 2001 From: Lucas Mazza Date: Wed, 28 Nov 2012 23:08:41 -0200 Subject: Fix typo in the Observers deprecation message. [ci skip] --- activerecord/lib/active_record/railtie.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/railtie.rb b/activerecord/lib/active_record/railtie.rb index c3f13b2dac..1081b82bc6 100644 --- a/activerecord/lib/active_record/railtie.rb +++ b/activerecord/lib/active_record/railtie.rb @@ -119,7 +119,7 @@ module ActiveRecord unless app.config.active_record.delete(:observers).nil? ActiveSupport::Deprecation.warn <<-EOF.strip_heredoc, [] Active Record Observers has been extracted out of Rails into a gem. - Please use callbaks or add `rails-observers` to your Gemfile to use observers. + Please use callbacks or add `rails-observers` to your Gemfile to use observers. To disable this message remove the `observers` option from your `config/application.rb` or from your initializers. -- cgit v1.2.3