第äºåä¸å æè¿ã¯ç 究ãå¿ããã®ã¨ï¼Railsããã£ããããã£ã¦ããã ããBlogãRailsã¢ããªã«ããã¹ããããªãï¼ã¨ããç絡çãªæèã§typoã§Blogãä½ã£ã¦ã¿ã¾ããï¼acts_as_ludia ãï¼acts_as_find_or_initialize_by ã¨ãã£ããã©ã°ã¤ã³ã®ãã¨ãã¡ããã£ã¨æ¸â¦
第äºåå [myname@localhost wikipedia]$ rake db:migrate (in /home/myname/rails/wikipedia) == AddLudiaIndex: migrating =================================================== -- execute("CREATE INDEX plain_text_index ON documents USING fulltext(â¦
第ååä¹å å æ¥ã®ã¨ã³ããªãLudia ç¨ã® Rails ãã©ã°ã¤ã³ acts_as_ludia ãä½ãã¾ãã - ã®ã»ã»ãå¾ç¶ãã§ç´¹ä»ããacts_as_ludiaãã©ã°ã¤ã³ã使ã£ã¦ï¼ç°¡åãªæ¤ç´¢ã¢ããªã±ã¼ã·ã§ã³ãRailsã§ä½ã£ã¦ã¿ã¾ããã®ã§ç´¹ä»ãã¾ãï¼ ã¯ã¦ãªããã¯ãã¼ã¯å ¨ææ¤ç´¢ http:â¦
第ååä¸å åçã¯Gigazineã®ããã§ã(ç¬) 3æã«æ»è³ã§è¡ãããè¨èªå¦çå¦ä¼å ¨å½å¤§ä¼ã§ãã°ã¼ã°ã«ã ç¹å¥ã»ãã·ã§ã³ãããããã§ãã大è¦æ¨¡æ¥æ¬èªãã¼ã¿ã«ã¤ãã¦ã ãã¤ãããã®ããã°ã§ç¥ã£ãGoogleã®ç¹å¥ã»ãã·ã§ã³ï¼ ã°ã¼ã°ã«æ ªå¼ä¼ç¤¾ã§ã¯ãæ¥æ¬èªã®è¨èªâ¦
第ååå «å Googleã¯æ¥æ¬èªã®è¨èªå¦çç 究ã®ããã«Webã¤ã³ããã¯ã¹ããä½æããã³ã¼ãã¹ãã¼ã¿ã®å ¬éãäºå®ãã¦ããï¼ãã®ãã¼ã¿ã®å½¢å¼ãå 容ãå«ããæ¦è¦ã®ãããå°ãå ¬éãï¼ãããã«å¯¾ããç 究è ã®æè¦ãåºãåãããï¼ å æ¥ã®ã¨ã³ããªã§ãä¼ãããããã«â¦
第ååå å 使ãæ¹ãæ©è½ãªã©ï¼è©³ããã¯å¾ã§æ¸ãã¾ãæ¸ãã¾ããï¼ acts_as_ludiaã®æ´æ°æ å ±ãã覧ä¸ããï¼ acts_as_ludiaã®æ¦è¦ã¨æ©è½ Ludiaã«ããPostgreSQLã®é«éå ¨ææ¤ç´¢æ©è½ãRuby on Railsããå©ç¨ããããã®ãã©ã°ã¤ã³ã§ãï¼ååã¯acts_as_ludiaã¨ããâ¦
第åååå æè¿ï¼Ludiaã使ã£ã¦ãã¼ã¿ãã¼ã¹ã®å ¨ææ¤ç´¢ãè¡ã£ã¦ããã®ã§ããï¼Sennaã®ã¯ã¨ãªæ¸å¼ãããåããã¾ããï¼ã¨ãããï¼MySQLã®BOOLEAN MODEãããåãã£ã¦ãªãã®ããããã¾ããï¼ test=# select *from table1; col1 | col2 ----------------------â¦
第ååäºå FATAL C28000 MIdent authentication failed for user "rails" Fauth.c L337 Rauth_failedã¨ããã¨ã©ã¼ãåºã¦ï¼Migrationãconsoleããã®DBã¢ã¯ã»ã¹ã失æããã®ã§ãããã調ã¹ã¦ã¿ãã¨ï¼ãããªè¨è¿°ãçºè¦ãã¾ããï¼ it is due to Rails connectiâ¦
第ååä¸å å æ¥ã®ã¨ã³ããªãRuby on Rails ã® View ãæ°æã¡ããã·ã³ãã«ã«æ¸ãã Haml - ã®ã»ã»ãå¾ç¶ãã§ç´¹ä»ããHamlãå®éã«Railsã®ã¢ããªã±ã¼ã·ã§ã³ã§ä½¿ç¨ãã¦ã¿ã¾ããï¼ ç§ã大å¦é¢ã®è¬ç¾©ã§åºãããã¬ãã¼ã課é¡ãWeb Service*1ãå©ç¨ããWeb Applicaâ¦
第ååäºå ãªã©ã¤ãªã¼ã»ã¸ã£ãã³ããåè¡ããã¦ãããMind Hacks âå®é¨ã§ç¥ãè³ã¨å¿ã®ã·ã¹ãã ãã¨ããæ¬ãèªã¿çµãã¾ããï¼ãã¤ããèªã¿å§ããã®ãä»ã§ã¯è¦ãã¦ã¾ãããï¼ç§»åä¸ãé£äºå¾ãªã©æéãè¦ã¤ãã¦ã¯å°ããã¤èªã¿é²ãã¦ãã¾ããï¼ ãã®æ¬ã¯ãå®é¨â¦
第ååä¸å Windows XPã§æ¬æ ¼çã«ä½¿ããEditorãæ¢ãã¦ãã¾ãããï¼MeadowãEmacsã«ä¼¼ã¦ä½¿ããããããªã®ã§ã¤ã³ã¹ãã¼ã«ãã¦è¨å®ãã¦ã¿ã¾ããï¼ãªã®ã§ï¼è²ããªã¡ã¢ãããã«æ®ãã¦ããã¾ãï¼ ç°å¢ Windows XP ã¤ã³ã¹ãã¼ã«ãã£ã¬ã¯ããªï¼å ¼ãã¼ã ãã£ã¬ã¯ããªâ¦
第ååå åã åï¼ååã¨Yahoo! Pipesã§éãã§ã¿ãããã§ããï¼ãã¤ããä»æ¥ãéãã§ã¿ã¾ãï¼ Yahoo! Pipesã«ã¯Operators::BabelFish*1ã¨ãã翻訳ã¢ã¸ã¥ã¼ã«ãããã®ã§ããï¼ãã¯ãä»è¨èªããæ¥æ¬èªã¸ã®ç¿»è¨³æ©è½ã¯ããã¾ããï¼ç±³Yahoo!ã¯æ¥æ¬ãéè¦è¦ãã¦ãâ¦
第ä¸åä¹å ååYahoo! Pipesã使ã£ã¦ã¿ãã®ã§ããï¼ãããããã¢ã¡ãªã«ã®ãµã¼ãã¹ãªã®ã§æ¥æ¬ã®æ å ±ãæ±ãã¥ããã§ãï¼ä¾ãã°ï¼å ¥åã¨ãã¦æåãã使ããSources Moduleãï¼ Yahoo! Search Yahoo! Local Fetch Google Base Flickr ã®äºã¤ã§ï¼æ¥æ¬ã®ãµã¼ãã¹â¦
第ä¸åå «å åæã§è©±é¡ã«ãªã£ã¦ããç±³Yahooã®æ°ãµã¼ãã¹Yahoo! Pipesã«ç§ãåå ãã¦ã¿ã¾ããï¼ Yahoo! Pipesã¯ï¼UNIXã®pipeï¼ãã¤ãï¼ã®ããã«Webä¸ã«åå¨ããRSSãã£ã¼ããè¤æ°ã¤ãªãã¦ï¼å å·¥ã»æ½åºãªã©æ§ã ãªæä½ãç¬èªã«ä½ãåºããWebãµã¼ãã¹ã§ãï¼ RSSâ¦
第ä¸åä¸å ä¸çä¸ãã¹ã¦ã®äººéãä¸æ¥ä¸åº¦ã¯ã°ã¼ã°ã«ã«åãã£ã¦ãã¼ã¯ã¼ããæã¡è¾¼ãã¨ãããã¦ãããä¸çä¸ãæ å ±ãã°ã¼ã°ã«ã«é ¼ãããã¤é ¼ããããããªããªãã¤ã¤ããã ããåºé ãæãããã¾ããï¼ä¹ ãã¶ãã«ãã¬ããã¤ãã¦NHKã¹ãã·ã£ã«ãè¦ã¾ããï¼WWWâ¦
第ä¸åå å ç§ã¯Webã¢ããªã±ã¼ã·ã§ã³éçºã«Railsã使ã£ã¦ããããã§ããï¼Viewã®é¨åãè¨è¿°ããããã®RHTMLãã©ãã好ãã«ãªãã¾ããï¼ HTMLã¨RHTMLãæ··å¨ããã®ã§ã±ã£ã¨è¦ã¦åããã¥ãã çµäºã¿ã°ï¼ ã¨ã </small> ã¨ãï¼ãå¿ããã¡ çæãããHTMLã«ç¡é§ãªç©ºè¡ãå¤â¦
第ä¸åäºå å æ¥ç´¹ä»ãã jQuery 1.1 ã§ã¯ï¼HTMLè¦ç´ ãé¸æããããã«$();ã使ã£ã¦ãã¾ãï¼ãããï¼ãã®é¢æ°ã¯ä»ã®ä¸»è¦JavaScriptã©ã¤ãã©ãª*1ã§ãåãããã«ä½¿ããã¦ããã®ã§ï¼è¤æ°ã®ã©ã¤ãã©ãªãåæã«å©ç¨ããã¨æãã¬ãã°ãåºãããã¾ãï¼ jQuery 1.1 ã§â¦
第ä¸ååå > jQuery Birthday: 1.1, New Site, New Docs">Great news, everyone! Today is jQueryâs 1 Year âBirthdayâ! (I released it 1 year ago, today, at BarCamp New York City) In celebration, weâve got a bunch of stuff for you to enjoy.æ§ã â¦
第ä¸åä¸å æè¿ï¼æ®éã®äººã¯Webãã©ã¦ã¸ã³ã°ã®ã¨ã常ã«ããæ°ã«å ¥ããããµã¤ããã¼ã«è¡¨ç¤ºãã¦ããããã¨ãã話é¡ãããï¼ â ä¸è¬çãªãããã¦ã¼ã¶ã¼ã¯å¸¸ã«ãæ°ã«å ¥ãã(ãã©ã¦ã¶å·¦å´ã«)表示ãã¦ãããããããã©ããªã®ï¼ã¿ããªãããã風ã«ãã¦ããããè¦ã¦â¦
第ä¸åäºå å°ç°åæ£ã®æããç²éªã ã¬ããªãã¡ã³ã®æ¥½æ²ãç²éªããå°ç°åæ£ãéãéããããªå£°ã§æã£ã¦ããï¼ããã¯ï¼2006/12/28ã«TBSã§æ¾æ ãããã¯ãªã¹ãã¹ã®ç´æã¨ããçªçµã§æã£ããã®ã ï¼ ä»¥ä¸ã«YouTubeçã®åç»ãè¦ããã¾ãï¼
第ä¸åä¸åFilm izle, Full HD Film Ä°zle, Full HD Türkçe Dublaj Flim izleã«ãã®ããã°ã§åå ããï¼ããã°ããã©ã¼ã¯ããã°ã®URLã使ã£ã¦ãã£ã©ã¯ã¿ã¼ãã¤ããï¼Webä¸ã§å¯¾æ¦ããã²ã¼ã ã ï¼ ä½æãããã£ã©ã¯ã¿ã¼ã¯ããã°ãã¼ãã¨ãã¦èªåã®ããã°ã«è²¼ãä»â¦
第ä¸åå http://journal.mycom.co.jp/articles/2006/12/22/wirble/ irb(1)ã«ã¯æ¡å¼µã»ããã¨ãã¦Wirbleã¨ããããã±ã¼ã¸ãç¨æããã¦ããã®ã ããåããã±ã¼ã¸ã使ãã¨ã¤ã³ã¿ã©ã¯ãã£ãã·ã§ã«ã«è²ãã¤ãããã«ãªãã»ããè£å®å ¥åãå¹ãããã«ãªããªã©ä¾¿å©ã â¦
第äºåä¹åãã¡ããï¼åæ¥ããããï¼ä»¥ä¸ï¼ ã¨è¨ã£ã¦ãã¾ãã¨ããªãä¹±æ´ãªã®ã§ï¼ç¾å®ã«ä»å¤§å¦é¢çããã£ã¦ããèªåãªãã«ãã®çç±ã«ã¤ãã¦èãã¦ã¿ãï¼ å ã«ç°¡åã«ã¾ã¨ãã¦ããã¨ä»¥ä¸ã®2ç¹ã®ãããªæ°ãããï¼ äººã«ç©äºãããããããä¼ãã ç®ã«è¦ããææãâ¦
第äºåå «åã¯ã¦ãªãã¤ã¢ãªã¼ã®ãã«ããè¦ã¦ããã¨çºè¦ããï¼ ã¹ã¼ãã¼preè¨æ³ã®å¿ç¨ã§å¯è½ã«ãªãããã ï¼ã¨ãããããã¹ããã¦ã¿ãï¼ class Foo def bar'baz' # return baz end end ä»ã¾ã§ã¯ãã ã®ã¹ã¼ãã¼preã§è¡¨ç¤ºããã¦ããã®ã§ï¼è¦ããããªã£ãããããªâ¦
ãã¡ã¤ã«ããã¦ã³ãã¼ãããã«ã¯curlã¨ããã³ãã³ãã使ãï¼ å®ã¯ãã¡ã¤ã«ãã¦ã³ãã¼ãã ãã§ã¯ãªãï¼ã¢ãããã¼ãã¨ããã§ãããããï¼ å©ç¨ä¾ï¼ã³ãã³ãã©ã¤ã³ï¼ curl -L -O http://rubyforge.org/frs/download.php/11289/rubygems-0.9.0.tgz % Total % Reâ¦
第äºåä¸åå çã«ä½¿ã£ã¦ãããã¨è¨ãããã®ã§ï¼å¼µãåã£ã¦ä½¿ããã¨ã«ãããï¼ã¨ããããã§ï¼Windowsã¨Linuxãã触ã£ããã¨ããªãã£ã*1ã®ã§ï¼ããã«Macåå¿é²ãæ®ãï¼ *1:ä¸ç¬ã ãMacBookã使ã£ã¦ããã¨ã¯ãã£ãã
第äºåå å ã¨ããããã§ï¼Railsã§èªå·±åç §å¤å¯¾å¤ã¢ã½ã·ã¨ã¼ã·ã§ã³ãhas_many :throughãå©ç¨ãã¦å®è£ ãã¦ã¿ãã¡ã¢ï¼ ä»åç¨æãããµã³ãã«ã¯Webãã¼ã¸ããªã³ã¯ã§ç¹ãã£ã¦ãã¤ã¡ã¼ã¸ï¼ERDã¯ä»¥ä¸ã®ç»åã¿ãããªæãï¼ ããããã®modelã¯ãããªæãï¼ class Paâ¦
PostgreSQL 8.1.4 èµ·åã¨èªåèµ·åè¨å®ãã¸ããåèã«PostgreSQLãèµ·åããä¸ã§ï¼Ludiaã®READMEã«ãããµã³ãã«ã試ãã¦ã¿ãï¼ su - postgres createdb test psql -f /usr/local/src/ludia-0.8.0/pgsenna2.sql test psql testpsql testã§PostgreSQLã®ã¿ã¼ããâ¦
cd /usr/local/src wget http://keihanna.dl.sourceforge.jp/ludia/22126/ludia-0.8.0.tar.gz tar xvfz ludia-0.8.0.tar.gz cd ludia-0.8.0 chmod a+x install-sh ./configure make sudo make installããã§ã¤ã³ã¹ãã¼ã«å®äºï¼æå¾ã«RailsããPostgreSQLããâ¦
èªåã¯PostgreSQLãåãã¦ä½¿ã£ã¦ã¿ãï¼ææ°çã®8.1.4ãå©ç¨ããã®ã§ã½ã¼ã¹ããã¤ã³ã¹ãã¼ã«ï¼ cd /usr/loval/src wget ftp://ftp.jp.postgresql.org/source/v8.1.4/postgresql-8.1.4.tar.gz tar xvfz postgresql-8.1.4.tar.gz cd postgresql-8.1.4 ./configuâ¦