2017年2月24日のブックマーク (3件)

  • Introducing Webpacker

    With the ever-changing JavaScript world, one important thing that has been lacking in Rails was support for proper bundling system for JavaScript assets, but from Rails 5.1 this is going to change with the introduction of new Webpacker gem. Rails 5.1 ships with webpack and yarn via the –webpack option and out of the box integration with React, Angular, vue, elm and more coming soon. PrerequisitesR

    Introducing Webpacker
    tikkss
    tikkss 2017/02/24
  • ものを頼む技術 - やしお

    頼みごとを成立させるには、「筋を通す」と「情を満たす」のいずれか(できれば両方)を満足させないといけない。 仕事でもプライベートでも両方欠けた状態で平気で頼みごとをする人がいて、せめてこの認識を正しく持ってほしいと思うことがたびたびある。「両方欠けた頼みごと」とは極端に言えば、いきなり見知らぬ人に空き缶を渡して「これ捨てといて?」と言い放つようなことだ。これでは頼みごとを聞いてもらえない。 筋を通す 映画館でゴミ箱の前で待つスタッフにゴミを渡す、店員に商品の場所を聞く、ホテルのドアマンにドアを開けてもらう……同じことをもし見知らぬ別の客に頼めば「はあ?」となる。筋とは、「この人が当然そうすることになっている」というものだ。筋を外した頼みごとをすれば当然「どうして私がそんなことをしなくちゃいけないの?」となって頼み事は成立しない。 さすがに今挙げたような極端な例で筋を踏み外す人はほとんどいな

    ものを頼む技術 - やしお
    tikkss
    tikkss 2017/02/24
  • Rails 5.1.0.beta1: Loving JavaScript, System Tests, Encrypted Secrets, and more

    Rails 5.1.0.beta1: Loving JavaScript, System Tests, Encrypted Secrets, and more Rails 5.0 was released just some eight months ago, and now, some 3500 commits later, we’re already close to the next big release. And what release this version 5.1 is lining up to be! We’ve made great strides on long-term promises and key ergonomics while also spring cleaning a bunch of deprecated code. Let me walk you

    Rails 5.1.0.beta1: Loving JavaScript, System Tests, Encrypted Secrets, and more
    tikkss
    tikkss 2017/02/24
    めでたい!・・けどつらい“This means 4.x and below will essentially be unsupported!”