RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Decoupling CSS Selectors From Your Tests

For a long time, I’ve been bothered by the problem of using CSS selectors to target DOM elements in my tests (with Capybara). In this short article, I’m going to try Eduardo Gutierrez’s suggestion of using data attributes for targeting DOM elements instead of CSS selectors. Check it out

Cells 4.0 – Goodbye Rails! Hello Ruby!

Cells 4 got released. This version is completely decoupled from Rails, and allows view components in any Ruby environment. Read the release post and why it still allows to use Rails view helpers, why it’s faster than ActionView and where we’re going from here.

This is great news. Enjoyed the humor too!

React and CoffeeScript (cjsx) on Middleman

React and Middleman are not a common pair, but when working entirely on the front-end and digesting a Rails API, it’s really advantageous to stick with a stack you already know. The only viable alternatives are vanilla everything or a js stack. This tutorial will get you up and running so that you can use React with CoffeeScript compiled by middleman and deployed on heroku.

Loading older posts