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.

slideshow (S9) RubyGem Update - Adds npm Template Pack Support - $ npm install slideshow-impress.js

I’ve updated the slideshow (S9) machinery. Now you can use npm to install slideshow template packs (e.g. s5, s6, slidy, deck.js, etc.). For example to install the slideshow-impress.js pack type: $ npm install slideshow-impress.js No magic here. The npm package manager will download and copy the package to your working folder in the node_modules/ folder. That’s it. Now the template pack is ready to use with Slide Show (S9) e.g. try $ slideshow new -t impress.js and so on. More details at the Slide Show (S9) project site. Cheers.

Applying SitePrism.Vcr to stub API calls triggered by events in SitePrism sections

Recently I have had to stub API responses in our tests when an user uses pagination. We have the pagination similar to the pagination of Facebook: you scroll down and you receive new items in the list. It was challenging, because SitePrism.Vcr only allows you to link VCR cassettes with elements and pages. [more inside]

How to Keep Bad Abstractions From Handcuffing Your Code

What happens when you have a bad abstraction? You have to dig out the API reference every time to understand what that method that clearly should have been named leaderboard is actually called. And whenever you touch the code, something breaks, and you blow the rest of your day trying to debug it (because you tweaked position, but didn’t update score at the same time). So how do you build good abstractions, while staying far away from the bad?

Loading older posts