You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Github ã«èå¼±æ§ããã£ã人㯠Rails ã«æããã¡ãªèå¼±æ§ã issue ã«æãã¦ãããç¸æã«ããããå®éã«ãããçªãã¦ãããä¸è¦ childish ã ããããã ãç°¡åã«èå¼±ãªå®è£ ããªããã¦ãã¾ãã¨ãããã¨ã ãé±æãã®ä»æ¥ãRubyist ã¯ã¾ãé¢é£æ å ±ã«ä¸èªãã â Yuki Nishijima (@yuki24) March 4, 2012 æ°ã«ãªã£ã¦èª¿ã¹ãã®ã§ã¡ã¢ãèªåãæ°ãã¤ããªãã¨ãªã¼ã Public Key Security Vulnerability and Mitigation - github.com/blog/ github ã«èå¼±æ§ããã£ã¦ãããçªããããããã Rails ã¢ããªã«ãããã¡ãªèå¼±æ§ã®ä¸ã¤ãMass assignment ã¨ãããã¿ã¤ãã®èå¼±æ§ã§ããã mass assignment èå¼±æ§ã¨ã¯ mass assignment èå¼±æ§ã¨ã¯ä½ãã
QA@ITã¯Ruby on Railsã§æ§ç¯ã»éç¨ãã¦ãã¾ããã§ãããããRailsã®æ°ã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ãRails4ã®ãªãªã¼ã¹ãè¿ã¥ãã¦ããããã§ãï¼ã¨ãèãããã«ãªã£ã¦ããã¶ãçµã¡ã¾ããï¼ãããããã¨æ°æ©è½ãããã¾ãããGitHubãè¦ã¦ãã¦1ã¤é©ãããã¨ãããã¾ããRuby on Railsã®çã¿ã®è¦ªã®DHHï¼David Heinemeier Hanssonããï¼ããã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ã¢ããã¨ãªãRails4ã«åãã¦è¡ã£ããã®ã³ãããã«åçªæããã£ãã®ã§ãããã使ãããAPIã®ååãããããªã«ç°¡åã«å¤ãã¡ãããã ã¨ãã軽ãé©ãã§ãã ãå£ãã¦ãããªãç´ããªãï¼If it ainât broken, donât fix it.ï¼ã¨ããæåãªè¨èãããã¾ããç±³å½ã®ã¸ãã¼ã»ã«ã¼ã¿ã¼å¤§çµ±é æ代ã®è¡æ¿ç®¡çäºç®åºé·å®ã ã£ããã¼ãã¹ã»ãã¼ãã©ã ã»ã©ã³ã¹æ°ã®1977å¹´ã®çºè¨ã人å£ã«è¾çãããã®ã®ã
Rubyï¼on Railsï¼ä½¿ãå§ãã¦åå¹´ãã¾ã èªåèªèº«æ¢ãæ¢ãã¨ããç¶æ ãªã®ã§ãã幸ãã«ããææ¬ã«ãªãå çã®ãé°ã§ãªãã¨ãããã¦ããã¨ããæãã§ãã å人ã§åå¼·ãã¦ãç¯å²ã§ããããè¦ã¦ãããã®ãèªãã ãã®ãåèã«ãã¦ããæ¬ãªã©ããã£ã¨ã¾ã¨ãã¦ããã¾ãã id:ukstudioã«ããåå¼·ä¼ã®è³æ ã¾ããã£ããæ¦è¦ãå¾ãããã«ããèªãã¨ãããã ç¹ç°ã¡ã½ãããããã®è§£èª¬ã¯ä¸æ¦ã¹ã«ã¼ãã¦ãããã Ruby&Railsåå¼·ä¼ èªè¨¼å¨ãã«ã¤ãã¦id:udzuraã«ããè³æ èªåã§ä¸»å¬ããRubyåå¼·ä¼ã§ï¼éªæªãªé¡ã§ï¼çºè¡¨ãã¦ãããè³æ æ¸è°·ã§åå¼·ä¼ãã¦ãã¾ãããï¼éªæªãªé¡ã§ï¼çºè¡¨ããã¾ããã « blog.udzura.jp ãã¹ãå¨ãã«ã¤ã㦠@takaiããã®ããã°ã¨ã³ã㪠RSpecã«ããã¦ããããã¹ãã®æ¸ãæ¹ - tech.recompile.net ã¾ãid:ukstudioå çã®è³æã
追è¨(2012/02/21 09:39): nginx è¨å®ãã¡ã¤ã«ã®ä¾ã«ãX-Frame-Options, X-Content-Type-Options ã«é¢ããè¨å®ãå çãã¾ããã 追è¨(2011/10/17 19:18): Rails 3.1 ç¨ã«ãnginx è¨å®ãã¡ã¤ã«ã®ä¾ãå çã»ä¿®æ£ãã¾ããã 追è¨(2010/09/25 12:07): ç¾å¨ã¯ãããã® VPS ã使ç¨ãã¦ãã¾ãã 追è¨(2010/08/16 11:18): nginx è¨å®ãã¡ã¤ã«ã®ä¾ã« root æãæ¸ãå¿ãã¦ããã®ã§è¿½å ãã¾ããã 話é¡ã® Unicorn ã試ãã¦ã¿ã¾ããã Unicorn ã«ã¤ãã¦ã¯ã以ä¸ã®è¨äºã詳ããã§ãã 次ä¸ä»£Ruby on Railsãµã¼ãã¼Unicornï¼æ±ç¨ã®Rackã¢ããªã±ã¼ã·ã§ã³ãµã¼ãï¼ã使ã£ã¦ã¿ã | TechRacho ç¾å¨ PONPON 㯠nginx + Unico
è«è¨ªä¹ç¬å³¶ï¼é¹¿å 島ç鹿å 島é¡å島æï¼2024.8 ã¯ããã« ï¼æ¥ç® ä¸å¿é¨ã»ããããªã¨ãªã¢ å 浦ã¨ãªã¢ 2æ¥ç® å 浦ã¨ãªã¢ã»ä¸å¿é¨ åç³ã¨ãªã¢ 3æ¥ç® ã¯ããã« ååã®ããã§ãªã¼ã¨ãã¾ï¼ä¹è¹è¨ãã«ãæ¸ãã¾ããããè«è¨ªä¹ç¬å³¶ã«è¡ã£ã¦ãã¾ãããä»åã¯ããã®è«è¨ªä¹ç¬å³¶ã®è¨äºã§ãã kakoyuu.hatenablog.com è«è¨ªä¹ç¬å³¶ã¯â¦
ãªãã¼ã¹ãããã·ãå¿ è¦ã¨ãã¦ãããå½åãApache ã§ããããã¨ãæã£ã¦ããã®ã ãããã軽é(ã¡ã¢ãªæ¶è²»éãå°ãªã)ã§ãããã©ã¼ãã³ã¹ã®é«ã Web ãµã¼ãããªããã®ãã¨ç©è²ãã¦ããã nginx ã¨ãããã·ã¢è£½ã®ã¨ã³ã¸ã³ããªããªããããããªã®ã§ããã°ãã使ã£ã¦ã¿ããã¨ã«ãããã¡ãªã¿ã«ãèªã¿æ¹ã¯ãã¨ã³ã¸ã³ã¨ãã¯ã¹ãã®ããã ã nginx Main ã¤ãã§ã«ã Apache + Passenger ã§éç¨ãã¦ããç°å¢ã nginx + Passenger ã«å¤æ´ããããã®éã®è¨å®ã¡ã¢ãæ®ãã¦ããã Table of Contents Open Table of Contents ä½æ¥ã®åæ nginx ã®ã¤ã³ã¹ãã¼ã« init script ãç¨æãã nginx ã®è¨å® nginx + Passenger ã®è¨å®ãè¡ã SSL ãæå¹ã«ãã ä½æ¥ã®åæ ããã§ã®ä½æ¥ã®åæã¨ãã¦ã¯ã æ¢ã«
ãæããèªåã®ããã®ãµã¤ãºãå°ããã®ãã³ã³ãã¬ãã¯ã¹ã«ãªã£ã¦ãã¾ãã ã³ã³ãã¬ãã¯ã¹ã«ãªã£ããã£ããã¯ä¸å¦ã®æã®ä¿®å¦æ è¡ã§ãã ããã¾ã§ç¹ã«æ°ã«ãªããªãã£ãã®ã§ãããã風åã®æéã«å人ã®ãè¦ã¦ãèªåãå°ããæ¹ãªãã¨ã«æ°ãä»ãã¾ããã ããããã¯æ¥ããããæãããã«ã ãããã10å¹´è¿ãçµã¡ã¾ããããç¹ã«ãµã¤ãºã¯å¤ãã£ã¦ããªãã§ãã 大人ã«ãªã£ã¦ãµã¨æã£ããã§ãã ã³ã³ãã¬ãã¯ã¹ã解æ¶ããæ¹æ³ã£ã¦ç¡ãã®ããªã¨ã ããã¦èª¿ã¹ã¦ã¿ãããæè¿ã¯è²ã ãªæ¹æ³ããããã¨ãç¥ãã¾ããã ç¹ã«æ°ã«ãªã£ãã®ã¯ãå縮é»ã¦ã³ã³DEXãã¨ããå¢å¤§ãµããªã¡ã³ãã§ãã å ¨ä½çã«è©ä¾¡ãé«ãã¦ãã¬ãã¥ã¼ãèªãã§ãã¦ãããªãæå¾ ã§ãããªã¨æãã¾ããã ã§ããåãã¦ã®ãã¨ãªã®ã§ãèªåã«å¹æãããã®ãã¨ããä¸å®ãããã¾ãã ãªã®ã§å縮é»ã¦ã³ã³DEXã«ã¤ãã¦è©³ãã調ã¹ã¦ã¿ãããªã¨ã 調ã¹å°½ããã¦ã使ãããã¨ããæ°æã¡ãå¼·ããã°æ³¨æ
OAuthã®ç´°ãã説æã¯æãã ã¾ããOAuthã使ãããã«ã¯Twitterã§ã¢ããªã±ã¼ã·ã§ã³ã®ç»é²ãå¿ è¦ãªã®ã§ãhttp://twitter.com/oauth_clientsã§ç»é²ããã¦ããã¦ãã ããã 以ä¸ã®ã³ã¼ãã®6è¡ç®ã®é¨åãåå¾ããConsumer keyã¨Consumer secretãã«ç½®ãæãã¦ãã ããã é©å½ãªã¨ããããverifyã¢ã¯ã·ã§ã³ã«ãªãã¤ã¬ã¯ããã¦ããã¨ãããã«Twitterã«ãªãã¤ã¬ã¯ããã¾ãããã®å¾ãcallbackã¢ã¯ã·ã§ã³ã«æ»ã£ã¦ããã®ã§ãããã§èªè¨¼ãã¦åå¾ãããã¼ã¯ã³ãUserã¢ãã«ã«ä¿åãã¾ãã(ããã§ã¯èªåã®ãµã¼ãã¹ã«ãã°ã¤ã³ãã¦ããã¦ã¼ã¶ãèªè¨¼ãè¡ã£ã¦ãã¾ãã) ãã®å¾ãä¿åãããã¼ã¯ã³ã使ã£ã¦Twitterã«çºè¨ããã¾ãããªã¯ã¨ã¹ããåãå ¥ããããªãã£ãå ´åã®å¦çãªã©ã¯çãã¦ã¾ãã Twitterã«ã¯åå¾ãããã¼ã¯ã³ã«æå¹æéã¯ããã¾ããã
Mongrel+mod_proxyã§ããã°ã£ã¦ããã©ããã£ã¡ã®ã»ããã¯ããã«ç°¡åããããæ©ããããã gemã§Passengerãã¤ã³ã¹ãã¼ã« $ sudo gem install passenger é©å½ã«ä¾å解決ããããã«Yesãã¦ãWARNIGããã£ã±ãåºããã©ç¡è¦ã ApacheModuleã®ã¤ã³ã¹ãã¼ã« $ sudo passenger-install-apache2-module command not foundã¨ãããã /var/lib/gems/1.8/binã«ãã¹ãéã£ã¦ãªã ããã©ãã®ã§ãã«ãã¹ã§èµ·å $ sudo /var/lib/gems/1.8/bin/passenger-install-apache2-module å¿ è¦ãªãã®ãããã£ã¦ãããã§ãã¯ãèµ°ãã * Apache 2 development headers⦠not foundï¼ãã$ sudo
ãã®ã¨ã³ããªã§ã¯ Ruby on Rails 㨠MySQL ã使ã£ã¦æ¥æ¬èªã®å ¨ææ¤ç´¢ãè¡ãæ¹æ³ãè¨è¿°ãããRuby on Rails ã®ãã¼ã¸ã§ã³ã¯ 2.0.2ãMySQL ã®ãã¼ã¸ã§ã³ã¯ 5.0.67ãTritonn ã®ãã¼ã¸ã§ã³ã¯ 1.0.12ãHyper Estraier ã®ãã¼ã¸ã§ã³ã¯ 1.4.10 ã使ç¨ããããµã³ãã«ã®æç« ãã¼ã¿ã¨ãã¦ãããããæ¥æ¬äººã«ã¨ã£ã¦æ¥µãã¦èº«è¿ãªèä½æ¨©åãæç« ã§ããããã°ã©ã»ãã°ã©ãã¨ãé»æ»é¤¨æ®ºäººäºä»¶ããå©ç¨ãããå¦çã®ããã«æ´å½¢ãããã¼ã¿ã¯æ¬ã¨ã³ããªã«æ·»ä»ãã¦ãããã¾ããã¼ã¿ãã¼ã¹ã¸ã¢ã¯ã»ã¹ããã³ã¼ãã§ã¯ãã¤ã°ã¬ã¼ã·ã§ã³ãé¤ãã§ããã ããã³ããã¼ã¯ãåãããã«ãããã®çµæã¯æ¬ã¨ã³ããªã®æå¾ã«è¨è¼ããã ãã¼ã¸ãã¼ã·ã§ã³ Rails ã§ãã¼ã¸ãã¼ã·ã§ã³ãå®ç¾ãã will_paginate ã¨ãã plugin 㯠ActiveRecord ã«æ¨æºã§ã¤
http://weblog.rubyonrails.com/2008/12/23/merb-gets-merged-into-rails-3ã®è¶ ç°¡æåè¨³ï¼ Merb ã Rails3 ã«çµ±åãããï¼ ã¿ããªã«ã¯ãªã¹ãã¹ãã¬ã¼ã³ãããããã ï¼ä½ãã£ã¦è¨ã㨠Merb 㨠Rails ã®ãã³ããã¼ã¯è«äºã«çµæ¢ç¬¦ãæã¤ã®ãï¼ã¤ã¾ã Merb ã Rails 3 ã«çµ±åããããã ï¼ æã ã¯ãã§ã³ã¹ã®ä¸¡å´ã§è¤è£½ããããããã£ã¨å»ºè¨çãªããæ¹æ³ã¨ãã¦ï¼ä¸ç·ã«åããã¨ãå®ç¾ããï¼çµ±åããã®ãæããã«æãããã¶ã¤ã³ã¨ææ³ãï¼Merb 㨠Rails ãæ¢ã«ååã«å ±æãã¦ããï¼ãã¨ã¯åº§ã£ã¦ãã£ãããã¦è°è«ããã°ããã£ããã ï¼ ãããå®éã«ä½ãæå³ãããã¨ããã¨ï¼Merb ãã¼ã 㯠Merb ã®åºæ¬ææ³ã Rails 3 ã«æã¡è¾¼ããã¨ã«åªåããã£ã¦ãã¨ã ï¼Yehuda Katz 㯠Rails ã³ã¢ãã¼ã ã«
Rails and Merb Mergeã®è¶ ç°¡æåè¨³ï¼ Rails 㨠Merb ã®çµ±å ä»æ¥ã¯ Ruby ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ã®æ´å²ã«ã¨ã£ã¦ããªãé大ãªæ¥ã¨ãªã£ãï¼å¤§ããªè¡æãæã£ã¦ã¿ããªã¨å ±æãããã¨æã£ã¦ãããã¥ã¼ã¹ã¯ããè¦ã¤ããã ãããã©ï¼ç§ã¯ãã®ç¶æ³ã説æãããã¨æãï¼ æè¡çãå ·ä½çãªè©±ã«å ¥ãåã«ï¼Merb ã³ãã¥ããã£ã¼ã®ã¡ã³ãã¼ããã£ã¨ãéè¦ã§ããï¼ãããªããã¦ã¯ä½ãã§ããªãã£ãã¨ãããã¨ãæè¨ãã¦ããããï¼ Merb ã¯å ¬éããã常ã«å¤åããããã¸ã§ã¯ãã§ããï¼ããã¢ã¤ãã¢ã¯æã«ã³ã¢ã¡ã³ãã¼ã§ã¯ãªã人ãã¡ããåºããããã¨ããã*1ï¼ä»ã¾ã§ãã£ã¦æ¥ãããã«ï¼ã¿ããªã®ã¢ã¤ãã¢ããã£ã¼ãããã¯ï¼è¦æ ãå°æ¥ã«æ¸¡ã£ã¦ 100% æè¿ããï¼ç§ã¯ï¼ãªã¼ãã³ã³ãã¥ããã£ãï¼ããä¸è¬çã«ã¯ãªã¼ãã³ãèªä½ãéæ¹ããªã価å¤ãããããã¨ä¿¡ãã¦ãã¦ï¼ãããã Ruby ã®å°æ¥ãå°ã
ã¬ããªã±ã¼ã·ã§ã³ã®è¨å® movedã«ãã Replication ã®ä¾ããã£ã¦ã¿ã ãã¹ã¿ã¼å´ % mkdir ulog-1 % ttserver -port 1978 -ulog ulog-1 -sid 1 casket-1.tchãã¡ãã¯é常ã®è¨å®ã§ããï¼1ã¤æ´æ°ãã°(ulog)ã®é¨åã追å ããã¦ãã¾ãï¼ååã¯æ´æ°ãã°ã¯ãã¡ã¤ã«ã ã¨æã£ã¦è¨å®ãããã§ããï¼å®ã¯ãã£ã¬ã¯ããªãæå®ããã¹ãã§ããï¼ãã㯠MySQL ã§ãããã¤ããªãã°(binlog)ã«ç¸å½ãããã®ã§ãããããï¼ä¸èº«è¦ãã¨ï¼ ã¹ã¬ã¼ãå´ % mkdir ulog-2 % ttserver -port 1979 -ulog ulog-2 -sid 2 -mhost localhost -mport 1978 -rts 2.rts casket-2.tchã¹ã¬ã¼ãå´ã§ã¯ãã¹ã¿ã¼ãæå®ãã¾ãï¼mhost ããã¹ã¿ã¼ã®ãã¹ãåï¼mp
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}