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.

Searching With Solr (Episode 87 from the SD Ruby podcast)

Get up and running in no time with enterprise-grade search powered by Solr. Nick Zadrozny shows you what Solr can do, how it works, and how you can make the most of it in production. Watch episode

http://sdruby.org/video/087_solr.m4v has a dead link …
Fixed now. Sorry about that!
SD Ruby always have “Service Temporarily Unavailable” for all the videos :( …

New logging gem

I have recently launched lumberjack, a simple, powerful, and very fast logging utility that can be a drop in replacement for Logger or ActiveSupport::BufferedLogger. It can put more information in the log files and can be configured to log to different devices such as syslog or mongodb or to automatically rolling log files based on size or date.

Rails Test Prescriptions out of beta and shipping

Rails Test Prescriptions is out of beta, and will start shipping in the next day or so. It’s a comprehensive guide to testing Rails applications, covering Test-Driven Development from both a theoretical perspective (why to test) and from a practical perspective (how to test effectively). It covers the core Rails testing tools and procedures for Rails 2 and Rails 3, and introduces popular add-ons, including RSpec, Shoulda, Cucumber, Factory Girl, and Rcov. Thanks to all of you that have been supportive!

BTW, if you’re interested in writing a blog post for Ruby Inside (perhaps based…

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…

RSpec best practices

I’ve just created an article, where I make some summaries on the best practices on using RSpec. Its based on articles, books and my experience. For now the document is editable from everyone, so whoever have any suggestion, just put them in.

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

Magic Ruby Roundup

Last week, I attended the MagicRuby conference in Orlando. In this blog post, I tell you (a) where to find slides/video, (b) who would be most interested in each talk, and (c) what I think the most important points are.

Contributing to Rails 101: Your first patch

I created a screencast to help new Rails developers get their first patch into Rails. Check it out!

In case you’re wondering why this post is “yellow” on the front page, I’m playi…
Ha! I was just coming in to the comments to see if anyone was asking about tha…

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 :) …
Loading older posts