2012-10-01ãã1ã¶æéã®è¨äºä¸è¦§
EdgeRails.infoè¦ã¦ããæ°ã«ãªã£ãã®ã§èª¿ã¹ã¾ããã æè¿ rails ã® master ã«ã rails 3.x ç³»ã§ãã使ã£ã¦ãã first_or_create ã¨ä¼¼ãã¡ã½ãã find_or_create_by ã追å ããã¾ããããã㦠first_or_create ã®æ¹ã¯ã¡ã½ããã®èª¬æãåé¤ãããdepricated ã½â¦
mac(mountain lion)ã®ã¿ã¼ããã«ã®ã¿ãåãæ¿ãããchrome ã safari ã¨åãããã« Ctrl-TAB ã§ããæ¹æ³ã以åã¯2009/02/25: Ctrl+Tabã§ã¿ã¼ããã«ã®ã¿ããåãæ¿ããæ¹æ³ - ãã¿ããæ¥è¨ã«æ¸ããã¦ããæ¹æ³ã§ãã£ã¦ããã®ã ããã©ãæè¿ãã¾ãåããªãã¦å°â¦
注æ ãã®ã¨ã³ããªã¯æ¥ãã§æ¸ããã®ã§ééããå«ã¾ãã¦ããå¯è½æ§ãé«ãã§ããæ°ã¥ããæ¹ã¯ãææãã ããã åºæ strong_parameters ã¨ã¯ãmass assignment ã§ä½è¨ãªãã©ã¡ã¼ã¿ãã¢ãã«ã®å±æ§ã«ã»ãããããªãããã®æ°ããä»çµã¿ã§ããRails 4.0 ããã¯ããâ¦
ãããHaskell楽ããå¦ã¼ãï¼ã®èªæ¸ä¼ ã¨ã¯å¥ã«ããªã¼ããã«ã³ã¼ãã®èªæ¸ä¼ãç¶ãã¦ãã¦ãå æ¥ã¤ãã«èªäºã«è³ãã¾ããã ãªã¼ããã«ã³ã¼ã âããè¯ãã³ã¼ããæ¸ãããã®ã·ã³ãã«ã§å®è·µçãªãã¯ãã㯠(Theory in practice)posted with amazlet at 12.10.14Duâ¦
ã¨ã©ã¼éç¥ç¨ã®ã¦ã§ããµã¼ãã¹ Airbrake ã® ruby ç¨ãã©ã°ã¤ã³ airbrake ã® README ãä¸é¨å訳ããã¡ã¢ãçºæããã®ã§è¼ãã¦ããã¾ãã airbrake 㯠exception_notification ã¨ã¯éãå種ã®ã¨ã©ã¼ã§ããã°è¤æ°åçºçãã¦ãéç¥ã¯ä¸åã ãéãããã®ã¨ãwebä¸â¦
ããã£ãã®ã§ã¡ã¢ãç´ ã® minitest 㨠capybara ã§ãã¹ããæ¸ãæ¹æ³ãããã¾ãããã¨ãããã試ãã¦ã¿ããªã minitest-rails 㨠minitest-rails-capybara ã使ãã®ãä¸çªæ©ãã§ãã Gemfile ã«ä¸è¨ã®ããã«æ¸ã㦠bundle install group :development, :test dâ¦
#385 Authorization from Scratch Part 1 (pro) - RailsCasts ãè¦ã¦ãã¦æ°ã¥ããã®ã§ã¡ã¢ã Ruby on Rails Documentation ã«æ¸ãã¦ãã£ãã³ã¼ãä¾ãã¿ãã¨åãããã©ãinclude? ã®éãã¿ã¼ã³ã§ãããåºæ¬çã«ã¯ include? 使ãã°ããã¨æãã¾ãããå ´åã«ãâ¦
strong_parameters ã®ã½ã¼ã¹èªãã§ãã Hash#slice ã使ããã¦ãããã¨ã«æ°ã¥ãã¦ããããããããªã¡ã½ãããã£ãã£ãï¼ãã¨ãªã調ã¹ã¦ã¿ã¾ãããã©ããã Rails(ActiveSupport) 㧠hash ãæ¡å¼µãã¦ããããã§ãã å¼æ°ã® key ã ããå«ã hash ãè¿ãã¾ããâ¦
èªã¿ã¾ããã ãããHaskellãã®ããå¦ã¼ã!posted with amazlet at 12.10.03Miran LipovaÄa ãªã¼ã 社 売ãä¸ãã©ã³ãã³ã°: 7299Amazon.co.jp ã§è©³ç´°ãè¦ã 7æããé±ã«ä¸åº¦ã®ãã¼ã¹ã§ããããHæ¬ã®å°äººæ°èªæ¸ä¼ãéå¬ãã¦ãã¾ãã(ã¾ã ç¶ç¶ãã¦ã¾ã)ãåºæ¬â¦