table_print
table_print copied to clipboard
Config is reset after printing
Given a config with an :include, eg:
tp.set Store, :include => [{:retailer => {display_method: :retailer_id}}, {:created_at => {width: 19}}, {:updated_at => {width: 19}}]
The first print will use the config and then reset the config. The second print is unconfigured.
Given a config with explicit columns, eg:
tp.set User, :id, :email, :first_name, :last_name, :zipcode, :referral_code, :sign_in_count, :referral_count, :free_referral_count
All prints will use the config.