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.
Intelligent Models, Making ActiveRecord a Bit Clevererer
I’ve just written a tutorial on making your ActiveRecord models a bit more Intelligent using techniques from basic Faux Attributes to {scary noise} Meta Programming. It’s my first tutorials so I’d love the feedback.
Fast deployment using Capistrano, RVM and more
I just wrote a new blog post on Fast deployment using Capistrano, RVM and more loaded with all the details needed to bootstrap server in 10 minutes.
Javascript templates using eco.
Eco makes coffeescript available on javascript templates, like jst + erb. Rails + Coffee + Eco + JQuery = AWWWW YEAH!.
Replacing gemsets with bundler
On Ruby Rogues, André Arko mentioned that he doesn’t use gemsets to manage project gems. I was intrigued so I investigated how well that works. Turns out, that works quite well. I’ve written an article on Rake Routes on how to use Bundler instead of rvm gemsets to manage your project’s gems.
MadCoderTV is live on Roku
Watch your favorite Ruby Videos on your big screen. Open Source, Open Content means you can add videos with a pull request!
Bundler Pain Points
I wrote up a list of some common pain points with Bundler (well, at least the pain points that are common to me). I also list various fixes and workarounds.
New Ruby video series on YouTube
Matt Stopa has begun posting a nice series of videos on YouTube, each one introducing some basic concepts in Ruby. These brief videos show him typing in code in real time while giving explanations and comparisons of various ways to implement and improve Ruby code. http://www.youtube.com/user/MattStopaDev
A Unix Shell in Ruby - Pipes
I just published the fourth article in a series where I implement a Unix shell in pure Ruby code. This time it covers shell pipelines.
Accordion Rails helper for Twitter Bootstrap
A micro gem providing an accordion view helper that generates the proper markup for Twitter Bootstrap. Get it here
wisepdf – wkhtmltopdf done right
After a couple of weeks spent with WickedPDF and PDFKit I understood, that I can make something better. And it is called wisepdf! Read more
Decoupling Persistence from your Domain
A method for using either inheritance (with naming conventions) or mixins to segregate persistence concerns from your domain models. README / example code on github here. Blog post / comments here.
Wiserespond - one more way to make your controllers DRY
Just crafted small Gem to make your controllers even more DRYer and extremely easy to understand. Read more
TubeHub: Synchronized Youtube Playlist with thin-websocket
A while ago i wrote a synchronized Youtube playlist (a la synchtube clone) in ruby using thin-websocket, sinatra, and activerecord. Recently i decided to open source it. Read more
Gitara - A Ruby DSL for generating Lilypond guitar tablatures
Gitara is a Ruby DSL for generating Lilypond guitar tablatures. At 0.4.2, it’s still a work in progress. But you should now be able to write some decent guitar tablatures with it (check out the examples!). Read more
Using a Matrix to Visualize a Social Network
Visualize a Social Network with the Neography gem and Neo4j.
Speciny - A Tiny RSpec clone
I just released Speciny a tiny rspec clone as part of my learning ruby adventure. I started using RSpec for testing and i wanted to better understand how it works and how DSLs work in general so i made this tiny clone. Read more
Copycopter is now open source
Dan Croak wrote a blog post on moving Copycopter to an OSS project.
Learning More About JRuby from Charles Nutter
I just had a fascinating conversation about JRuby with Charles Nutter… the best part was chatting with him about JRuby internals. You can read it all on RubySource.com.
Ruby Script for fetching thumbnail images for videos of youtube and vimeo
Ruby Script for fetching thumbnail images for videos of youtube and vimeo and yada yada.
Padrino Web Framework 0.10.6: ActiveSupport 3.2, Improved Logger, HTML5 Helpers and bug fixes
The Padrino team just released 0.10.6 stable which includes ActiveRecord 3.2 support, MiniRecord support, Logging upgrades, performance improvements and a lot of bug fixes and component compatibility updates. Read our blog entry on this release for more details!
Githug - an interactive way to learn how to use git
I just launched Githug an interactive way to learn git. There are currently 20 levels ranging from basic tasks such as git init to doing a diff and contributing to other repositories.
Objects on Rails now available to read online
“Objects on Rails”, a developer notebook exploring ideas and techniques for applying classic OO thinking to Rails projects, is now available free to read online.
Github.js — Write files to Github right from the browser.
I just pushed Version 0.1.2 of Github.js, a higher-level wrapper around the Github API. Intended for the browser.