æ¦è¦ DCI(Data Context Interaction)ã使ã£ã¦ã¿ã¾ããã ä¾ã¯è³¼å ¥ããæã®ãã©ã¡ã¼ã¿ã¼ãä½æããå¦çã§ãè¤æ°ã®ã¢ãã«(User, Cart, Item)ã使ã£ã¦å¦çãããªãã¨ãããªãå ´åã®æã§ãã DCIã使ããªãå ´å 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 class User has_many :carts def payment_hash { full_name: "#{last_name} #{first_name}", postal_code: "#{zip1}-#{zip2}" } end end class Item belongs_to :cart def payment_hash { item_id:
{{#tags}}- {{label}}
{{/tags}}