1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activejob/lib/active_job
Rafael Mendonça França 69645cba72 Simplify the implementation of custom argument serializers
We can speed up things for the supported types by keeping the code in the
way it was.

We can also avoid to loop trough all serializers in the deserialization by
trying to access the class already in the Hash.

We could also speed up the custom serialization if we define the class
that is going to be serialized when registering the serializers, but
that will remove the possibility of defining a serialzer for a
superclass and have the subclass serialized using it.
2018-02-14 13:10:08 -05:00
..
queue_adapters [ci skip] Add a space to comment in SidekiqAdapter 2017-12-14 04:50:49 +09:00
serializers Simplify the implementation of custom argument serializers 2018-02-14 13:10:08 -05:00
arguments.rb Simplify the implementation of custom argument serializers 2018-02-14 13:10:08 -05:00
base.rb No need to require a autoloaded constant 2018-02-14 13:10:08 -05:00
callbacks.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
configured_job.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
core.rb Fix example code in ActiveJob::Core [ci skip] 2017-12-05 15:40:22 +09:00
enqueuing.rb [Active Job] require_relative => require 2017-10-21 22:48:28 +09:00
exceptions.rb Merge branch 'master' into custom-discarded-job-handling 2017-12-09 13:41:02 +00:00
execution.rb [Active Job] require_relative => require 2017-10-21 22:48:28 +09:00
gem_version.rb Start Rails 6.0 development!!! 2018-01-30 18:51:17 -05:00
logging.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
queue_adapter.rb Consolidate queue_adapter= and interpret_adapter 2018-01-05 17:18:56 +09:00
queue_adapters.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
queue_name.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
queue_priority.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
railtie.rb Add configuration to set custom serializers 2018-02-14 13:10:08 -05:00
serializers.rb Simplify the implementation of custom argument serializers 2018-02-14 13:10:08 -05:00
test_case.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
test_helper.rb Use ArgumentError instead of own error class 2017-07-20 07:38:26 +09:00
translation.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
version.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00