Ruby on Railsã§æ¡ç¨ããã¦ããERBï¼eRubyã®å®è£
ï¼ãããã«ãã£ã¦ï¼HTMLå
ã«Rubyã³ã¼ããè¨è¿°ãããã¨ã§ï¼åçãªã³ã³ãã³ããåºåãããã¨ãå¯è½ã¨ãªã£ã¦ããã ããã¤ãã®ãµã¤ããæ¸ç±ãè¦ãªããRoRã¢ããªã±ã¼ã·ã§ã³ã試ãã¦ããã¨ããï¼ä»¥ä¸ã®ç¹ã«æ°ãã¤ããã ã%>ãã¨ã-%>ãï¼ä½ãéãã®ãï¼ ãã¤ãã¹è¨å·ãä»ãã¦ããå ´åã¨ä»ãã¦ããªãå ´åããããä¾ãã°ï¼ âeditâ, :id => user.id -%> ã¨ãã£ãããã«ã ä¸è¨ã®ã³ã¼ãã®å ´åï¼ãã¤ãã¹è¨å·ãåé¤ãã¦å®è¡ãã¦ãï¼ä½ãåä½ã«å¤åã¯ãªããERBã®å¦ççµæã«é¢ãã¦ãï¼åä¸ã®ãã®ã§ããã ãã®çåã¯ï¼ä»¥ä¸ã®ãµã¤ãã解çãæãã¦ãããã ã æ¨æºæ·»ä»ã©ã¤ãã©ãªç´¹ä» ã第 10 åã ERBã- Rubyist Magazine ãªãã»ã©ï¼trim_modeã¨ããæ©è½ã®ããã®ãã¤ãã¹è¨å·ã ã£ãããã ãä¾ãã°ï¼ ã¨
{{#tags}}- {{label}}
{{/tags}}