1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/guides
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
..
assets [ci skip] Rails Associations examples contains ActiveRecord::Base reference instead of ApplicationRecord in images 2017-11-24 22:13:21 +05:30
bug_report_templates Revert "Specify bundler version in template files" 2017-12-22 23:07:14 +09:00
rails_guides Fix typos and add a few suggestions 2017-11-28 19:27:43 +01:00
source Simplify the implementation of custom argument serializers 2018-02-14 13:10:08 -05:00
.document
CHANGELOG.md Start Rails 6.0 development!!! 2018-01-30 18:51:17 -05:00
rails_guides.rb Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00
Rakefile Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00
w3c_validator.rb Use frozen string literal in guides/ 2017-08-13 22:04:09 +09:00