see http://ihower.tw/blog/archives/3075 , this's my talk at http://kungfurails.com and http://ruby.twRead less
2007/07/19 Railsã®å¦çããã¼ Railsã®ã½ã¼ã¹ããã£ããèªãã§ã¿ãããã£ã¨ä»çµã¿ã®æ¦è¦ãããã£ãï¼æ°ãããï¼ã®ã§ã¾ã¨ãã¦ã¿ãã éã£ã¦ããæãã¦ãã ããã¾ãã ãã©ã¦ã¶ãããªã¯ã¨ã¹ããããã ä¾ï¼http://www.example.com/recipe/list Apacheãªã©ã®ããã¥ã¡ã³ãã«ã¼ãã/var/www/rails_app/publicã§ããã¨ããã rails_appã¯railsã³ãã³ãã§çæããã¢ããªã±ã¼ã·ã§ã³ãã£ã¬ã¯ããªã publicãã£ã¬ã¯ããªã«çæããã.htaccessã§ModRewriteã«ãããªã¯ã¨ã¹ãURLã®æ¸ãæããè¡ãã DocumentRoot(http://www.example.com)ã¸ã®ã¢ã¯ã»ã¹ã®å ´åãindex.htmlã¸ã®ã¢ã¯ã»ã¹ã«æ¸ãæããã ãã¡ã¤ã«é¨åã«ã.ããå«ã¾ããªãURLï¼ãã¨ãã°http://www
ãã¾ãpartialãã¡ããã¨ä½¿ãããªãã¦ããªãæ°ãããã®ã§(ãã¤ãã¤ã³ã¹ã¿ã³ã¹å¤æ°ã§é©å½ã«å¤ãããã¦ã)使ãæ¹ãã¡ãã£ã¨ã¡ã¢ã render :partial => 'entry' ä¸çªåºæ¬ã¨ãªãpartialã®ä½¿ãæ¹ã_entry.html.erbãæç»ã render :partial => 'entry', :locals => {:title => "ã¿ã¤ãã«"} localsã§partialå´ã«å¤ã渡ããpartialå´ã§ã¯ãã¼ã«ã«å¤æ°titleã§æååâã¿ã¤ãã«âãåç §ã§ããã render :partial => 'entry', :object => @object render :partial => @entry # ã¤ã³ã¹ã¿ã³ã¹å¤æ°ã§åæ°å½¢ objectã§partialå´ã«å¤ã渡ãã@objectã®å 容ãpartialå´ã§ãã¼ã«ã«å¤æ°entryã§åç §ã§ããã ren
æ¨å¹´æ«ããå§ãããRuby on Rails ã使ã£ãããä»äºãã²ã¨æ®µè½ããã®ã§ããµãããã£ã¦ã¿ã¾ããã ãã®ä»äºã§ä½ã£ãWebã¢ããªã®è©³ç´°ã¯æ¸ãã¾ããããç»é¢æ° 60ããã¼ãã«æ° 15 ã¨å°è¦æ¨¡ã®ãã®ã§ãããã·ã¹ãã ã¯ã¨ããã©ããã«é£ããé¨åã¯ããã¾ãããUIã¯ä¸é¨ã« Ajax(JQueryã使ç¨)ãå°å ¥ã使ãåæãé«ãã¦ãã¾ãã 1. ã½ã¼ã¹ã³ã¼ããå°ãªãï¼ æ¸ããRubyã³ã¼ãã®è¡æ°ãåè¨ãã㨠ç´3600è¡ ããããã¾ããã§ããï¼ 1ç»é¢ããã 60è¡ããæ¸ãã¦ãªã !! ã»ã»ã»ãããã¾ãä»äºãã¦ãªããããï¼ãã¨æããã¤ã¶ããã¦ãã¾ãã¾ã¾ãã ^^); ãã¯ããRuby on Rails ã¯çç£æ§ãé«ãã¨è¨ãããéãã§ãã ãã ããã ãã ãã¨ã³ã¼ããæ¸ããªãããã«ä»¥ä¸ã®ããã«æ³¨æãã¾ããã å ±éé¨åã¯ã¢ã¸ã¥ã¼ã«åãMix-inã§å ±æ ç¶æ¿ã«ããæ©è½ã®å ±æã¯è¨è¨ãé£ãããªãã¾ãããå§
第5åãOpenIDãå®è£ ããã½ã¼ã¹ã³ã¼ããèªãã å貫 義人 æ¾æ ç« å¼ TISæ ªå¼ä¼ç¤¾ SonicGarden 2009/6/3 åªããããã°ã©ãã¯ã³ã¼ããæ¸ãã®ã¨åãããããã³ã¼ããèªã¿ããªããªãã¦ã¯ãªããªããåªããã³ã¼ããèªããã¨ã§ãèªèº«ã®ã¹ãã«ãä¸éããã®ã ï¼ç·¨éé¨ï¼ ååã¾ã§ã¯ãRuby on Railsã®åºæ¬é¨åã«ã¤ãã¦ã³ã¼ããªã¼ãã£ã³ã°ãè¡ã£ã¦ãã¾ããã ä»åããã¯ãããé åçãªWebã¢ããªã±ã¼ã·ã§ã³ãå®ç¾ããããã«å¿ è¦ãªãã¾ãã¾ãªæè¡ãRailsã§æ´»ç¨ããã½ã¼ã¹ã³ã¼ããèªãã¨ãããããã«å®è·µçãªå 容ã«å ¥ã£ã¦ããã¾ãã ä»ååãä¸ããæè¡è¦ç´ ã¯OpenIDã§ããGoogleãYahoo!ãmixiãªã©ã®å¤§æãµã¼ãã¹ãOpenIDã«å¯¾å¿ãããã¨ã§è©±é¡ã«ãªã£ãã®ã§ãèãããã¨ãããæ¹ã¯å¤ãã®ã§ã¯ãªãã§ããããã OpenIDã¨ã¯ãã¨ãã1ã¤ã®IDãæã£ã¦ããã°ãè¤æ°ã®Webã¢ã
Rubyã§ã¯ã©ã¹ãå®ç¾©ããæã«ãå ¥ãããã®ããããããã£ã¦ã©ã®é çªã«å ¥ããã®ãä¸çªããããæ©ã¿ã¾ãããä¸å¿ã¬ã¤ãã©ã¤ã³çãªãã®ãåç°ä¿®å¾ãããåºãã¦ããããã®ã§ã¡ã¢ã£ã¦ããã¾ãã Rubyã³ã¼ãã£ã³ã°è¦ç´ "1. ã¢ã¸ã¥ã¼ã«ã®ã¤ã³ã¯ã«ã¼ã 2. å®æ°ã®å®ç¾© 3. ã¯ã©ã¹å¤æ°ã»ã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹å¤æ°ã®å®ç¾© 4. ãããªãã¯ãªã¯ã©ã¹ã¡ã½ããã®å®ç¾© 5. ã¢ã¯ã»ãµã®å®ç¾© 6. initializeã®å®ç¾© 7. ãããªãã¯ãªã¤ã³ã¹ã¿ã³ã¹ã¡ã½ããã®å®ç¾© 8. ãããã¯ãã£ãããªã¯ã©ã¹ã¡ã½ããã®å®ç¾© 9. ãããã¯ãã£ãããªã¢ã¯ã»ãµã®å®ç¾© 10. ãããã¯ãã£ãããªã¤ã³ã¹ã¿ã³ã¹ã¡ã½ããã®å®ç¾© 11. ãã©ã¤ãã¼ããªã¯ã©ã¹ã¡ã½ããã®å®ç¾© 12. ãã©ã¤ãã¼ããªã¢ã¯ã»ãµã®å®ç¾© 13. ãã©ã¤ãã¼ããªã¤ã³ã¹ã¿ã³ã¹ã¡ã½ããã®å®ç¾© 14. ãã¹ãããã¯ã©ã¹ã®å®ç¾©" æ®æ®µãã£ã¦ãRailsã§ã¯ã¤ã³ã¯ã«ã¼ãããã¯
Ruby on Railsã®éçºã§ä¾¿å©ãªãã¼ã«ã¯ãªãã ãããã ãããªã¨ãã«ãããããªã®ããã20+ Tools For RoR DevelopmentããRuby on Railséçºã®ä¾¿å©ãã¼ã«20é¸ã ã 以ä¸ã«ããã¤ããç´¹ä»ã » DZone Snippets æ°åã®ã³ã¼ãã¹ãããã » Four Days On Rails 4æ¥éã§Ruby on Railsã®åºæ¬ãæãã¦ããã » HoboCentral.net Ajaxã¨é£æºããã¨ã¯ã¹ãã³ã·ã§ã³ããã±ã¼ã¸ » Instant Rails ãã¹ãç¨ã«RubyãRailsãApacheãMySQLãä¸ã¤ã«ãªã£ã » Learn To Program ã¯ããã¦ã®Ruby on Railsãã¥ã¼ããªã¢ã« » Locomotive RoRéçºã®Mac OS Xã¢ã㪠» Ruby Cheatsheet RoRã®ãã¼ãã·ã¼ã Ruby on
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}