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.

Firewool, a firewalling gem for rails 3

I just published firewool, a rails 3 firewall in sheep’s clothing. It lets you specify IPs you want allowed and blocked with a filter. So you can restrict IP access to controller actions and therefore, URLs. There are more ideas of usage in the README.

Nice, been looking for something like this. But would like to see something hav…
The cookie thing isn’t a bad idea except I don’t want to replace devise/etc. D…

Lazy load your heavy work through dunder

To increase performance typically one might want start multiple heavy tasks concurrent. This is already solvable with threads or the reactor-pattern but setting this up could be cumbersome or require direct interactions with threads etc. What inspired me was the quest to run concurrent database queries within a single request in rails. I just released dunder which tries to solve that problem. For a working example app check this one out: dunder-rails-demo

Real Web Based Console

Couple weeks ago I worked on making a web based shell. Before, I started googling web based shell, but couldn’t find what I was looking for. Later, I decided to start build my own with my own view. I picked Sinatra Web Framework for its ease of use for building APIs. And here I talk about the concept of it.

Introduction to Haml Screencast (6 minutes)

Screencasts.org has released Introduction to Haml, a (free) screencast that introduces you to a popular (but somewhat divisive) Ruby templating library. If you already love/hate Haml, this isn’t going to sway you but if you’re new to it, check it out.

Nice one peter.
I stopped using haml in favor of Slim. Slim is faster, and its slimmer :) …

ROTP - Ruby One Time Password library

I published a gem to generate and verify one time passwords in ruby - gem / github. It’s based on the HOTP/TOTP standard and therefore works with the Google Authenticator iPhone/Android app.

Loading older posts