# DEPRECATION WARNING: service is deprecated

**URL:** <https://www.ruby-forum.com/t/deprecation-warning-service-is-deprecated/116933>\
**Category:** Rails\
**Created:** [October 11, 2007, 12:04pm UTC](https://www.ruby-forum.com/t/deprecation-warning-service-is-deprecated/116933 "2007-10-11T12:04:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valehru](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/e36b37/32.png) [@Valehru](https://www.ruby-forum.com/u/Valehru)\
**Post date:** [October 11, 2007, 12:04pm UTC](https://www.ruby-forum.com/t/deprecation-warning-service-is-deprecated/116933/1 "2007-10-11T12:04:45Z")

</div>

Updating an old rails app to 1.8.6 and rails 1.2.3. Getting the  
following error:

DEPRECATION WARNING: service is deprecated and will be removed from  
Rails 2.0 See [Ruby on Rails — A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.](http://www.rubyonrails.org/deprecation) for details.  
(called from C:/dev\_new/app/controllers/application.rb:9)

The line in question is

9: service :notification

What can I do to replace it or upgrade it? It doesn’t give any hint  
and I have been scouring the web for ages.
