2011å¹´06æ14æ¥10:53 Ruby Railsã§ç°¡åã«æ¥æé¸æãã§ããdatetime_selectã¡ã½ããã®ä½¿ãæ¹ãã¾ã¨ãã¦ã¿ã¾ãã æè¿ãæ¥æé¸æã®ããã«ãã datetime_select ã¡ã½ãããå©ç¨ããã®ã§ããããã¾ãã¡ä½¿ãæ¹ãããã£ã¦ããªãã£ãã®ã§ãªãã·ã§ã³ãã¾ã¨ãã¦ã¿ã¾ããã¡ãªã¿ã« date_select ã¨ã time_select ã¿ãããªã®ãããã¾ãï¼ãããï¼ã 以ä¸ãRails 3.0.7 ã§åä½ç¢ºèªãè¡ã£ã¦ãã¾ãã åºæ¬å½¢ï¼ãªãã·ã§ã³ç¡ãï¼ããã ãã§ããã¡ãã使ããã¨ãã§ãã¾ããã ãã©ããã ãã ã¨ããããã¨ä¸ä¾¿ãªã®ã§ãã®è¾ºã¯ãªãã·ã§ã³ã§ã»ãã»ãããããã§ãã = form_for :obj do |f| = f.datetime_select :start_at æãæ°å表è¨ã«ãã = form_for :obj do |f| = f.datetime_s
{{#tags}}- {{label}}
{{/tags}}