COUNT関数 (指定したカラムの行数を取得する) MySQL では COUNT 関数を使用することで引数に指定したカラムの行数を取得することができます。ここでは MySQL における COUNT 関数の使い方について解説します。
Active Record Nested Attributesの記事の抜粋です。 accepts_nested_attributes_forは、親子関係のある関連モデル(Project has_many :tasks や Enquate has_many :questionsなど)で、親から子を作成したり保存したりするときに使える。 1対1の時 class Member < ActiveRecord::Base has_one :avatar accepts_nested_attributes_for :avatar end params = { member: { name: 'Jack', avatar_attributes: { icon: 'smiling' } } } member = Member.create(params[:member]) member.avatar.id
What's all this then? GFXMonk.net is the dumping ground for my ideas, thoughts and random links. Index: Posts Tags Software I maintain Elsewhere, internet-style: Github twitter Contact me: If you just want to get in touch, you can talk to me in an emailwardly fashion here. defer is something I’ve been working towards in various fashions for many months now. It’s a way of writing asynchronous javas
フェイスブックにおけるオペレーションの自動化戦略を、同社のエンジニアリング担当バイスプレジデントが語る。その根底には「優秀人材を活かす」という明確な意図が見られた。 フェイスブックでのオペレーションの実行は大仕事である。世界中に膨大なネットワークを持ち、サービスの信頼性とユーザー体験の充実が絶対的に重視される。そのうえ、現行の製品・サービスの維持に甘んじてはいられないという現実がある。自社がさまざまなイノベーションの目標を追求できるよう、常に新たな柔軟性と処理能力を生み出すことが求められているのだ。将来を見据えた同社の野心的な取り組みには、コネクティビティ・ラボ(世界中のインターネット未整備地域に接続環境を行き渡らせる計画に取り組む)、人工知能、ディープラーニング、そして次世代のコンピュータ・プラットフォームとなるバーチャルリアリティなどがある。 本記事では、フェイスブックのエンジニアリン
ざっとメモ程度に。 まずは、rbenvを入れる。 必要なパッケージをインストール。 $ sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev(sqlite入れる場合は、上記に libsqlite3-0 libsqlite3-dev sqlite3 を追加) (追記→ふつーに入れた方が色々便利だわ…) (追記→Debian7からはapt-get でrbenv入れられる!ruby-buildも一緒に入る!yay!) $ mkdir ~/.rbenv $ ls -aF #デ
ProductGit Large File Storage v1.0After months of letting our early adopters kick the tires, Git Large File Storage (Git LFS) has reached a 1.0 milestone and is now available to all repositories on GitHub.com.… After months of letting our early adopters kick the tires, Git Large File Storage (Git LFS) has reached a 1.0 milestone and is now available to all repositories on GitHub.com. Git LFS is an
One of the goals that my colleagues and I urge on our clients is that of a completely automated deployment process. Automating your deployment helps reduce the frictions and delays that crop up in between getting the software "done" and getting it to realize its value. Dave Farley and Jez Humble are finishing up a book on this topic - Continuous Delivery. It builds upon many of the ideas that are
Hi, I’m Adam Wiggins I’m working to improve computers in service of human creativity and prosperity. In the past I cofounded Muse (canvas for thinking), Ink & Switch (industrial research lab), and Heroku (web app deployment). I’ve written a retrospective about my time at Muse. At the moment I am a free agent. I design products, build teams, write, podcast, and occasionally invest. I’m from Califor
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く