Monthly December 2013

Serialization & Deserialization in Ruby

Using YAML

marshalled = YAML.dump(object)
unmarshaled = YAML.load(marshalled)

Questions of the month

  • What is the usage of eigenclass in Ruby?

References:

  1. Serializing (And Deserializing) Objects With Ruby
  2. Rails 4 code concerns in ActiveRecord models
  3. Define Custom Callbacks for ActiveRecord and More
  4. How to test mailers in Rails 3 with RSpec
  5. Salesforce OAuth2 Authentication With Active Admin
  6. 写出好的 commit message
  7. Capistrano Version 3 - 7 reasons to be excited about deployment
  8. So Funny. Nyan Cat RSpec Formatter
  9. How to rename a database in mysql

Share this article