Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. It is flexible, offers heuristic parsing, and additionally provides extensive support for IRIs and URI templates.
This gem gives every ActiveRecord::Base object the possibility to do a deep clone that includes user specified associations.