Inheriting From Built-In Ruby Types
Code: ActiveRecord, refactoring, Ruby, strings
Comments Off on Inheriting From Built-In Ruby Types
2015-05-09: While I still want to break down ActiveRecord models, I now disagree with the idea of inheriting from Ruby’s stdlib types and think they should always be wrapped. My RailsConf 2015 talk expands on the thinking below (especially about immutability!) and touches on reasons why not to inherit from stdlib.