Code Archive Skip to content Google About Google Privacy Terms
訳è ã®å°åããããç®æ¬ããã ãã¾ããããããã¨ããããã¾ã(ææ³åºé ãã¦ç³ã訳ããã¾ãã)ã ãã§ã«id:authorNariãããæ¸è©ãã¦ãã£ãããã¾ãããããã¯è¯æ¸ã§ããèªåã以å¤ã使ãRailsã¢ããªãä½ã£ã¦ã人ã¯ãä¸èªãã価å¤ããã¨æãã¾ããã åºç¤ã3ç« ãããã¾ã§ã¯ãããåºæ¬çãªRailsã®è©±ãã¤ã¥ãã¾ãããã¡ãããã£ã¨Railsã使ã£ã¦ã身ã¨ãã¦ã¯ãã¨ãªããç«ã¡ä¸ããã ãªãã¨ããææ³ã§ããã ãã4ç« ã®Capistranoããã¯ãã®æ¬ã®æ¬é çºæ®ã åºæ¬çãªè¨å®ç®æãä¸éã説æããã ãã«ã¨ã©ã¾ãããèªåã§ã¿ã¹ã¯ãå®ç¾©ããæ¹æ³ãããã§ä½¿ããå種APIãªã©ãè¸ã¿è¾¼ãã å 容ã«ãªã£ã¦ã¾ããã³ã¼ã«ããã¯ã®èª¬æãªããããã£ã¦(使ã£ã¦ã人ãã¾ã??)ãbefore_before_after_before_deployãªãã¦ããã³ã¼ã«ããã¯ã®å®ç¾©æ¹æ³ãç´¹ä»ããã¾ãã ãã®ããããç§ãã¦ã§ããã£ãª
ï¼ ITç·¨éé¨ 2009/3/25 Ruby on Railsã§ã¢ããªã±ã¼ã·ã§ã³éçºãå§ããå ´åãéçºç°å¢ã®æºåãâã²ã¨æéâã¨ãªããã¨ããããHeroku Gardenã使ãã¨ãWebãã©ã¦ã¶ã ãæºåããã°ããï¼ç·¨éé¨ï¼ Heroku Gardenã¯ãRubyãRuby on Railsãã¤ã³ã¹ãã¼ã«ãããã¨ãªãWebãã©ã¦ã¶ï¼Firefoxï¼ä¸ã§Railsã¢ããªã±ã¼ã·ã§ã³éçºãã§ããçµ±åéçºç°å¢ï¼IDEï¼ã¨ãã¢ããªã±ã¼ã·ã§ã³ã®ãã¹ãã£ã³ã°ãµã¼ãã¹ãæä¾ããWebãµã¤ãã§ãããå¦ç¿ã«æé©ï¼perfect for learningï¼ãã¨ããããã«ãRailsã¢ããªã±ã¼ã·ã§ã³éçºã試ãã¦ã¿ããæ¹ã«ãå§ãã§ãã Webãã©ã¦ã¶ããå©ç¨ã§ããIDEæ©è½ã«æ³¨ç®ãéã¾ã£ã¦ãã¾ãããåæ£åãã¼ã¸ã§ã³ç®¡çã·ã¹ãã ã®Gitã¨ã®é£æºã«ã対å¿ãã¦ããããããã¼ã«ã«ç°å¢ã§ã¢ããªã±ã¼ã·ã§ã³ãéçºãã¦Heroku G
æè¿ã¾ã Rails ã使ãå§ãã¾ãããæã¯ç§ä¸¸ã§ Ruby ã Rails ã®ããã°ã©ã ãæ¸ãã¦ããã®ã§ããã Visual Studio 㧠C# ãæ ¸ã®ã«ãªãã¦ãã¾ãã¨è£å®æ©è½ãå¼±ãã¦ä½¿ãã¥ããæãã¾ããããã§ã Ruby on Railsç¨ çµ±åéçºç°å¢ï¼IDEï¼ æ¯è¼ã¬ãã¼ããåèã«ããªãã Ruby on Rails ããµãã¼ããã IDE ãããããã¨è©¦ãã¦ã¿ã¾ãããè©ä¾¡åºæºã¯ã以ä¸ã®éãã§ãã ç¡æ (æ¥æ¬èªæ å ±ãããã°ããè¯ã) ã¤ã³ããªã»ã³ã¹ã使ãã (*è£å®æ©è½* æéè¦!!) model ã®ããããã£åãè£å®ã§ããã¨ãããã find_by_xxx ã«å¯¾å¿ ã½ã¼ã¹ã³ã¼ãã®åãæ¿ã (model, view, controller) ãç°¡å ãããªã調æ»çµæã«è¡ãã¾ããããä¸ããããããé ã§ãã (CodeGear 3rdRail ã¯ãææãªã®ã§çµå±èª¿æ»ãã¾ããã§ãã
ä¼ç¤¾è¨ç«ä»¥æ¥ã»ã¨ãã©æ´æ°ãã¦ããªãã£ãã®ã§ããã iPhoneã¢ããªçã®éçºã§è£½åãç´¹ä»ãããã¼ã¸ãç½®ãå ´æãå¿ è¦ã«ãªã£ãã®ã§ã Rails-2.3.2ããªãªã¼ã¹ãããäºããããI18nã使ã£ã¦å½éåä»æ§ã®ãµã¤ããä½ãã¾ããã http://ja.www.s21g.com/ æ¥æ¬èª http://en.www.s21g.com/ è±èª å¾æ¥éããhttp://www.s21g.com/ã«ã¢ã¯ã»ã¹ããã¨ããã©ã¦ã¶ã®è¨å®ã«å¾ã£ã¦ãèªåçã«æ¥æ¬èªãè±èªã®ãµã¤ãã«æ¯ãåãããã¾ãã localizationãã¡ã¤ã«ããã£ã¨ç¨æããã°ãISOã§å®ç¾©ããã¦ãè¨èªãªãä½èªã§ã大ä¸å¤«ãªã®ã§ãããã¨ããããã¯jaã¨enã®ã¿ãµãã¼ãã§ãã I18nã®ä½¿ãæ¹ ãã¼ã«ã©ã¤ãºãã¡ã¤ã«ã¯ãããã©ã«ãã§ã¯config/locales/*.ymlã«é ç½®ãã¾ãã mutohããã®ã localeã locale_rails
Ruby on Rails Guides (v8.0.0.1) These are the new guides for Rails 8.0 based on v8.0.0.1. These guides are designed to make you immediately productive with Rails, and to help you understand how all of the pieces fit together. The guides for earlier releases: Rails 7.1, Rails 7.0, Rails 6.1, Rails 6.0, Rails 5.2, Rails 5.1, Rails 5.0, Rails 4.2, Rails 4.1, Rails 4.0, Rails 3.2, Rails 3.1, Rails 3.0
Merbã¨éã£ã¦ãRailsã«ã¯æ¨æºçãªã¦ã¼ã¶èªè¨¼æ©æ§ãç¨æããã¦ããªãã®ã§ã æããæ§ã ãªèªè¨¼ç¨ãã©ã°ã¤ã³ãä¹±ç«ãã¦ãã¾ããã login_generator, acts_as_authenticated, restful_authentication, restful_openid_authentication and so on... ä»åã¯ã@a_matsudaããã @lchinããã®å§ããããã æ¯è¼çæ°ããClearanceã¨ããèªè¨¼ãã©ã°ã¤ã³ã試ãã¦ã¿ãäºã«ãã¾ããã http://github.com/thoughtbot/clearance/tree/master ã¤ã³ã¹ãã¼ã«æ¹æ³ config/environment.rbã« 1 config.gem "thoughtbot-clearance", 2 :lib => 'clearance', 3 :source
Railsã¢ããªã±ã¼ã·ã§ã³ããããã¤ãããã¨ããã¨ãã¾ãã¾ãªåé¡ãçãããããRailsã¢ããªã±ã¼ã·ã§ã³ã®éçºã¯å¥½ãã ããã©ããããã¤ã¯å«ãã¨ããæè¡è ã¯å°ãªãããã¾ãããæ¬æ¸ã¯ã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤æã«æè¡è ãç´é¢ãããã¾ãã¾ãªåé¡ã®è§£æ±ºçãä½ç³»çã«ã¾ã¨ããRailsãããã¤ã¬ã¤ãã§ããæ¬æ¸ã§ã¯ã¾ãRailsã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤ã家æ¢ãã«ãã¨ãã¦è§£èª¬ãã¾ããããã¦ãä¸é£ã®ãããã¤å¦çã®ä¸ã§ãRailsã¢ããªã±ã¼ã·ã§ã³ã®ãã¹ãã£ã³ã°æ¹å¼ã®é¸æããããã¤ã®èªååããµã¼ã管çãã¯ã©ã¹ã¿ãªã³ã°ææ³ã¨ãã£ãé«åº¦ãªãããã¯ã«ã¤ãã¦è©³ãã解説ãã¾ãã ãµã³ãã«PDF ã»ç£è¨³è ã¾ããããè³è³ã®å£°ãã¾ããã ã»6ç« ã»8ç« ç£è¨³è ã¾ããã è³è³ã®å£° ã¾ããã 1ç« ãå®éç¨ç°å¢ã«é©ããã¢ããªã±ã¼ã·ã§ã³ 1.1ãèæ¯ 1.2ãã½ã¼ã¹ã³ã¼ã管ç 1.2.1ãRailsã¨Subversion 1.2.2
ããããã誰ããããæ·±å¤ã®Webãµã¼ãã£ã³ã¯ã究極ã®ã¨ããæéã®ç¡é§ã§ã¯ãªãã®ãããããªãã ããã¯ãWebã§å¤¢ãã¿ã¦ããã®ã«ã»ããªããªãã®ã ã(T.B=ãªã¼ãWebã®åµæããã) ãã¦ãVimå°å ¥ã¡ã¢ãæ¸ãã¦ãããæ©ããã®ã§ããä¸ã¶æçµã£ã¦ãã¾ãã¾ããã ãããã使ãæ¹ã«ãããããæ £ãã¦ããã®ã§ãä»åã¯Vimå°å ¥ã®ä¸çªã®ç®çã§ããã£ãRailséçºã«ã¤ãã¦ã¾ã¨ãã¦ã¿ããã¨æãã¾ãã Railséçºã«å½¹ç«ã¤Vimã¹ã¯ãªãã(å¿ é ) Vim/Ruby Vim/Ruby Configuration Files ããã¯Vimã§Rubyãæ±ãéã®æãåºæ¬çãªæ¡å¼µæ©è½ã¨æãã¾ãã .rb(ruby)ã¨.rhtml(eruby)ã®ãã¡ã¤ã«ã§ã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ããæå¹ã«ãªãã»ãããªã ãè£å®(<C-X><C-O>ã§è¡¨ç¤ºãããèªåè£å®)ã使ããããã«ãªãã¾ãã omniè£å® - ã¢ãã«å ã§ãhasãã¨å ¥å
æ¹é Rubyãç¥ã£ã¦ããåæã§ã(ååã®åå¼·ä¼ã®è³æ http://dev.ariel-networks.com/articles/workshop/ruby/) RDBã®åºç¤ç¥èãåæã§ã ãªãã¹ãæãåããã¦ç®ã«è¦ããå½¢ã§èª¬æãé²ãã¾ã Ruby on Rails(以ä¸ãRails)å ¨ä½ã¯å·¨å¤§ãªã®ã§ãActiveRecord(ORM層)ã«è©±ãéå®ãã¾ã(Web層ã¯æ¬¡å) Webããåãé¢ãã¦irb or ã³ãã³ãã©ã¤ã³ã§ActiveRecordã使ãã¾ã
æè¿è©±é¡ã® ActiveScaffold ã®éçºã¡ã³ãã¼ã§ãããLance Ivyæ°ã®ã¬ãã¼ãã How Rails' Benchmarks Lie Iâve been on a benchmarking blogging spree lately. Creating BenchmarkForRails (B4R) with its non-invasive benchmarking technique has made it very easy to play around with timing of key Rails methods and develop a better picture of the true costs. The results have been amazing. Railsã®ãã³ããã¼ã¯ã§ã¯æ¸¬å®ããããªãé¨åã® ãã³ããã¼ã¯ãå¯è½ã«ãã Benchmark
Special Thanks to a_matsudaãã ------------------------------------------- ã¢ãã«ã®å¤ãå¤æ´ããå¾ãã»ã¼ãããåã«ãå®éã«å¤æ´ãããã©ã¼ã ããªã©ã¨ããæ å ±ãåç §ã§ãã¾ãã âãããªãã¾ã¨ã changed?ãï¼ã¢ãã«ã®å¤ãå¤æ´ãããã©ãã [ã«ã©ã å]_changed?ãï¼ã¢ãã«ã®æå®ããã«ã©ã åã®å¤ãå¤æ´ãããã©ãã [ã«ã©ã å]_wasãï¼ã¢ãã«ã®æå®ããã«ã©ã åã®å¤æ´åã®å¤ [ã«ã©ã å]_changeãï¼ã¢ãã«ã®æå®ããã«ã©ã åã®å¤æ´åã¨å¾ã®å¤ changedãï¼ã¢ãã«ã®å¤æ´ããã«ã©ã åã®ãªã¹ã changesãï¼ã¢ãã«ã®å¤æ´ããã«ã©ã åã®ãªã¹ãã¨ãå¤æ´åã¨å¾ã®å¤ [ã«ã©ã å]_will_change!ãï¼ã¢ãã«ã®æå®ããã«ã©ã ã®å¤ãã= 以å¤ã®æ段ã§å¤ããå ´åã«å¿ è¦ ä¾ã使ãã¨åãããããã§ããã p = Pe
GitHubã§å ¬éããã¦ããRailsãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ããæ¹æ³ã®ã¡ã¢ã§ãã ããã§ã¯ä¾ã¨ãã¦exception_notificationãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ãã ã¨ã¯ãã£ã¦ãç¹ã«å¤ãã£ãäºãããå¿ è¦ãããããã§ã¯ãªãã SVNãªãã¸ããªããã¤ã³ã¹ãã¼ã«ããã®ã¨åæ§ã«ãGitHub ãããã©ã°ã¤ã³ã®URIã調ã¹ã¦ãã¦ã以ä¸ã®ããã«ã¤ã³ã¹ãã¼ã«ãã¾ãã 1 % ./script/plugin install git://github.com/rails/exception_notification.git
= Exception Notifier Plugin for Rails The Exception Notifier plugin provides a mailer object and a default set of templates for sending email notifications when errors occur in a Rails application. The plugin is configurable, allowing programmers to specify: * the sender address of the email * the recipient addresses * the text used to prefix the subject line The email includes information about t
So the wiki doesn't become a tangled mess of information, we have some simple guidelines for contributing. Please try and adhere to them when writing content. It'll make everyone's lives that bit easier. See Translation Guide when you translate the wiki to your local language. If the navigation bar hasn't your languageï¼please ask for it on the following wiki mailing list.
Web ãµã¤ãã®æ´æ°ãéç¥ãã Atom / RSS ãã£ã¼ãã¯ãç¾å¨ã® Web ãµã¤ãã«ãªãã¦ã¯ãªããªããã®ã®ã²ã¨ã¤ã§ããå½ç¶ã WebOS Goodies ã§ãé ä¿¡ãã¦ããããã§ãããç¬èª CMS ã«ç§»è¡ããéã«ããããã®ãã£ã¼ããèªåã§çæããªãã¦ã¯ãªããªããªãã¾ãããããã§ãããã¨æ±ç¨çã«ä½¿ãã Builder ãã³ãã¬ã¼ããä½ã£ã¦ã¿ãã®ã§ãæ¬æ¥ã¯ããããç´¹ä»ãããã¨æãã¾ãã ä¸å¿ã Feed Validator 㧠Valid ã®è©ä¾¡ãè²°ããããã«ãªã£ã¦ãã¾ãã®ã§ããããããã°ãå©ç¨ãã ããã ã¾ãã¯ã½ã¼ã¹ã³ã¼ãã§ããé©å½ã«ã³ãããã¦ä½¿ã£ã¦ãã ããã ãã¡ãã Atom ç¨ã®ãã³ãã¬ã¼ãã atom_feed(:language => 'ja-JP', :root_url => @site_url, :url => @atom_url, :id => @site_url) do
æé ã©ããã«ãã£ã¦ããã°xreaä¸ã§railsã¢ããªãåãããã¯ãã§ãã 注æï¼ã¨ãããããxreaã§Railsãåãããã¨ã«ã¯æåãã¦ãã¾ãããfast cgiã§ã¯åããã¦ãã¾ããã æ¹éã»æ¡ä»¶ xreaã§Rails2.1ãåãããã®ããæ¤è¨¼ãããtodoã管çããç°¡åãªã¢ããªãä½æããxreaä¸ã§CRUDã§ãããã¨ã確èªããããã®ä»æ¡ä»¶ã¯ä»¥ä¸ã®éã ãµã¼ãã¼ã§ã¯productionç°å¢ã§åããã DBã«ã¯sqlite3ã使ç¨ããã xreaã®ãµããã¡ã¤ã³æ©è½ã使ã£ã¦ããã¡ã¤ã³ã®ãããã§åããã 試ããã®ã¯xreaã®ææå¥ç´ãã¦ãªãã¢ã«ã¦ã³ã æé ãã¼ã«ã«ã§ä½æ¥ Railsããã¸ã§ã¯ããä½æãã ããã¸ã§ã¯ãããµã¼ãã¼ã«ã¢ããããæºåããã ãµã¼ãã¼ã§ä½æ¥ ãã¡ã¤ã³ã®è¨å®ããã Rubygemsãã¤ã³ã¹ãã¼ã«ãã Railsããã¸ã§ã¯ããå±éãã Railsãåããè¨å®ããã Rail
Google ã®ã¦ã§ããã°å ¬éãã¼ã«ã使ã£ã¦ãããã¹ããåçãåç»ãå ±æã§ãã¾ãã
ç®æ¬¡ ã¦ã¼ã¶èªè¨¼ä»Railsã¢ããªã®æ§ç¯ãããâãã¾ãã Railsã¢ããªã«Cicindelaã¤ã³ã¿ãã§ã¼ã¹ãå®è£ Cicindelaã®è¨å®ã¨ãããå¦çè¨å® å æ¥Sapporo.rbã§é»ã ã¨èªæ¸ããææã¨ãã¦ãRuby on Railsã®ã¢ããªã«Cicindelaã®ã¬ã³ã¡ã³ãã¼ã·ã§ã³æ©è½ãã¤ãããã¨ãã§ãã¾ããããããªããã§ä½åãã«åãã¦èª¬æãã¦ããã¾ãã ã¾ãã¯Railsã¢ããªãä½ãã¾ãããé¡ã¨ãã¦ã¯ã½ã¼ã·ã£ã«ããã¯ãã¼ã¯ãµã¼ãã¹ã«ãã¦ã¿ã¾ããããã¯ãã¼ã¯ã¢ããªã¯Railsã®èª²é¡æ²ã¿ãããªãã®ã§ãæ £ãã人ãªã10åã§ä½ãã¾ããä»åã¯ããã«å ãã¦ã¦ã¼ã¶ãã¨ã«ããã¯ãã¼ã¯ã§ããããããã°ã¤ã³èªè¨¼ãªã©ã®æ©è½æ¡å¼µãå¿ è¦ã«ãªãã¾ãã å®æçã®ã½ã¼ã¹ã³ã¼ãã¯githubã«ã¦å ¬éãã¦ãã¾ãã Railsã¢ããªã±ã¼ã·ã§ã³ã®ä½æ ä»åã®ç°å¢ã¨ãã¦ã¯ãããªæãã§ãã OS: Ubuntu 8.04 Ruby
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}