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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Use Live Reload with Rails for Faster Development
In this post I go over how to setup LiveReload to work with Rails. LiveReload automatically reloads the page when you change your code. So it’s saving you from having to hit refresh [more inside]
Making a Text Adventure Game in Ruby - A 7 Part Series
You’re standing in a green meadow. You’re holding a bonesaw, a vacuum cleaner and a very angry cat. Across the meadow you see a small white house. What do you want to do? Everyone likes text adventure games, why not write them in Ruby?
Rack middleware for knowing which version you deployed
I just released rack-git-version, a simple Rack middleware that lets you know which version is deployed by adding your the current git tag or ref to your HTTP headers.
SiriCal 0.0.1 released : iOS 5 Siri feature in your Ruby app
SiriCal version 0.0.1 is now available on rubygems & github ! [more inside]
Webmachine v0.3.0 released
Webmachine for Ruby version 0.3.0 is now available on RubyGems. gem install webmachine
to get it! [more inside]
Handle 'active' link logic with active_link_to gem
We use it for years in pretty much all Rails applications we work on. Check it out: https://github.com/twg/active_link_to
RBzip2: A pure Ruby implementation of the bzip2 algorithm
Version 0.1.0 of the RBzip2 gem has been released. It’s released under the BSD license and its source code is available from GitHub. It’s a pure Ruby implementation of the well-known and widely used bzip2 compression/decompression algorithm. It has no external dependencies and will therefore run on any Ruby implementation (and operating system). This first release offers support for decompressing bzip2 compressed data streams, i.e. IO
s. The final aim is to provide a feature-rich and human-friendly API to (de)compress data using various ways.
Richie Rich: A simple system for investing (written in Ruby)
Richie Rich is a Ruby script that runs monthly (local cronjob) and generates an email report that shows each of the recommended mutual fund allocations and whether they should be in a buy/hold or sell/cash position. [more inside]
Twitter is the new RSS Reader
How you can use the twitter gem to tweet new blog posts Twitter is the new RSS Reader.
Likeable: Love your Objects with Redis
I just released Likeable a gem for storing like data about ruby objects with redis. Post and screencast included, enjoy!
String Theory
Is a double or single quoted string faster. Click Here to see what I found.
What's your checklist for starting a new Rails application?
It’s easy to create a new Rails application using “rails new myapp”. But after that, what do you do? What gems do you always add? What decisions do you make before beginning development? What important items are often overlooked before deploying an app? I’d like to put together a reference checklist to share. Any suggestions? I’ve asked on Stack Overflow: Checklist for starting a new Rails application?
PHP vs Ruby: What's the Point
Dave Kennedy talks about how PHP and Ruby are compared, and looks at maybe a better way to do so.
Cyborg Vision - Face Recognition from the FUTURE!!!
Hey guys I just launched Cyborg Vision for iPhone and iPad2. It’s an app I’ve been working on since me and a friend built it and won Hackday.tv in NYC :). It basically recognizes your friends from facebook (via face.com) with a cool reminiscent skin :) [more inside]
Besides being faster, what else is new in Bundler 1.1?
You might have heard that Bundler 1.1 will be a lot faster, but you may not know that the Bundler team has introduced a few new useful commands and options as well… [more inside]
Preparing audio files for Apple's HTTP Streaming protocol
Simple rake task that chops up audio files for Apple’s HTTP streaming protocol and uploads ‘em to S3, so you can stream the audio to iOS devices (and also Safari) without getting your app rejected.
EmbeddedRecord v0.0.1
I just launched EmbeddedRecord, a gem similar to what was done in RailsCasts #189 Embedded Association.
use cells to abstract view widget
I just wrote a post use cells to abstract view widgets, it tells you how cells gem make your view code more reusable, testable and cacheable.
hands down the best language detection library for ruby
I just launched cld which stands for compact language detection. You pass in a string and it can tell you what language it is. This is a wrapper around the language detection library used in chrome so its very efficient and accurate.
Twitter strategy for OmniAuth.
I just open sourced omniauth-twitter gem. [more inside]
Rack adapter for Erlang HTTP server Cowboy
I’ve created Rack adapter for Erlang HTTP server. It allows to autospawn Rails or any other Rack-enabled framework in passenger-like style behind fast and stable server, able to keep thousands of HTTP connections with WebSocket and Comet support.
Self-guided Ruby on Rails 3.1 Tutorial
I’ve posted a Rails 3.1 application on Github along with a guide you can follow to recreate the application. Commit diffs and branches help you discover how the application changed over time. The application and guide introduce basic Rails 3.1 features.
Ruby Manor is not an Unconference
I’ve posted some more details about the motivation behind Ruby Manor. We’re trying to make conferences leaner and more engaging: Ruby Manor is not an Unconference.