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.

Boost your content focussed site with Structured Page Fragments

A tutorial outlining how to integrate Rails with SPF.js, A lightweight JS framework for fast navigation and page updates from YouTube. [more inside]

Link seems to be broken
Working link: http://lorefnon.me/2015/11/26/boost-your-content-focussed-site-wi…
Thanks for pointing it out … I have updated the link.

Shrine 1.0.0 released

A month ago I released Shrine, a new solution for file uploads in Ruby, and now it has reached 1.0.0. There are a lot of new features, improvements and fixes, take a look at the release notes.

How does this compare to Paperclip?
I’ve made a blog post about Shrine a month ago which explains the main ideas, a…
Very nice, I loved the code design. Is Refile going to be maintained in future?…
Well, Refile will probably continue to be maintained as it is now, but I’m not …

Making controller logic easier to test, by removing it from the controller

The gem can be found here: It’s inspired by trailblazer, but sticks more to how rails is laid out. To use the default functionality, for each of your actions, you can just do: render json: model or however you want to render the response. model is a memoized method that looks up an operation and policy and applies whatever custom logic you want to implement. Checkout the readme for details. [more inside]

How to Write Future-proof Mocks in RSpec 3

Tests are an important component in most software applications. Whether tests drive the development, or are bootstrapped on after the fact, tests need to be reliable for future development to progress. An application’s complexity rises with time. During and after this increase, ensuring that a test suite makes the right assertions and mocks in an intelligent and sturdy way is crucial.

Static Site Generator of the Year 2015 - Middleman or Jekyll?

Hello, For today’s Vienna.html (static site) meetup I’ve prepared a talk titled “The World’s Greatest (Free) Static Site Builders / Generators”. Browse the slides (use space to flip through) or the all-in-one page source. What your favorite static site builder / generator? Jekyll? Middleman? Nanoc? Any other? Vote for Year 2015 Award on Twitter. Cheers.

FYI: Thanks for voting (24 hours). The results (32 votes): 1 Jekyl…
Loading older posts