Skip to content

Commit 0f71064

Browse files
fotossteveklabnik
authored andcommitted
Explained in README.markdown that any hash passed as argument will have its keys stringified
1 parent 633e3d6 commit 0f71064

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ pull from the DB or cache.
177177
If your jobs were run against marshaled objects, they could
178178
potentially be operating on a stale record with out-of-date information.
179179

180+
Note that if you queue a job with a hash as an argument the hash
181+
will have its keys stringified when decoded. If you use ActiveSupport
182+
you can call `symbolize_keys!` on the hash to symbolize the keys again
183+
or you can access the values using strings as keys.
180184

181185
### send_later / async
182186

0 commit comments

Comments
 (0)