Earlier quoted context omitted.
I haven't really been following yarn or web pack. Can you give an example of how it changed your life?
Using npm alone is like using bundler without a Gemfile.lock. If one person does `npm install` today, and a new teammate does `npm install` in a month, the new teammate will install different versions . With yarn, there is a yarn.lock to make sure everyone gets the same versions when they run `yarn install`. Also, yarn is way faster.
Ruby on Rails 5.1
31–35 of 35 posts
Re: Ruby on Rails 5.1
#32Earlier quoted context omitted.
You're right, but curiously every post announcing Rails 5.1 at the time got nowhere on HN: https://hn.algolia.com/?query=rails%205.1&sort=byPopularity&... I think there's now too much going on and too few people reading /newest for the HN front page to be a resaonably accurate representation of the big stories if a key Rails release didn't even make it at the time :) Seen quite a few similar instances as well. (The r…
Or more people are just moving on from Rails. I used to religiously follow every release. That ended shortly have the first few 3.x releases
Re: Ruby on Rails 5.1
#33I'm still surprised they removed the formatting for db/schema.rb which I rely on quite a bit to remind myself what properties models have, whether or not their status can be set to null, and how many digits of precision my decimal columns have. I went as far as writing my own formatter which consumes the db/schema.rb generated string and outputs another string with better formatting. The code is kinda shaky because I…
You should check out the `annotate` gem.
Re: Ruby on Rails 5.1
#34Earlier quoted context omitted.
Using npm alone is like using bundler without a Gemfile.lock. If one person does `npm install` today, and a new teammate does `npm install` in a month, the new teammate will install different versions . With yarn, there is a yarn.lock to make sure everyone gets the same versions when they run `yarn install`. Also, yarn is way faster.
There is npm shrinkwrap, but the yarn folks will tell you yarn is better.
Re: Ruby on Rails 5.1
#35Earlier quoted context omitted.
I haven't really been following yarn or web pack. Can you give an example of how it changed your life?
Using npm alone is like using bundler without a Gemfile.lock. If one person does `npm install` today, and a new teammate does `npm install` in a month, the new teammate will install different versions . With yarn, there is a yarn.lock to make sure everyone gets the same versions when they run `yarn install`. Also, yarn is way faster.