Skip to content

Commit

Permalink
Tweak the note so upgraders notice
Browse files Browse the repository at this point in the history
Fixes #711
  • Loading branch information
albus522 committed Jan 16, 2015
1 parent ca228c6 commit 5c24258
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,23 @@ running the following command:
rails generate delayed_job:active_record
rake db:migrate

In Rails 4.2 set the queue_adapter in config/application.rb
For Rails 4.2, see [below](#rails-4-2)

Development
===========
In development mode, if you are using Rails 3.1+, your application code will automatically reload every 100 jobs or when the queue finishes.
You no longer need to restart Delayed Job every time you update your code in development.

Rails 4.2
=========
Set the queue_adapter in config/application.rb

```ruby
config.active_job.queue_adapter = :delayed_job
```

See the [rails guide](http://guides.rubyonrails.org/active_job_basics.html#setting-the-backend) for more details.

Development
===========
In development mode, if you are using Rails 3.1+, your application code will automatically reload every 100 jobs or when the queue finishes.
You no longer need to restart Delayed Job every time you update your code in development.

Rails 4
=======
If you are using the protected_attributes gem, it must appear before delayed_job in your gemfile.
Expand Down

0 comments on commit 5c24258

Please sign in to comment.