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.
The 15 minute E-Commerce Site
I created a video showing you how to quickly get ror_ecommerce up and running with a minimal dataset. This will quickly allow you to see ror_ecommerce in action.
Dragbox - Drag and share your code
Dragbox is an easy way to upload and share your ruby code files with people. Simply drag and drop your files into the browser - an instant upload will immidiately make your code accessible and available to others. Try the free beta now: dragbox.org
Voyeur, a rubygem that converts almost any video to HTML5 and other formats.
Introducing Voyeur. Convert almost any video into the common HTML5 formats (webm, ogg, mp4) for playback in modern browsers. Github Source
Bookshop gem adds ERB (0.0.15)
Bookshop, a publishing framework for html-to-(e)book/pdf toolchains, just added ERB functionality allowing users to use ERB for their source documents rather than just plain HTML/CSS. [more inside]
How Mendicant University Works
I’ve written a blog post explaining how things work at Mendicant University, in the hopes that it will answer some of the frequently asked questions about the program. It’s a free online school for software developers that I’ve been running since June 2010, and it is awesome. If you’d like to join us, admissions are now open for our January 2012 core software development skills course. Please spread the word if you like what we’ve been up to!
Web-VPN: Secure Proxies with SPDY & Chrome
Is it possible to securely route SSL sessions via an HTTP Proxy? A look at the existing HTTP specification, and what the SPDY spec and Google Chrome team bring to the table - hint, the answer is yes. As of January 2012, over 50% of all internet sessions will be SPDY capable, and Web-VPN is one of the many great features it brings.
Dead Simple PostGIS KML Column for ActiveRecord and Ruby
Simple example of adding a PostGIS KML column to your ActiveRecord Model.
New bash-completion for "gem"
Based on gem version 1.8.10, and based roughly on the widespread git-completion.bash, here is rubygems-completion.bash for your convenience. The existing completion scripts were having problems with recent versions of gem, and had some annoying quirks. This version should be fast, and much easier to maintain as gem evolves.
Delayed_job web interface inspired by resque
I just launched delayed_job_web, a ruby plugin to give delayed_job a web interface similar to resque. This gem allows you to: easily view jobs enqueued, working, pending, and failed. Queue any single job. or all pending jobs, to run immediately. Remove a failed job, or easily remove all failed jobs. Watch delayed_job operation with live ajax polling.
Avoiding stack overflow in Ruby with trampolines
A blog post by Chris Mowforth showing how you can avoid SystemStackError while using recursion in ruby.
Twitter feed for conferences
I’ve set up a feed for retweeting ruby conferences. [more inside]
Command Line Reporter 1.1 Released
The latest version of Command Line Reporter has new features including horizontal rules, vertical spacing, headers and footers. See the post from the other day for more details on formatting capabilities. The gem is available on rubygems.org with source on <a href=https://github.com/wbailey/command_line_reporter”>github</a>
Gitdocs: Open-source Dropbox using Ruby + Git
A couple days ago, we wondered if we could create a Dropbox clone in Ruby using just a simple git repository. We wanted to use this for many documents including shared task tracking, file sharing, storing code snippets, et al with our development team. We also added the ability to view the entire repository in your browser so you can use gitdocs as a wiki. Our blog post details the reasons we ended up building this and how to get started using this for your team.
The New and Improved Gemnasium
Gemnasium.com keeps track of your gem dependencies for you and keeps you up to date on the latest versions. In addition to a bunch of new features, it’s now free!
Do you ponder what to name things in your code?
Evan Light is questioning you - do you ponder what to name things in your code? Please do post your comments on the blog post.
Run grep across git diffs
I often need to see when methods are defined, removed, etc, so I made this: [more inside]
Installing HomeBrew, RVM, Ruby on Rails, MySql for newbies from Scratch.
I just launched install Homebrew, RVM, Ruby on Rails, MySql for newbies from scratch
My thoughts about Ruby ORMs
I’ve put together some of my thoughts about current state of Ruby ORMs, mentioning ActiveRecord, DataMapper and Sequel. Take a look if you’re interested in ORM development efforts: The State of Ruby ORM
Dynamic Database Application Developers Benefit from Lua, Ruby and ITTIA DB SQL
Application developers for embedded systems and intelligent devices can now benefit from Ruby and Lua – two easy-to-use languages – as the latest offering from ITTIA DB SQL.Dynamic scripting languages make it easy to customize the application behavior because code is parsed and executed at runtime, and are often used with web servers.
Writing simple Ruby client/servers using Protobufs
Miso is excited to welcome Joshua Hull to our engineering team! In his first blog post, he discusses one of the open source projects we have been working on to allow lightweight services to communicate using Google’s excellent Protobuf. As a result of using protobufs for inter-service communication, we have released Protoplasm to simplify using them in Ruby. Be sure to check out his blog post for more information.
Two articles on using Redis for autocomplete
Last week I wrote a tutorial called Finding your soulmate: autocomplete with Redis in Rails 3.1 and this morning I posted a follow up article discussing Two ways of using Redis to build a NoSQL autocomplete search index.
Announcing faye-websocket, and standards-compliant WebSocket library
As promised after the release of Faye 0.7, its WebSocket code is now available on its own, providing a robust, general purpose WebSocket implementation that’s easy to integrate into Rack apps.
Ruby Blocks as Dynamic Callbacks
In this article, I will demonstrate how we can pass multiple blocks to a method and with some metaprogramming, we can achieve a dynamic callback mechanism with just a few lines of code.
Method chaining and lazy evaluation
Method chaining has been all the rage lately and every database wrapper or aything else that’s uses queries seems to be doing it. But, how does it work? Let’s figure it out!
Precompiling Rails Assets for Development
I just wrote a blog post about speeding up Rails development by precompiling the assets in development environment.