Railsã§Pageãã£ãã·ã¥ãããåºãæ´»ç¨ããæ¹æ³ãèãã¦ã¿ã¾ããã以ä¸ãã¡ãã£ã¨é·ãåç½®ããç¶ãã¾ãã Railsé æ Railsã¯é ããä½ãé ãã£ã¦ãRubyãé ãã¦Routingãé ãã¦RDBã¨RHTMLãé ããRDBãé ãã®ã¯å¤§æµã®Webã¢ããªã±ã¼ã·ã§ã³ã§ã¯å¤ãããªã話ãã§ãã ããRailsãªãããè©ä¾¡ãããä½å°ããããã ãããRubyãRHTMLã®é ãã¯æè»æ§ã®ä»£åã¨ãã¦åãå ¥ãããããªã«ããRDBããã¨ãã¨é ããã ããããã ãRoutingã¯ç¡é§ã«é«æ©è½ã ã£ãããã¦é ã«ãããRhino on Railsã®Steve YeggeãRoutingã¯é»éè¡ã ã¨è¨ã£ã¦ããããç§ã¯ActionPackã®å ¨ã¦ãé»éè¡ã ã¨æããã©ã ãããã訳ã§ãRoutingãCã§æ¸ãç´ãã®ã¯ããªã³ã ã®ã¿ãªããããã¤ããã£ã¦ãããã¨æå¾ ããã¨ãã¦(å¯è½ãªãæä¼ããããã©ã)ãå½é¢ã®å¯¾å¿ã¨ãã¦ã¯ãã£ãã·ã¥
ãããã»ã»ã»Rails3ã¯ããã§ãã(ï½ï½¥Ï・´) ï½ Rails2ã¨ã¯ãªãã ã£ãã®ãã»ã»ã»ã¨ããã¬ãã«ã®å®æ度ã§ã ãªãã¨ãªãç´å¾ããªãã¾ã¾Rails2ã使ã£ã¦ããç§ãã Rails3ã«ãªã£ã¦ããã¯ããªããªã«ä½¿ãã¾ããã§ã*1 ãããªRailsãåããAppãµã¼ãã¨ãã¦ã 以åããå®çªã«ãªã£ã¦ããã®ãpassengerã§ãã¦ã ç§ãApacheãnginxã¨çµã¿åããã¦ä½¿ã£ã¦ã¾ãã*2 ãã ãæè¿ããè³ã«ããã®ãnginxã«unicornãçµã¿åãããæ§æã§ã http://unicorn.bogomips.org/ åã ããæ°ã«ãªã£ã¦ãããã®ã®ããªããªãæãã¤ããããªãã£ãã®ã§ããã ä»äºã§ããã©ã¤ãã¼ãã§ãã¡ããã©Rails3ã¢ããªããªãªã¼ã¹ããã¿ã¤ãã³ã°ã ã£ãã®ã§ã nginx+unicornã®ç°å¢ã試ãã¦ã¿ã¾ãã ãªããé常ã«ç´°ããªè§£èª¬ãããè¯è¨äºãããã¾ãã®ã§ã ãã²ãã¡ããå
ITã¨ã³ã¸ãã¢åãã®è³ªåã»åçã³ãã¥ããã£ãQA@ITãã§ããRSpec ã®ãã¹ããããããã¤ãããªã¼ãã³ã½ã¼ã¹ã® Rails3 ã¢ããªã¯ããã§ãããããã¨ãã質åã«å¯¾ãã¦åçããã¨ãããå°ãã¯ã¦ããä»ãããããããã§ããRailsã«éããªãããããã¾ããããã¡ãã£ã¨ãããµã³ãã«ã³ã¼ããç°¡æãªã¢ããªã¨ããã®ã¯ããããããã®ã§ãããããããã®è¦æ¨¡ã®ã¢ããªããããã¯å®éç¨ããã¦ããã¢ããªã§åèã«ã§ããã½ã¼ã¹ã³ã¼ãã¨ãªãã¨ãæå¤ã«ããã¨æãä»ããªãã£ãããã¾ãããRailsã¢ããªãªãããããèªããã¨ããã¹ãã¢ããªã®ãªã¹ããããã°ããã®ã«ã¨ãããæã£ãããã¦ãã¾ãã ãããªããã§ããã¾èªãã¹ãã ã¨ç§ãåæã«èãã¦GitHubã®ã¦ã©ãããªã¹ãã«å ¥ãã¦ããRails3ã¢ããªãã10åã»ã©ãªã¹ãã¢ãããã¦ã¿ããã¨æãã¾ãï¼å ¨é¨ã§11åã§ããï¼ãã»ãã«ãªã¹ã¹ã¡ãªã©ãããã°ããã²ã³ãã©ã§æ å ±ããå¯ããã ãã
279: Asset Pipelineãç解ãã (view original Railscast) Other translations: Other formats: Written by Naomi Fujimoto Asset Pipelineã¯Rails 3.1ã®ãã£ã¨ã大ããªæ°æ©è½ã§ãããåæã«ãã£ã¨ãæ··ä¹±ããããæ©è½ã§ãããã¾ããä»åã®ã¨ãã½ã¼ãã§ã¯ããã®Asset Pipelineãã©ã®ããã«Railsã¢ããªã±ã¼ã·ã§ã³ã®ã¢ã»ããã管çããããè¦ããã¨ã«ãã£ã¦ãå°ããã®ç¥ç§æ§ãåãé¤ãã¦ããããã¨æãã¾ããããAsset Pipelineã«ã¤ãã¦ã¾ã£ããç¥èããªãå ´åã¯ãRails Guideã®Asset Pipelineã®ãã¼ã¸ãå¤ãã®æ©è½ã説æãã¦ããã®ã§ãã¾ãããããå§ããã®ãããã§ãããã Rails 3.1ã¢ããªã±ã¼ã·ã§ã³ãæ¸ãããã¨ãããæ¹ãªããhttp://
Rails on NaCl çµ±åéçºç°å¢RadRailsãå©ç¨ãã RadRails 㯠Rails ã®çµ±åéçºç°å¢ã§ãEclipse ããã¼ã¹ã«ä½æããã¦ãã¾ãã ãã®ãã¼ã¸ã§ã¯Linuxä¸ã«ãããä¸è¬çãªRadRailsç°å¢ã®ä½ææ¹æ³ã¨ãRadRailsç°å¢ä¸ã«ããããã¼ã¸ã§ã³ç®¡çã®æé ã«ã¤ãã¦ç°¡åã«èª¬æãã¾ãã Eclipseã®ã¤ã³ã¹ãã¼ã« RadRails ã®ã¤ã³ã¹ãã¼ã«ã¯ãEclipse ãå梱ããã¦ããã¤ã³ã¹ãã¼ã©ããã¾ã¨ãã¦ã¤ã³ã¹ãã¼ã«ããæ¹æ³ã¨ãEclipse ã®ã¢ãããã¼ãæ©è½ãå©ç¨ã㦠Eclipse ã«ãã©ã°ã¤ã³ã¨ãã¦ã¤ã³ã¹ãã¼ã«ããæ¹æ³ã®2種é¡ãåå¨ãã¾ãã ããã§ã¯ Eclipse ã«ãã©ã°ã¤ã³ã¨ãã¦ã¤ã³ã¹ãã¼ã«ããæ¹æ³ãç´¹ä»ãã¾ããæ¢ã« Eclipse ãã¤ã³ã¹ãã¼ã«ãã¦ããæ¹ã¯[RadRailsãã©ã°ã¤ã³ã®ã¤ã³ã¹ãã¼ã«]ã«é²ãã§ãã ããã Eclipse SD
Introduction 第1ç« : for Ruby users (4) ã»CRUD operations ã»Assocations 第2ç« : for Rails users (15) ã»With Scope ã»Scoped Access 第3ç« : for Rails developers (17) ã»Acts As View ã»Finder Query CRUD : ActiveRecord Pattern require 'rubygems' require_gem 'activerecord' ActiveRecord::Base.eatablish_connection( :adapter=>"sqlite3", :db=>"db/users.db" ) class Member < ActiveRecord::Base # "members" e
ããã«ã¡ããããã°ã©ãã®å·å£ã§ããä»åã¯Backbone.jsãCoffeeScriptã§è¨è¿°ããRuby on Railsã¨çµã¿åããã¦å©ç¨ããç°¡åãªãã¿ã¼ã³ã試ãã¦ã¿ã¾ãããCoffeeScriptã¯é常ã«ç°¡æ½ã«JavaScriptãè¨è¿°ã§ããä¸ã«å¦ç¿ã³ã¹ããä½ãã®ã§ããããã§ããæè¿ã¯JavaScriptãããã¸ã§ã¯ãå ¨ä½ã®ã³ã¼ãã«å ããå²åã大ãããªã£ã¦ãã¦ãã¾ãããããã«æ¯ä¾ãã¦ãã¯ãã¡ã³ããã³ã¹æ§ãå¯èªæ§ãä¸ãã£ã¦ãããã¨ãããäºåã«å¯¾å¿çãå¿ é ã§ãã Backbone.jsã¨ã¯ã»ã»ã»ã¨ãã¯å¥ã«ãããã¹ã¨ãï¼dwangoããã®Backbone.jsè¨äºãè¦ã¦ãã ãã(å®å ¨ã«ãã¿ãã¶ãã§ããæ¬å½ã«ãããã¨ããããã¾ãã)ã åæºå ãã¼ã¸ã§ã³ã¯ãããªæãã Ruby on Rails 3.1.1.rc1 CoffeeScript version 1.1.2 Backbone.js
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}