2013-01-01ãã1å¹´éã®è¨äºä¸è¦§
ãã¾ãã¡ããã¨åç¥ãã¦ããªãã£ãã®ã§ãããHack Design èªæ¸ä¼ã¯ãã¶ã¤ã³ãã®ãã¼ãºã¨ååãå¤ããåå¼·ã®å 容ãããªãã¹ãæãåããã¦åå¼·ããå½¢ã«ã·ãããã¦ãã¾ãã ãããªãã¶ã¤ã³ãã®ãã¼ãºãååã§ç¬¬6åãè¿ãã¾ãããHack Design èªæ¸ä¼ã¯10åã¾ã§â¦
sanemat ãããä½ã£ã¦ãã tachikoma ã¨ãã gem ãããã¾ããtachikoma ã®æ©è½ã¯ç°¡åã«è¨ãã¨ãgithub ã®æå®ã®ããã¸ã§ã¯ã㧠bundle update ãã¦ãå·®åã pull request ãã¦ããã rake ã¿ã¹ã¯ãã§ããcron ã jenkins ãªã©ã§å®æçã«å®è¡ããããã«ããâ¦
rake_shared_context ã¨ãããrake ã¿ã¹ã¯ããã¹ãããéã«ã¹ãã㪠shared context ã gem ã«ãããã®ãããã¾ããããããã¼ã¸ã§ã³ã¢ãããã¾ããã ãã¼ã¸ã§ã³ã¢ããããã¨ãã« RubyGems.org ã確èªããããå°å³ã« 2000 ãã¦ã³ãã¼ãããã¦ãã¦é©ãã¾ããâ¦
Hack Design èªæ¸ä¼ããããã ã¨ããã¨ã³ããªãæ¸ãã¦ããç´äºã¶æãéãâ¦ãHack Design èªæ¸ä¼ã¯å æ¥8æ8æ¥ã«ç¬¬8åç®ãè¿ãã¾ããï¼å°è¦æ¨¡ãªåå¼·ä¼ã§ãããç²ã ã¨ç¶ç¶ãã¦ããã¾ãã ãã¶ã¤ã³ãåå¼·ãããã¨æã£ã¦ããæ¹ã®æ°ã¯ãããªãã«å¤ãã®ã§ã¯ãªããâ¦
ä¸è¨ã®ãããªã³ã¼ããhoge ã¢ã¯ã·ã§ã³ã«ã¯ authenticate_user! ãå¹ãã¾ããã class RegistrationsController < Devise::RegistrationsController before_filter :authenticate_user!, only: :hoge def hoge; end end ãªãããauthenticate_user! ã«è©²å½ãâ¦
7æ16æ¥(ç«)ã« ginza.rb 第1åãéå¬ãã¾ããã Ginza.rb 第1å strong parameters - Ginza.rb | Doorkeeper ãã£ãã㨠ä»åããã³ã¼ããªã¼ãã£ã³ã°éå§ã§ããæåã®ãé¡ã¯ãRails 4 ãã追å ããã strong_parametersãRails 4 ã®ã³ã¢ã«çµã¿è¾¼ã¾ãã¦ãã¾ãâ¦
gimei ããã¼ã¸ã§ã³ã¢ãããã¦ã0.1.0 ã«ãã¾ããã2celebãããã pull request ãæãã¦ããããããã«åãã㦠API ãæ´åã主ãªå¤æ´ç¹ã¯ä¸è¨ã®ããã«ãªãã¾ãã ãµã³ãã«ãã¼ã¿ãæ¡å (ç´14000è¡ã®YAMLã«ï¼) ç·å¥³ãæå®ãã¦ååãè¿ãAPIã追å ã³ã¼ãä¾ â¦
gimei ã¨ãããã©ã³ãã ã§æ¥æ¬äººã®ååãè¿ã gem ãä½ãã¾ããã ä¼¼ããããªã©ã¤ãã©ãªã« faker ãããã¾ããfaker ã¯äººã®ååã ãã§ã¯ãªããä½æãã¡ã¼ã«ã¢ãã¬ã¹ãã¦ã¼ã¶åãé»è©±çªå·ãªã©ãããããã®ã¸ã£ã³ã«ã®ããã¼ãã¼ã¿ãè¿ãã¦ãããããã gem ã§â¦
å æã«ginza.rb 第0åãéå¬ãã¾ãããã¡ãã£ã¨é ãã¾ããããã£ãå 容ãªã©ãæ¸ãã¾ãã ãã£ãã㨠Ruby on Rails 4.0 Release Notesãé ããä¸éããã£ããèªãã§ãRails 4.0 ã®æ°æ©è½ã¨å¤æ´ç¹ãåå¼·ãã¾ããã ã¾ãã4.0 ã§ã®å¤§ããªè¿½å é ç®ãªã¯ãã® Stroâ¦
Tokyo Rubyist Meetup (trbmeetup) seeks to help bridge the Japan and international ruby and ruby on rails community. ã¨ãããã¨ã§ãæµ·å¤ã®æè¡è ã¨ãã¼ãã¢ããã§ããã³ãã¥ãã㣠Tokyo Rubyist Meetup ã«ååå ãã¾ããï¼ ä»åã®ãã¼ãã¢ããã§ã¯ãâ¦
Introducing Capybara 2.1 â Elabs ãèªãã§ã®ã¡ã¢ã§ãã capybara 2.1 ã 2.0 ã¨åãæåã«ãã capybara 2.1 ã 2.0 ã¨åãæåã«ããã«ã¯ä¸è¨ã®ããã«è¨å®ãã Capybara.configure do |config| config.match = :one config.exact_options = true config.iâ¦
ä¾ãã° User ã¢ãã«ã§ devise ãè¨å®ããã¨ãããã°ã¤ã³ç¨ã®ãã¹ã¯ /users/sign_inããã°ã¢ã¦ã㯠/users/sign_out ã«ãªãã¾ããå人çã«ã¯ /login /logout ã®æ¹ã好ã¿ãªã®ã§routes.rb ãä¸è¨ã®ããã«ãã¾ããã devise_for :users, skip: [:sessions] devisâ¦
ä»æ¥è¡ããã TokyuRubyä¼è°06 ã«åå ãã¦ãenglish.rb ã«ã¤ã㦠LT ããã¦ããã ãã¾ããï¼ ã¹ã©ã¤ãã¯ä»¥ä¸ã ä»å㯠english.rb ã®å®£ä¼ã¨ãããã¨ã§ãè±èªã§LTããã¦ã¿ã¾ãããã¨ãã«è±èªã®LTãæ±ãããã¦ããªãä¸ã§ãããããã®ã¯å°ãæµæãããã¾ãããâ¦
revengerã¨ããã復ç¿ãå¹æçã«ããããã®webãµã¼ãã¹ãä½ãã¾ããã åã¯ããèªåã®ããã®å¦ç¿ã¡ã¢ãããã°ã evernote ã«æ¸ãã®ã§ãããæ¸ãã¦ããè¦è¿ããã¨ãã»ã¨ãã©ããã¾ãããçµæãå¾ã«ãªã£ã¦ãããï¼ãããªã®æ¸ãã¦ãã£ãï¼ãã¨ãªããã¨ãå¤ãã§â¦
ã¡ããã© 2 å¹´ã»ã©åã«Capybara ã® README ã訳ãã¾ãããããã 2 å¹´ã®éã« Capybara ã 1.x ç³»ãã 2.1 ã«ãªãã訳ã®å 容ãå¤ããªã£ã¦ãã¾ããç¾å¨ã®ä»æ§ã¨ã¯çç¾ããé¨åãåºã¦ãããä»èªãã 人ã¯æ··ä¹±ãã¦ãã¾ãããããã¾ããã ã¨ãããã¨ã§ææ°ã®å 容â¦
ã¨ããããã§ãenglish.rb ã¨ãã facebook ã°ã«ã¼ããä½ãã¾ãããRubyKaigi ã«åå ãã¦ãè±èªã®åå¼·ãããªãããªã¼ãã¨æã£ãæ¹ã¯æ¯éãåå ä¸ããã
solr(tomcat) ã®ã¢ã¯ã»ã¹å¶éã®ã¡ã¢ã§ãã åæ nginx, solr(tomcat), rails ã¢ããªãå ¨é¨åä¸ã®ãµã¼ãã«æ··å¨ãã¦ã ããããã㨠solr ã® admin ãã¼ã¸ã«ãã¼ã·ãã¯èªè¨¼ããããã solr ã®æ¤ç´¢é¢é£ã®ã¯ã¨ãªã¯ rails ã¢ããªããã®ã¿ã«å¶éããã(IP å¶éããâ¦
æ°ããå°åRubyã³ãã¥ããã£ãginza.rb ãå§ãã¾ãã 第0åç®ã®ãã¼ãã¢ããã 6/18(ç«) ã«ããã¾ãã®ã§ãæ°ã«ãªã£ãæ¹ã¯ãã²ç³ãè¾¼ã¿ãã ããï¼ Ginza.rb 第0å - Ginza.rb 第0åã§ã¯ Rails 4 ã§ã®æ°æ©è½ããã§ãã¯ãã¾ãã次åãã㯠Rails 4 ã®ã½ã¼ã¹ã³ã¼â¦
RubyKaigi 2013 㨠RubyHiroba 2013 ã«åå ãã¾ããã以ä¸ææ³ãã¤ãã¥ãã«ã RubyKaigi RubyKaigi ã«åå ãããã³ã«ããã£ã¨åå¼·ããªãã¨ãããªãï¼ã¨ããæ°æã¡ã«ãªãã¾ãã è±èª ã¾ãè±èªãåã¨åãããã«ãè±èªåå¼·ããªããã°â¦ã¨æã£ãRubyistãå¤ãã®ã§â¦
ä»æ¥è¡ããã RubyHiroba 2013 ã«åå ãã¦ãminitest vs rspec ã¨ããã¿ã¤ãã«ã§ LT ããã¦ããã ãã¾ããï¼ åå¹´ã»ã© minitest & rails 3.2 㧠web ã¢ããªéçºããã¦æãããã¨ãç°¡åã«ã¾ã¨ãããã®ã«ãªãã¾ããç´ äººã®æ¹ã Rails & minitest ã«æãåºãã®ã¯â¦
ãããªãã«å¤§ãããªRailsã¢ããªãæ¸ãã¨ããCells ã使ãã¨é¨åãã³ãã¬ã¼ãåä½ã§ controller ã®ãããªãã®ãä½ããã¨ãã§ãã¦ãcontroller ã®è¥å¤§åãé²ããã¨ãã§ãã¾ããããã¸ã便å©ã§ãã Cells ã«å¯¾ãã¦ã®ãã¹ããæ®éã«æ¸ãã¾ãããparams ã cookieâ¦
@satococoa ããããp4d ã§æ¸©æ³ããã«ã½ã³ãããããã©ã ãã主å¬ãã¾ããããã¨è¨ã£ã¦ããã®ã§æãä¸ãã¦ä¸»å¬ãã¦ãã¾ãããã¡ããã©ãããããã¾ãå宿ããããã¨æã£ã¦ããææã ã£ãã®ã§æ¸¡ãã«è¹ã åå®¿å ´æã¯å»å¹´ã®å¥ã®å宿ã§ã使ã£ãã¯ããã®ãã£ã½ãâ¦
ããã¾ã§ããããVPSã®ãµã¼ã(CentOS 6.3) ã§ããªãã https ã®ãªãã¸ããªãã git clone ãã§ãã¾ããã§ãããä»ã®ãããã³ã«ã使ãã°åé¡ãªã clone ã§ããã®ã§ããããªãã¨ãªãæ°æã¡æªããä»æ¥ãããã解決æ³ãåãã£ãã®ã§ã¨ã³ããªã¨ãã¦æ®ãã¦ããã¾ãâ¦
表é¡ã®éãã®ã¡ã¢ãrails ã§ä¸é¨ã®ãã¹ã ã http ãä»ã¯ https ã«ããããªã¼ã¨æã£ã¦ãã£ãã調ã¹ãã®ã§ããã 調ã¹ãã㨠Rails 3 ã§ã¯ config.force_ssl = true ã¨ããã rack-ssl ã使ããã Rails 4 ã§ã¯ ActionDispatch::SSL ã使ããã ã½ã¼ã¹è¦ãæãâ¦
coffee script ã®ãã¼ã¸ã§ã³ãä¸ããããã¹ãããããããã«ãªãã¾ãããåé¡ã¨ãªã£ãã®ã¯ä¸è¨ã®ãããªã³ã¼ãããã㯠1.4 ã§ã¯åãã¾ãã 1.5 ã ã¨ã³ã³ãã¤ã«ã¨ã©ã¼ã«ãªãã¾ãã func 'arg' hoge: 'fuga' é¢æ°ã«æ¸¡ãå¼æ°ãè¤æ°ã§ããã¤æ¹è¡å¾ã«ãªãã¸ã§ã¯ãâ¦
æåãªRailsç¨èªè¨¼ãã©ã°ã¤ã³ã§ãã devise ã¯ãæ©è½æ¯ã«ã¢ã¸ã¥ã¼ã«åããã¦ããå¿ è¦ãªç©ã ããé¸ãã§ä½¿ããã¨ãã§ãã¾ããä¾ãã° Confirmable ã¨ããã¢ã¸ã¥ã¼ã«ã使ãã¨ä¼å¡ç»é²æã«ç¢ºèªã¡ã¼ã«ãé£ã°ããã¨ãã§ãã¾ãããã ãããã©ã«ãã§ã¯ã¡ã¼ã«ã¢ãã¬ã¹â¦
ransack ã¯ã¡ãã便å©ãªæ¤ç´¢ç¨ gem ã§ãããã©ã¡ã¼ã¿ã® name å±æ§ã§æ¤ç´¢æ¡ä»¶ãå®ç¾©ã§ããã®ã§ãå¤æ°ã®æ¤ç´¢é ç®ããã£ã¦ã¹ã¯ã©ããã§æ¤ç´¢ãã¸ãã¯ãã¤ããã®ãããã©ãã®ã§ã¼ã webã¢ããªãªã©ã§çµ¶å¤§ãªå¨åãçºæ®ãã¾ãã ãã ä¸ã¤ã®åé¡ã¯ããã¥ã¡ã³ããã¨ã¦ãâ¦
æ°´ææ¥ã« 第0å Hack Design èªæ¸ä¼ ãéå¬ãã¾ããã 第0å Hack Design èªæ¸ä¼ - connpass ãªãã§ç¬¬0åãªã®ï¼ connpass ã®æ¹ã«ãæ¸ãã¦ã¾ãããHack Design 㯠åéãå¤ãï¼ å 容ãæ¬æ ¼ç(ãªã®ã§é£ãã)ï¼ è±èªï¼ ãªã®ã§ãé²ãæ¹ããã¡ãã¨èããä¸ã§ããâ¦
以åä½ã£ã Rspec 㧠rake ã¿ã¹ã¯ããã¹ãããç¨ã® gem ã«åã® pull request ãæ¥ãã®ã§åãè¾¼ã㧠0.0.2 ã«ãã¼ã¸ã§ã³ã¢ãããã¾ããã ããã¾ã§(0.0.1)ã¯ããã¹ã対象㮠rake ãã¡ã¤ã«ã®ã¿ãèªã¿è¾¼ãä»æ§ã«ãã¦ããããããã¹ã対象å¤ã®ãã¡ã¤ã«ã«å®ç¾©ããâ¦
Rails 4.0.beta1 ã§ã¢ããªä½ã£ã¦ã¿ããã¨ãã¦ãéä¸ã§ bundle install --binstubs ã¨ãããããªãã rails generate ãªã©ã®ã³ãã³ããå¹ããªããªã£ã¦ãã¾ãã¾ããããããã¯ãRails 4.0 ãçæãã bin/rails ã bundler ããªã¼ãã©ã¤ããã¦ãã¾ã£ããã¨ãåâ¦