2015-10-01ãã1ã¶æéã®è¨äºä¸è¦§
åããªãä¾ invoke active_record /Users/thr3a/.rvm/gems/ruby-2.2.1/gems/activerecord-4.2.4/lib/active_record/connection_adapters/connection_specification.rb:177:in `rescue in spec': Specified 'mysql2' for database adapter, but the gem is noâ¦
ãè¬ã¯å¤§ä¸å¤«ããè¬ããããããè¬ããããããããããã ãã大ä¸å¤«ããã大ä¸å¤«ãâ¦â¦ï¼ ããããå®è¡ãã¡ã¤ã«ã¯ä»¥ä¸ "C:\Users\USERNAME\AppData\Local\atom\app-1.0.19\atom.exe" ãã©ãã®ãã¹ããã®ã¾ã¾ç»é²ããã®ã¯åé¡ããããã¨ããã®ã ã¦ã¼ã¶ã¼ãã¼â¦
ããã¨æããããï¼ï¼ä¸çºã§ã§ããã®ãï¼ãªããã ãªããã DOMAttrModified ãããããããfirefoxéå® ã¦ãéæ¨å¥¨ window.addEventListener("load", function(){ document.body.addEventListener("DOMAttrModified", function(e){ console.log("changed"); â¦
n1 = 114 n2 = n1 n1 = 514 n2 =>114 o1 = {num:114} o2 = o1 o1.num = 514 o2 =>Object {num: 514} s1 = new String("abc") s2 = new String("abc") s1 == s2 =>false
ç°å¢ Rails Redcarpet ãªãã·ã§ã³ãã£ã ã¿ããªã´ãªã´ãªæ¸ãã¦ããã©ä¸çºã§ãããã render_options = { link_attributes: { rel: 'nofollow', target: '_blank' } } renderer = Redcarpet::Render::HTML.new(render_options) ããã§rel="nofollow" target="â¦
2019å¹´2æ15æ¥è¿½è¨ éãå·®ããã Railsã®Time::DATE_FORMATS[:default]ã¯å¤æ´ããªãã»ãããã - Qiita è¦ã¯ããã©ã«ããããããªãã¨ã確ãã«ããªãã»ã©ã以ä¸ã®ææ³ãåºãªãã£ãã®ã§ Time::DATE_FORMATS[:custom] = '%Y/%m/%d %A' Time.zone.now.to_s(:cusâ¦
ä¸è¬çãªã³ã¼ãï¼éåæï¼ var fs = require('fs'); console.log(1); fs.readFile('first_promise.js', 'utf8', function (err, text) { console.log(2); console.log(text); console.log(3); }); console.log(4); å®è¡çµæ 1 4 2 var fs = require('fs'); câ¦
mb_convert_caseã¡ã½ããã ãç¥ã£ã¦ããã°æå¼·ãããæã£ã¦ããææãã¼ãã«ãããã¾ããã 大æåãå°æåã«å¤æ
ã¾ãã¯ã°ã°ãã ã°ã°ã£ã¦æåã«åºã¦ãããµã¤ãã«ãã㨠s1 = Date.parse("2010/01/23") s2 = Date.parse("2015/04/12") s = Random.rand(s1 .. s2) ãããä¸è½randã¡ã½ãã def time_rand from = Time.local(0), to = Time.now Time.at(rand(from.to_f..to.tâ¦
ãµã¤ãã«ãã£ã¦ãã©ãã©ã ãã¾ã¨ããªãã¨æ»ã¬ æºå customerã¢ãã«ã¨orderã¢ãã«ãä½ã£ã¦ç´ä»ããã Customerã¢ãã«ã®ä½æ rails g model Customer name:string Orderã¢ãã«ã®ä½æ rails g model Order order_date:date ãã¤ã°ã¬ã¼ã·ã§ã³ rake db:migrate å½â¦
mp3ã®ãã¡ã¤ã«ãµã¤ãºã¨ãã¬ã¼ããªãã«ãã£ã¦å¤±ãããé«é³åãç¡çãã復å ããã¦ã¿ãï¼é«é³è³ªã«ãªãã¨ã¯è¨ã£ã¦ãªãï¼ ç¨æãããã® Upconv ä»å㯠upconv074.lzhãå©ç¨ 復å ãããmp3ï¼ãããããwaveã«å¤æãã¦ããï¼ ããããé«æ§è½ãªPCï¼ãã£ã¡ãCPU使ãâ¦
æ°è¦ããã¸ã§ã¯ãä½æ rails new hoge -TB --skip-turbolinks --skip-coffee --skip-active-storage --skip-action-mailer -Tã¯--skip-test-unit -Bã¯--skip-bundle Gemfileã«ä»¥ä¸è¿½è¨ gem "twitter-bootstrap-rails" gem "slim-rails" ã©ã¤ãã©ãªã¤ã³ã¹ãã¼â¦