i was wondering if there is any way to just skip attributes having nil
values when to_xml or to_json on ActiveRecord.
The default behavior is to include a nil value:
Is there an option way to make this value just not appear ? Or should
it be a hack in the serialization itself ?