2008-08-01ãã1ã¶æéã®è¨äºä¸è¦§
æé ã©ããã«ãã£ã¦ããã°xreaä¸ã§railsã¢ããªãåãããã¯ãã§ãã 注æï¼ã¨ãããããxreaã§Railsãåãããã¨ã«ã¯æåãã¦ãã¾ãããfast cgiã§ã¯åããã¦ãã¾ããã æ¹éã»æ¡ä»¶ xreaã§Rails2.1ãåãããã®ããæ¤è¨¼ãããtodoã管çããç°¡åãªã¢ããªãä½â¦
Railsã®éçºã§ãªã«ããªã使ã£ã¦ããsqlite3ããã¡ã¤ã«ãã¼ã¹ã®DBã§ãµã¼ãã¼ãããã£ã¦ãã¨ãããã¯åãã£ã¦ããã ãã©ããã¾ãã¡ãªã«ãåºæ¥ãã®ãããåãããªãã®ã§ç°¡åã«ã¾ã¨ãã¦ã¿ãã以ä¸å ¬å¼ãã¼ã¸http://www.sqlite.org/ããï¼è±èªï¼ 翻訳ãã¦ä¸ãã£ã¦â¦
ããã ãï¼ class Foo def aaa self.bbb end private def bbb puts "bbb" end end Foo.new.aaa # => ã¨ã©ã¼ã ãã privateã¡ã½ããã¯selfã¬ã·ã¼ããçç¥ãã¦å¼ã³åºãã class Foo def aaa bbb end private def bbb puts "bbb" end end Foo.new.aaa # => "bbbâ¦
ãªãã¸ã§ã¯ãæåã§ãªãã¤ããã®ãâç¥ã£ã¦ããããããã°ã©ãã³ã°ãUMLãè¨è¨ã®åºç¤ç¥èâä½è : å¹³æ¾¤ç« åºç社/ã¡ã¼ã«ã¼: æ¥çµBP社çºå£²æ¥: 2004/06/03ã¡ãã£ã¢: åè¡æ¬è³¼å ¥: 34人 ã¯ãªãã¯: 448åãã®ååãå«ãããã° (198件) ãè¦ãææ¥ãå¾è¼©ã«ãªãã¸ã§ã¯ãâ¦
åéãããã®ã¾ãã§ãããã¡ãããèªæãè¾¼ãã¦ã http://d.hatena.ne.jp/fromdusktildawn/20080810/p1 女ã®åãä½ãããã¹ããããã¯ããã®å¥³ã®åèªèº«ãæ°ã¥ãã¦ããªããããã女ã®åèªèº«ãããå ã«æ°ã¥ãã¦ãããã 女ã®åã¯ãæç´ãæªå£ãæ³£ãè¨ãè¨ãç·â¦
ä¼æ©ä¸ã«è¶ éã¡ã¢ãhelperã«å®ç¾©ããã¡ã½ããã¯ãRJSãã³ãã¬ã¼ãå ã§pageã«ãã¤ã³ãããã¦ãããã©ããããã¨ãã¨ããã¨ã # helpers/comments_helper.rb module CommentsHelper def show_comments page["comments"].replace_html :partial => "comments" eâ¦
æ¥åã§ã®Railsæ´ã2ã¶æãè¶ ãã¦ã ãã ãRubyã«æ £ãã¦ãããã§ãããæ¨æ¥putsãpã¡ã½ããã£ã¦ã©ãã«ãããã ã£ãï¼ã¨èããã¦å³çã§ããã®ãæããã£ãã®ã§ãRubyã®åºæ¬ã«ã¤ãã¦ãããããã¦ã¿ã¾ããã ã¡ãªã¿ã« pãputsãªã©ã®çµã¿è¾¼ã¿é¢æ°çã«ä½¿ãã¡ã½ããâ¦
1.âãå®è¡ããã¨ãªã«ã表示ãããã§ãããï¼ public static void main(String[] args) { System.out.println(new Integer(1).equals(new Integer(1))); } true ã§ãããã 2.ã§ã¯ããã¯ï¼ public static void main(String[] args) { System.out.println(new â¦