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.
Ruby on Ales 2012 CFP is open
Hey Rubyists! This is Mark from the Ruby on Ales crew. I want to personally invite anyone that interested in speaking at next years Ruby on Ales conference to submit a proposal here (just click the red button): Ruby on Ales 2012 If you have any questions let me know. You can ask anyone on the team by sending an email to theguys@onales.com
We Love MacRuby!
Do you love iOS development? Do you love Ruby? How can you help get MacRuby on iOS? Visit welovemacruby.com and show Apple your love.
DRYing (controller) specs
rspec-action - 2 lines of code. And how do You DRY your specs?
MacRuby and Objective-C
Here is an article talking about the similarities between Objective-C and Ruby.
Geo-Rails part 3 now available
Geo-Rails part 3: Spatial Data Types with RGeo is the third installment in a series of articles on doing location-based and geospatial programming using Ruby and Rails.
In defense of Rails
In defense of Rails: I just wrote my reply to Adam Hawkins’ - “moving on from rails”
Moving Data from MySQL to PostgreSQL
A quick write up on how I moved my data from MySQL to PostgreSQL. Hopefully it’s useful to someone out there.
ActiveRecord - Simple Key Value Store
ActiveRecord - Simple Key Value Store. A quick and dirty key / value store using a relational database and ActiveRecord.
ActiveRecord STI - How To Prevent The Base Class Being Saved.
When using ActiveRecord and Single Table Inheritance sometimes it may not be desirable to have the base class ever persisted to the database, which by default is able to occur. Read my post on how to alter this behaviour.
$75 to convert PHP SOAP/WSDL script to Ruby
I will give $75 via PayPal to any “one” that can convert this PHP SOAP/WSDL script to Ruby. Only accepting qualified candidates. Please comment on this post with your email to qualify. Thanks!
Ruby UDP DNS Server in 1 File
After seeing some similar attempts in Python, I decided to create a simple Ruby-based DNS server. It supports A and CNAME records. It’s ripe for refactoring and you could easily attach it to a data store (like, say, Redis) or be used to do various DNS tricks.
Websockets soundboard
Want a dashboard to annoy your colleagues? Run the distributed soundboss soundboard on your server, fire up a browser and let the mayhem start! Not for the easily offended ;)
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. Read more
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.
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>