One of the things that has made Rails so popular is the ease and speed with
which small teams can use it to spin up full-stack applications.
Unfortunately, I take this for granted and often prioritize that "ease and
speed" over writing clean code (although of course I… »
D3.js [https://d3js.org/] is a JavaScript data visualization library. D3 uses
HTML, CSS and SVG to provide a powerful, flexible library for manipulating the
DOM and displaying data. D3 is third-party library, meaning it's easy to
incorporate into any kind of web app; simply link to… »
You're probably familiar with PhantomJS's use in headless testing of web
applications. It's used for launching tests for Capybara, Jasmine and other test
frameworks.
But wait, there's more!
> Since PhantomJS is using WebKit, a real layout and rendering engine, it can… »
In a recent post
[https://www.thegreatcodeadventure.com/using-action-controller-renderers-in-rails-5-with-devise/], we
took a look at using Rails 5's new ActionController.renderer to render a
template outside of a controller action.
This approach offers us a lot of flexibility, but it might be overkill for some
situations. In the feature… »
Rails 5 offers a new option for template rendering, allowing us to render views
outside of controller actions. This feature will make it easy to render views
from background tasks.
This excellent and very clear blog post from
[https://evilmartians.com/chronicles/new-feature-in-rails-5-render-views-outside-of-actions]
by Rails contributor Ravil Bayramgalin [https://github.… »