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.

How Should My Rails App Talk to Redis?

While you’re writing your Rails app, you might run into a problem that you could solve more easily with a different data store. For example, you might have a leaderboard that ranks users by the number of points they got for answering questions on your site. With Redis Sorted Sets, a lot of the implementation is done for you. Awesome! But where do you put the code that interacts with Redis?

How to Evaluate Your Rails JSON API for Performance Improvements

Let’s say your company’s product is a mobile app that gets its data from an internal JSON API. The API, built using Rails, is a few years old. Response objects are large, request latency is high, and your data indicates mobile users aren’t converting because of it. Here’s how to evaluate your Rails JSON API for performance improvements.

Clean up your RubyMotion code with Teacup

In the past few episodes we’ve been taking a look at some of the gems available to make your development faster, your code cleaner and more ruby like, as well as generally make you a happier developer. The series continues with this episode where I’m going to show you how to convert an existing view to use Teacup instead. I wanted to show you something a bit more complicated than the Zaggstar app we’ve been looking at in the previous two episodes, so we’re going to be taking a look at Blapp again, the application from the CDQ episode. We’ll be converting the detail view for a post to use Teacup’s DSL instead, and to finish off, we’re going to improve things by using Teacup’s constraint helpers to setup AutoLayout. [more inside]

The Free World Football Almanac (900+ Teams, 10+ Tournaments) Built w/ Ruby Gem (sportdb)

Hello, The football.db - a free open public domain football dataset - now includes Ruby templates and scripts that let you build a complete book. See the “The Free World Football Almanc” (PDF w/ 100+ pages) live or the all-in-one HTML page version. Still a little rough and early stage but always adding more teams n tournaments and working on improving the layout/design. More info at the project site.

FiniteMachine 0.1.0 Released!

I’ve written finite_machine Ruby gem, a minimal state machine implementation with (hopefully) intuitive DSL. What sets it apart from other state machines is that it requires no integration with other frameworks or mixin inclusion. It aims to provide everything a state machine should have and nothing more. Please see README for full list of features and please review, follow and use the project!

Padrino (Web Framework) 0.12.0 Released!

We are excited to announce the 0.12.0 release of our Sinatra-powered framework! With support for Ruby 2.1, a smarter rendering engine, enhanced template support, a rewritten reloader, a more powerful cache store and more, this marks an exciting time for the Padrino community. If you are a Rails developer or have worked with Sinatra, we invite you to check out how Padrino is the perfect complement to Sinatra. Check out the upgrade guide to migrate your project from an older version.

Loading older posts