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.
Rails 3.1 Templating with Sprockets
I was faced with the question of getting JS Templating in Rails 3.1 - here’s how I did it with Sprockets and Tilt: Rails 3.1 Templating with Sprockets.
Better autocompletes with Fuzzy Matching
An introduction to Fuzzy Matching and how to improve an autocomplete widget to show the most relevant items. [more inside]
Ruby Rogues talk about Ruby VM's, concurrency, and implementing Ruby
If you liked the crazy antics of the panel in the first Ruby Rogues podcast, you’ll enjoy the second. Joined by Evan Phoenix (Rubinius developer) we talk a lot about the actual implementation of Ruby. You can also now get the podcast in iTunes.
rack-www gets updated with more options
I’m releasing a new version of rack-www. Now it allows you to redirect with or without the www and it’s also possible set a message to show while redirecting.
Active Admin - The missing administration framework for Rails apps
We just launched Active Admin, a brand new administration framework for Ruby on Rails applications. Check out the Website, Live Demo, Documentation and Github Project.
Hubscovery - a better git repository search
scratching an itch, github repository searching is pretty bad, so I hooked into their API and intersect some hashes to serve up results that I think people want. See http://hubscovery.com
Substance 0.2.1 released — Open Documents for the Web
We just released version 0.2.1 of Substance.io. It adds support for move content operations along with UI improvements and bug fixes. Enjoy!
Receiving e-mail directly into Mongodb (or other db)
Often you need to receive email which then will be available to your Rails application. Usually it’s done with yet another middle-tier, such as IMAP server and IMAP client. Why not cut the middle man? ReceiveD is a simple LMTP (almost RFC2033 compliant) daemon, which can receive e-mail from Postfix and save it directly to the Mongodb document database. [more inside]
state_machine 1.0
state_machine 1.0, an FSM library for Ruby and various Ruby ORMs, has been released. Check out a retrospective of the project and join me in celebration!
MacRuby/CoreLocation status bar demo app
Also as part of CHS11, we wrote a barely-working macruby app that runs in the status bar and uses CoreLocation. The code is terrible but it’ll compile, which is something
Padrino and OmniAuth Overview
In this post article we will show you how to mix our Access Control with the beautiful omniauth rack middleware. [more inside]
How to fail fast with Design By Contract
I just wrote a blog post about how I use DBC at work. Has nice little ruby implementation of Design By Contract, with a short explanation of how DBC can be superior to using ‘raise’.
Two Odes to Ruby on Rails
Two complimentary perspectives, one from Tom Mornini and the other from Aston J on why Ruby on Rails rocks.
jekyll-s3: Push your Jekyll Blog to Amazon S3.
Jekyll + Amazon S3 = ♥ with jekyll-s3.
Custom signup with devise providing only email
I just wrote a post about custom signup with devise providing only email and setting the password in the account confirmation step.
Ruby Hoedown V CFP is open!
The CFP for The Ruby Hoedown V (happening on August 26-27, 2011 in Nashville, TN) is now open. Head on over to the website to submit a talk proposal.
Installing Ruby on Rails and DB2 on Ubuntu 11.04
In this tutorial I’ll show you how to create a complete Ruby on Rails setup for DB2 on Ubuntu.
HammerBuilder - fast xhtml5 builder
HammerBuilder is a fast xhtml5 builder written in and for Ruby 1.9.2. Links: Introduction - check out benchmarks on the bottom, Gem, Github.
Parslet and JSON
JSON has nice railroad diagrams detailing its syntax, a Parslet-based JSON parser shouldn’t be too much work. It could even make an introduction to Parslet.
Contributing to Ruby's Documentation
If you’ve ever wondered how to submit patches to Ruby, I just posted Contributing to Ruby’s Documentation to my blog. The existing guidelines were a bit unclear, so I wanted to clarify them for anyone who’s looking to submit documentation before the feature freeze of 1.9.3.
Ruby Mendicant University at RailsConf / BohConf
All of the RbMU staff and several alumni will be at BohConf this year, and we’ve put together a bunch of activities to help get folks involved in our community while having some fun. We’re even running a programming contest where you can try to win a Kindle 3G or at least get a nice code review for your troubles. If you’ll be at BohConf, be sure to catch up with us and say hello.
Tutorial and Example App for OmniAuth and Mongoid
Daniel Kehoe’s detailed tutorial and example code for OmniAuth and Mongoid shows how to build a complete Rails 3 example app with OmniAuth and Mongoid. OmniAuth manages authentication using Twitter, Facebook, or many other service providers. MongoDB is used as a datastore with the Mongoid gem for quick development without schemas or migrations. This tutorial also gives you the option of using jQuery, Haml, RSpec and Cucumber, showing how to integrate each option. In addition to the tutorial, Kehoe provides a Rails application template you can use to generate a fully-functional starter app in minutes. Kehoe’s previous tutorials and example apps have been popular (as can be seen by the number of watchers and forks on GitHub) and include starter apps for “Mongoid and Devise” and “Devise with Subdomains”.