Wed, Oct 3, 2018
Phoenix version 1.4 onwards will be using webpack as a module bundler for javascript. This blog post is about the steps which I followed to switch from brunch to webpack in an existing Phoenix project.
Clone Phoenix Since Phoenix 1.4 is unreleased as of when this blog is published, we will generate a new project using Phoenix source installer. Clone Phoenix and run -
cd phoenix/installer mix phx.new dev_app --dev Run npm install in dev_app/assets folder.

Mon, Aug 6, 2018
Ruby 2.5.0 was recently released.
Earlier to Ruby 1.9 Hash#fetch method would raise IndexError for an invalid key. An IndexError is raised when the given index value is invalid.
irb(main):001:0> hash = { 'foo' => 'bar' } irb(main):002:0> hash.fetch('foo') IndexError: key not found from (irb):2:in `fetch' from (irb):2 from :0 KeyError class was introduced in Ruby 1.9 and it inherits from IndexError class. It is raised when the specified key is not found.

Tue, Feb 20, 2018
Ruby 2.5 was recently released.
IO class is the basis for all input and output. You can use the public methods of IO class to open, write, read and close the IO stream. The close method makes the IO stream unavailable for any further data operations. Ruby’s IO#close which would earlier raise an error with message “stream closed”, but it is refined to “stream closed in another thread”. The new message is more clear for the user.