You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Spring Bootã«ããAPIããã¯ã¨ã³ãæ§ç¯å®è·µã¬ã¤ã 第2ç ä½å人ãã®éçºè ããInfoQã®ããããã¯ãPractical Guide to Building an API Back End with Spring BootããããSpring Bootã使ã£ãREST APIæ§ç¯ã®åºç¤ãå¦ãã ããã®æ¬ã§ã¯ãåºçæã«æ°ãããªãªã¼ã¹ããããã¼ã¸ã§ã³ã§ãã Spring Boot 2 ã使ç¨ãã¦ãããããããSpring Boot3ãæè¿ãªãªã¼ã¹ãããéè¦ãªå¤...
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Ken Mazaikaããã®2015å¹´1æ31æ¥ä»ã®ããã°è¨äºãWhy Iâm betting on Elixir And why you should too, unless you want to become a maintenance programmer.ã®ç¿»è¨³ã§ãã [翻訳] Elixir - 次ã«æ¥ã大ç©Webè¨èªãããã§ããããªããRailsã®ããã°ã©ããããã¡ããããã¢ããèªã£ã¦ããã§ãããElixirãã ã¡ã³ããã³ã¹ããã°ã©ãã«ãªããããªããã°1ããªãã¦ã¿ã¤ãã«ãããã¦æçºçã§ããç§ã®3ã¤åã®ä»äºã¯ã¾ãã«ããããä¿
Help us understand the problem. What is going on with this article? Rails3.2ããRails4.2ã«ä¸ãããActiveRecordãé ããªã£ãã®ã§ãã©ããã£ã¦èª¿æ»ãã¦ãã©ã®ããã«å¯¾å¦ããããèªã£ã¦ã¿ããã ã¨ã¦ãé·ãã®ã§ããã«ã人ã¯æåã¨æå¾ã ãèªãã°ããã§ãã TL;DR ç°å¢: Ruby 2.1.5 ARãªãã¸ã§ã¯ãã大éã«(ãã£ãã750kããã)loadãããããå¦ç 3.2ç³»ã§ã®å®è¡æéã¯ç´480secã 4.2ç³»ã§ã¯ç´2900sec ç´6åã®æ§è½å£å åå : preloadã§æ§è½å£åãã¦ã CollectionProxyã®çæå¨ãã§é ããªã£ã¦ã Rails4ããARãªãã¸ã§ã¯ãã®1attributeæ¯ã«Objectçæããã®ã§é ã GCã®æéãå¢ãã 調æ»æ¹æ³: Githubã®commitãIssueã
çæ§ã¯ããã¾ãã¦ãspicelifeã¨ã³ã¸ãã¢@yuki3738ã¨ç³ãã¾ãã ããã¾ãã¦ããã§ã¨ããããã¾ããæ¬å¹´ãå¼ç¤¾ãµã¼ãã¹ã®tmixã¨ï¼¼SPOTLIGHTSï¼ããããããé¡ãç³ãä¸ãã¾ãã ãã¦å¹´æ«ã®ãã¨ã§ã¯ããã¾ããããªãã¨ããããçæ§ã大好ããªãã®ãã¬ã¼ã ã¯ã¼ã¯ãRuby on Railsã«ã³ã³ããªãã¥ã¼ãããã¾ããã ä»åã¯ã¨ã³ã¸ãã¢æ´ç´åå¹´ã®ç§ãã©ããªã¤ã³ããçµç·¯ããã£ã¦ã³ã³ããªãã¥ã¼ãã«ã¾ã§è³ã£ãã®ããã¾ãããã«ãã£ã¦ã©ããªå¦ã³ããã£ãã®ããã話ããããã¨æãã¾ãã rails dbãã§ããªã äºã®çºç«¯ã¯å¼ç¤¾ãããã¯ãã®ä¸ã¤ã§ããtmixã®dbã®ä¸ãè¦ããã¨rails dbã³ãã³ããå©ãããã¨ããå§ã¾ãã¾ãã Railsã¨ã³ã¸ãã¢ã ã£ãã確å®ã«ãä¸è©±ã«ãªãã§ããããã®ã³ãã³ãããªãããããã®tmixã®ãªãã¸ããªã§ã¯èµ·åãããã¨ãã§ãã¾ããã§ããã rails dbãå ¥åãã
Rails / RSpec / Ruby 1. é層ãåãã¦ã¢ãã«ãä½ã ã¾ãã¯rails gã³ãã³ãã§ã¢ãã«ãä½ãã¾ããããã¦ãã®å ´åã¯ãäºãã«é¢é£ã®ããè¤æ°ã®ã¢ãã«ãä½ããã¨ã«ãªãã¾ããããããã¢ãã«ã¯åãé層ã®ä¸ã«ç½®ãããã«ãã¾ãã ä¾ãã° $ rails g model Blog::User name:string profile:text $ rails g model Blog::Post user:references permalink:string title:string content:text ã¨ããããã«ã¢ãã«ãä½æãã¾ãã 2. ãã¼ã¿ãã¼ã¹å¶ç´ã追å ãã Railsãçæããmigrationã«ã¯ãã¼ã¿ãã¼ã¹å¶ç´ãè¨å®ããã¦ããªãã®ã§ããã®ã¾ã¾ã§ã¯ã¨ã³ã¿ã¼ãã©ã¤ãºç¨éã«ã¯ä½¿ãã¾ããã åºæ¬çã«NOT NULLå¶ç´ã¨UNIQUEå¶ç´ã¯å¿ ãè¨å®ãã¾ãããå¤é¨ãã¼ã
æè¡é¨ã®é´æ¨ (@eagletmt) ã§ãã ã¯ãã¯ãããã§ã¯8æã«æ¬ä½ã¢ããªã±ã¼ã·ã§ã³ã API ãµã¼ãçã§ä½¿ããã¦ãã Rails ã®ãã¼ã¸ã§ã³ã 3.2 ãã 4.1 ã¸é 次ã¢ããã°ã¬ã¼ããè¡ãã¾ããã ã¢ããã°ã¬ã¼ãã¯ä¸»ã«æ¾ç°ãã (@amatsuda) ã¨ç§ã§é²ãã¾ããã ãã®è¨äºã§ã¯ã¢ããã¬ã¼ãã®éã«ééããåé¡ã®ä¸é¨ãç´¹ä»ãã¾ãã MySQL strict mode ã®æå¹å MySQL ã使ã£ã¦ããå ´åãRails 4.0 ããããã©ã«ã㧠@@SESSION.sql_mode = 'STRICT_ALL_TABLES' ãæåã«å®è¡ãããããã«ãªãã¾ãã (Ruby on Rails 4.0 Release Notes) ã ãããç¡å¹åããããã« database.yml 㧠strict: false ã¨ããè¨å®ãç¨æããã¦ãã¾ãã ããããåãã Rails 4.0
ãããã£ã¦æä½ã£ãKeynoteãçºãã¦ããããããªãè¯ãè³æã ã¨æãåæ²è¼ãã¦ã¿ã¾ãã (ã¯ã¦ãªãã¤ã¢ãªã¼|ããã°ã«ã¯åãã¦ã§ã)ã RubyWorld Conference 2013 ã®çºè¡¨è³æã§ãã RubyãRuby on Railséçºè ãå¢ããããã¨èãã¦ããéçºããã¼ã¸ã£ã¼ããªã¼ãã¼ã®æ¹ã¯æ¯éèªãã§ã¿ã¦ä¸ããã社å ã§æè²ãããã¦è¡ãéã«å½¹ç«ã¤ãã³ããããããæ¸ããã¦ããã¨æãã¾ã (èªç»èªè³ ^^;)ã
ã¢ã¼ã¿ã¼ã¹ãã¼ãã¨Webããã°ã©ãã³ã°ã®ä¸¡æ¹ãç¥ã人ã«ã¨ã£ã¦ã¯å¤§ããªãã¥ã¼ã¹ã§ãã ã¿ã¤ãã«ã®éããRailsã®ä½è ã¨ãã¦ç¥ãããDHHãã«ãã³24æéèä¹ ã¬ã¼ã¹ãã¢ããã¥ã¢ã¯ã©ã¹ã§1ä½ã«ãªã£ãã¨ã®ãã¨ã§ããï¼å ¨ä½ã§ã¯17ä½)ã¾ãããã®ãµã¤ãããã¹ãã¼ããã¥ã¼ã¹ã®ãµã¤ããåç §ããã¨ã¯äºæ³å¤ã§ãããçµæãä¼ãããã¥ã¼ã¹ã«ããDHãã³ã½ã³ãã®æåãã Wikipediaã®DHHã®ãããã£ã¼ã«ã«ããã¨ãã«ãã³24æéèä¹ ã¬ã¼ã¹ã¸ã®åæ¦ã¯ä»å¹´ã§3å¹´ç®ã§ãåçã¨ä¸¦ãã§å½¼ã®ã趣å³ãã§ããã¨ã®ãã¨ãã¾ãSimple Talkã®ã¤ã³ã¿ãã¥ã¼ã®è¨äºã«ããã¨ã·ã«ãã¼ã¹ãã¼ã³ãã¹ããªã©ã«ãã³ä»¥å¤ã®ã¬ã¼ã¹ã«åæ¦ãã¦ããããã§ãã https://www.simple-talk.com/opinion/geek-of-the-week/david-heinemeier-hansson-geek-of-the-wee
ãããªè¨³ã§ãCoffeeScript ã触ãå§ãã¦åå¹´å¼±ãTypeScript ã触ãå§ãã¦1ã¶æå¼±ã»ã©çµã¡ã¾ãããã¾ã ã¾ã æ¥ã¯æµ ãã§ããããã¡ãã両æ¹ã¨ãå®åæ¡ä»¶ã«ã¦ä½¿ç¨ããã¨ãããã¨ã§ããããã§åæ¹ã«å¯¾ããæ¯ãè¿ããç°¡åã«ãã¦ããã¨ãã¾ãã CoffeeScript ã«ã¤ã㦠http://coffeescript.org/ å¦ç¿éå§ææ: 2014å¹´1æé å§ãããã£ãã: Middleman ã Ruby on Rails ãæ¨æºãµãã¼ããã¦ãããããé¢åãªç°å¢æ§ç¯çãããªãã¦æ¸ãã ãã Ruby ã Haml ã®ãããªããã¹ãéã®å°ãªãææ³ã好ã¿ã ã£ããã ãããªè¨³ã§ã¨ã£ãããã¨ãã¦ã®åºç¤å¦ç¿æéã¯ã ããã2ãï¼æ¥ãããã§ãããããæ¢åã®ãããã¯ã·ã§ã³ã³ã¼ãã CoffeeScript ã«æ¸ãæãã¤ã¤å®æ¡ä»¶ã«åãå ¥ãã¦ããã¾ããã ããã¾ããªç¹å¾´ è¦ã¯ JavaScript ãã
éå»è¨äºãRuby on Rails 4.0RC1ã¨Bootstrapã®è¨å®ãã¯ããªãªã¼ã¹åè£1ã§Bootstrapã使ããªããªã£ãããã«è¬ããå¿æ¥å¦ç½®çãªæ¹æ³ã§ãããããã®å¾ãRails 4.0ãæ£å¼ãªãªã¼ã¹ããã以åã®è¨å®æ³ï¼æ¬å½ã¯ãã¡ããæ£çµ±æ´¾ï¼ã§Bootstrapãç°¡åã«ã»ããã¢ããã§ããããã«ãªãã¾ããã以ä¸ããã®è¨å®æ³ãæçã«ã¾ã¨ãã¦ã¿ã¾ããã
å¹´æ«ã«ã¦ãã¬ã¸ããã®ã¨ããã§ã¡ãã£ã¨ä»äºã®ãæä¼ããããã¦ããã ããã®ã§ããã®æã®å 容ããç´¹ä»ããã¦ããã ãã¾ãã â ã¦ãã¬ã¸ã£ã¦ä½ï¼ iPadããã£ãã·ã¥ã¬ã¸ã¹ã¿ã«å¤ãã¦ãã¾ããµã¼ãã¹ã§ããä¼è¨ããã¬ã·ã¼ãã®å°å·ã¾ã§ãã£ã¦ããã¾ããæè¿é£²é£åºãªã©ã§ã¬ã¸ããªãiPadã ããç½®ãã¦ãããåºãªã©ãæ£è¦ãããã¨æãã¾ãããã¢ã¬ãããã§ããä¸è¬çãªãã£ãã·ã¥ã¬ã¸ã¹ã¿+åºèã·ã¹ãã ãããã¯ããã«å®ä¾¡ã§å°å ¥ã§ããããã使ããããã¨ããã®ãã¦ãªã§ãã éçºè çã«è¨ãã¨ãScalaã¢ãã«ã³ã®@kmizuãããiOSã¢ãã«ã³ã®@k_katsumiãããªã©ãå¨ç±ããã¦ãã¾ãã¦ãã¨ã³ã¸ãã¢ã®ã¬ãã«ãé«ãã§ãã â éçºã¹ã¿ã¤ã« å°äººæ°ã®ãããå³å¯ãªã¦ã©ã¼ã¿ã¼ãã©ã¼ã«ç®¡çãã¢ã¸ã£ã¤ã«/ã¹ã¯ã©ã ãªã©ã¯ç¡ãããã±ãã/Issueãã¼ã¹ã®éçºã«ãªã£ã¦ãã¾ããgithubããã«æ´»ç¨ãã¾ãããã¹ã¦Pull Request(以
Browse Topics All 2 Computer Science Gaming More Browse Topics Recent Activities Home 2 Room available Create Room @juan 3Â months ago Lets play today 1 Joined Gaming @Weloveu 3Â months ago Lets learn python 2 Joined Computer Science Recent Activities lopez05.jl62@gmail.com 3Â months ago replied to post âLets play today Hola weloveu638@gmail.com 3Â months ago replied to post âLets learn python looks g
Redmineã®ã¢ã¼ããã¯ãã£ãç¥ãããã®æ¹æ³ãå ¬éãã¦ããè¨äºãã¡ã¢ã ããã¯ç´ æ´ãããã ãå ãã¿ã Redmine ã® ERD ãæãã¦ã¿ã¾ãã - kiwamuæ¥è¨ MOONGIFT : Railsãè¦ããåãRailRoadã ãªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢/ããªã¼ã¦ã§ã¢ãæ¯æ¥ç´¹ä» RailRoad diagrams generator ruby-graphviz ã使ã - Loud Minority GraphvizãRubyãã使ã | Jottin, Jotting! Railsãè¦ããåãããã¼ã«RailRoadã使ãã°ãã³ã³ããã¼ã©ãã¢ãã«ä¸è¦§ãèªåçæã§ããã çä¼¼ã¦ãã£ã¦ã¿ãã gem install ruby-graphviz gem install railroad railroad -o controller.dot -C railroad -o model.
ã¡ãã£ã¨åã« Redmine ã調ã¹ã¦ããã®ã§è¼ãã¦ããã¾ããæ©è½ã¨ãã¦ã®ç¹å¾´ã¯æ¸ç±ãããã¤ãåºã¦ããã®ã§ãããããåèã«ããªãã触ã£ã¦ã¿ãã°ããã¨ãã¦ãæ¸ç±ã«ãªãããå°ãå®è£ ããã®ã¨ãããæ°ã«ãªããã®ã§ãã ãã¼ã¸ã§ã³ã¯ä»¥ä¸ã®ã¨ããã % svn info URL: http://redmine.rubyforge.org/svn/trunk ãªãã¸ã㪠UUID: e93f8b46-1217-0410-a6f0-8f06a7374b81 ãªãã¸ã§ã³: 2819 ã¾ãã¯å ¨ä½æãææ¡ãããã¨ãRailRoad ã試ãã¦ã¿ã¾ãããGraphviz ãå¿ããã«ã¤ã³ã¹ãã¼ã«ãã¦ããã¾ãã % gem install railload % cd redmine_home % railroad -o controller.dot -C % railroad -o model.dot -M % nea
Ruby on Rails ãã¥ã¼ããªã¢ã« å®ä¾ã使ã£ã¦ Rails ãå¦ã¼ã ãããã¯ãéçºã®ï¼âï¼ãå¦ã¹ã Webãµã¼ãã¹ãåµããªããå¦ãã§ãã大åãã¥ã¼ããªã¢ã«ã§ãã解説åç»ã質å対å¿ãæä¾ãã¦ãã¦ãç波大å¦ãçç大å¦ãªã©ã§ãæ¡ç¨ããã¦ãã¾ããRailsãã¥ã¼ããªã¢ã«ã§èªåã®ãªãªã¸ãã«ãµã¼ãã¹ãåµã£ã¦ã¿ã¾ããã? åèè ããï¼æ¥æ¬ã®èªè ã®çæ§ã¸ Ruby on Rails Tutorial ããã¾ã¤ãã¨ããã²ã (Matz) æ°ã®æ¯èªã§ããæ¥æ¬èªã§ãèªããããã«ãªã£ããã¨ãå¬ããæãã¾ããããæ°å¹´é㧠Matz ãæ¥æ¬ã® Ruby éçºè ã®æ¹ã ã¨ãä¼ããã¾ããããå½¼ãã®æè¡çãªæè¦ã¨è¦ªåãã¯ãã¤ãç§ã«æéãä¸ãã¦ããã¾ãã ã¾ããå®å· è¦å¹³æ°ãå «ç° æä¸æ°ãå§ãã¨ããå¤ãã®ååè ã®æ¹ã ã Rails Tutorial ã翻訳ãã¦ããããã¨ãå æ ã«æãã¾ããå½¼ãã®ç´ æ´ãããææã«æè¬ã
Herokuã®å ¬å¼ããã¥ã¡ã³ãã¯è±èªãªã®ã§èªã¿ã¥ããã§ããããherokaijp/devcenterã®ããã«ãæå¿ãæ¥æ¬èªè¨³ãã¦ããã¦ããããã¥ã¡ã³ããããã¾ããããã®ä¸ã§ãç¹ã«æãã¦ãããã16åã®å¸¸èã«ã¤ãã¦æãã¦ã¿ã¾ãããï¼16æ¥ã«å ¬éããäºå®ã®è¨äºãªã®ã§ãä½ã¨ãªã16åæãã¦ã¿ã¾ããããï¼ ï¼è£è¶³ï¼Herokuã使ãä¸ã§ã®ç»å ´äººç©ã®åå Dyno ãã ãã®ãã¨å¼ã³ã¾ãã1Dynoã¨è¨ã£ãã¨ããä¸ã¤ãµã¼ããç«ã¡ä¸ãã£ã¦ãããããªãã®ã ã¨èãã¦ä¸ããã Routing Mesh Herokuã¢ããªã«ã¢ã¯ã»ã¹ããã£ãã¨ãã«ãDynoéã®è² è·ããã¼ããã©ã³ã¹ããªãããªã¯ã¨ã¹ããæ¯ãåããæ©æ§ãRouting Meshã¨å¼ã³ã¾ãããã¾ã«ãRouter Errorãã¨ãããã°ãåãã®ã§ããããã®ã¨ãé害ãèµ·ãã£ã¦ããå ´æã¯ããã§ãã 常è1. Dynoã¯1æéã¢ã¯ã»ã¹ããªãã¨ã¢ã¤ãã«ç¶æ ã«ãªã
Forkwell Nite #2ã®çºè¡¨ã¹ã©ã¤ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}