New Netguru Gem Will Help You Integrate React And Redux With Rails
I’ve been involved in the development of the react_webpack_rails gem, which provides simple and lightweight integration of Rails, React and Weback. This gem allows one to build rich user interfaces with a modern JavaScript stack on top of Rails applications. You can find more info about react_webpack_rails in this github repo.
ImageMagick vulnerability does not affect Paperclip
There is no need to upgrade Paperclip in light of CVE-2016–3714. You may choose to upgrade ImageMagick regardless.
Testing Your Style With ESLint and Mocha
Use ESLint and Mocha to generate tests for the style of your codebase.
Production edge case with using a SCSS manifest file with the Asset Pipeline
Today I found an interesting edge case in using SASS or SCSS in Rails with the asset pipeline. The manifest file in this Rails application was an application.scss file and was using @import statements instead of require statements. However, two of the lines were: @import "chosen/chosen.css"; @import "flowplayer/flowplayer.css"; These look innocent enough. But when the application was deployed to production, the application.css file started with @import url(chosen/chosen.css); @import url...
Rails 5 adds a way to get information about types of failed validations
Container-Ready Rails 5
Rails 5 will be the easiest release ever to get running on Heroku. You can get it going in just five lines:
Comparing Rails: Exploring WebSockets in Phoenix
One of the biggest features in Rails 5 is WebSockets. Seems like this feature has been inspired in part by Phoenix, the Elixir web framework. In this article, we take a look at creating a real-time Twitter stream heatmap using Elixir and Phoenix. The idea is to hook into the Twitter sample stream and plot […]
Gem Dependency Issues with Rails 5 Beta
Posted by Patrick Lewis |May 2, 2016 Tags: dependencies, dependency management, gem, rails, ruby, Ruby on Rails, rubygems
Introducing Empties – Unstyled Components
Announcing the latest addition to the Bourbon suite! Meet Refills less fashionable sibling, Empties, a new library of components that are completely – or for the most part – unstyled.
5 Ways to Write Sass That Plays Well With Others
Sass is an excellent tool for front-end designers and developers. It can improve the CSS authoring experience and help you quickly build out your design system. Like any tool, however, it can be misused. When working with teams or working on projects that will be handed off to a client, it is important to maintain your Sass in a clear, easy to understand way so that others can quickly learn how to implement and iterate on the design system.