Skip to content

Commit

Permalink
added delayed_job to known issues section in README (see #58)
Browse files Browse the repository at this point in the history
I'm not actually closing the issue yet because I'm not 100% sure the guidance
is right (need to take another look at delayed_job; it's been a while).
  • Loading branch information
dtao committed Apr 10, 2014
1 parent 9981ee4 commit 8ec1795
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ Also be aware that some Ruby libraries, particularly those requiring inter-proce
1. set the `:deserialize_symbols` option to `true`,
2. whitelist some of the types in your serialized data via `SafeYAML.whitelist!` or the `:whitelisted_tags` option, or
3. both
- [**delayed_job**](https://github.com/collectiveidea/delayed_job): Uses YAML to serialize the objects on which delayed methods are invoked (with `delay`). The safest solution in this case is to use `SafeYAML.whitelist!` to whitelist the types you need to serialize.
- [**Guard**](https://github.com/guard/guard): Uses YAML as a serialization format for notifications. The data serialized uses symbolic keys, so setting `SafeYAML::OPTIONS[:deserialize_symbols] = true` is necessary to allow Guard to work.
- [**sidekiq**](https://github.com/mperham/sidekiq): Uses a YAML configiuration file with symbolic keys, so setting `SafeYAML::OPTIONS[:deserialize_symbols] = true` should allow it to work.

Expand Down

2 comments on commit 8ec1795

@jimmydjwu83
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gem "safe_yaml"

@jimmydjwu83
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+- [**delayed_job**](https://github.com/collectiveidea/delayed_job): Uses YAML to serialize the objects on which delayed methods are invoked (with `delay`). The safest solution in this case is to use `SafeYAML.whitelist!` to whitelist the types you need to serialize.

Please sign in to comment.