【rails 5.1】DBに依存しない静的なデータはわざわざテーブルを作らず、belongs_toやhas_manyも使えるactive_hashを使うと良い - 考えすぎてしまう人のブログ
新しいサイトを作るときには一旦active_hashで仮置きして片っ端から仮modelを作ってしまうようにしています

そうすると作成中に発生するあ、このカラムも付けたほうが良いなによるmigrationファイルの難読化を避けられますし、仮置き部分のコードは完成品と同じものになるので後で直す必要もなくモチベーションも維持しやすいです
rails 
6 weeks ago
How to fix Device Disconnected error during iOS 10.3.3 backups
The problem has its roots in APFS, Apple's new file system introduced in iOS 10.3.0. To summarize, some special characters have 2 distinct Unicode representations: the Spanish ñ for example has a precomposed variant (Unicode U+241) and a decomposed variant (Unicode U+110:n and U+771:̃).
ios  iphone  unicode 
6 weeks ago
« earlier      
activerecord ajax alfred algorithm android animation apache api app applescript arduino art atomio audio authenticate aws base64 bash bike book bootstrap braille bundler camera canvas capistrano cheatsheet chrome ci cli cloud cms coffeescript color command couchdb css css3 csv cucumber datamapper date db debug defaults deploy design development device devise diff docker docx domain dropbox earthquake editor education electron encoding epub error es6 eventmachine express extendscript extension flex font food form framework gem generator gif gist git gitbucket github gitlab glitch gmail golang google grunt guard gulp haml haskell heroku homebrew hook html html5 http hubot hugo i18n icon illustrator image imagemagick indesign instagram ios iphone irb irc java javascript jekyll jenkins jquery jruby json life log machine-learning map markdown math mecab middleman migration minitest module mongodb music mysql nodejs nokogiri notify npm oauth omniauth osx passenger pdf photoshop pinboard plugin postgresql pow processing programming pry python quicklook r rack rails rake rbenv reactjs readline redis redmine reference regex responsive rmagick rspec rss rsync ruby rvm sass scala scriptui scss search security sequel shellscript sinatra spreadsheet sql sqlite3 ssh stationery streaming svg table template terminal test textmate textmate2 time titanium tmbundle tutorial twitter ui unicode usb validation video vuejs webdesign webfont webpack webservice websocket wiki wordpress xml yaml zip

Copy this bookmark:



description:


tags: