A gem providing âtime travelâ and âtime freezingâ capabilities, making it dead simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.
FlexãRuby on Railsãªã©ã§ä½¿ãæ¹ã¨ããèªåãå¾ã§ãããããã«ã¡ã¢ãã¦ããããã°ãæè¿ã¯Flexç³»ã«é£½ãã¦ã¾ãã Railsã§Webã¢ããªã±ã¼ã·ã§ã³ãä½æãã¦ããã¨ãå½ç¶ã§ãããããã³ãå´ã®ç»é¢ã¨ç®¡çç¨ã®ç»é¢ã®äºç¨®é¡ãã§ãã¦ãã¾ã ãã®éã«ãããã³ãå´ããã¯å½ç¶ã§ããã管çç¨ã®ç»é¢ãè¦ããããªãã¨ããå ´é¢ãåºã¦ãããã¨æãã¾ã ãã®å ´åãApacheçã§IPå¶éããããããããªã©ã®å¯¾çãèãããã¾ãããRailså´ã§æ¬¡ã®ããã«ãããã¨ãã§ãã¾ã ç°å¢ Rails 3.1.1, Ruby 1.9.2 Rails.configurationã¨routesãçµã¿åãããæ¹æ³ ã¢ããªã±ã¼ã·ã§ã³ã¯ä»¥ä¸ã®ããã«ãªã£ã¦ããã¨ãã¾ã app/controllers âââ admin â  âââ books_controller.rb âââ application_controller
2013å¹´12æ2æ¥æ´æ°: åç §ããããã¨ãå¤ãã®ã§ Rails 4 ã®æ å ±ã訳注ã¨ãã¦è¿½è¨ãã¾ãããã¾ããRails 4 ã«é¢ããæ å ±ã¯ã WEB+DB PRESS Vol.73 ãé常ã«åèã«ãªãã®ã§ãä¸èªããããããã¾ãã ãã®æç« ã¯ Mitch Crowe æ°ã®ããã°ãã 2012å¹´4æ14æ¥ã®è¨äºã翻訳ãããã®ã§ãã The 10 Most Underused ActiveRecord::Relation Methods http://blog.mitchcrowe.com/blog/2012/04/14/10-most-underused-activerecord-relation-methods/ æ¨æ¥ã¯ ActiveRecord::Relation ã®ã³ã¼ãã«èã¾ã§æµ¸ãã£ã¦ã使ããã¦ããã®ãããã¾ã§å ¨ç¶è¦ããã¨ããªãé¢ç½ããã²ãããæãåºããã¦ãããããã®è¨äºã§ãååã«æ´»ç¨
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}