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.
A Primer on Ruby C Extensions Part 2 - FFI
Second part on Ruby C exensions, working with FFI. A Primer on Ruby C Extensions Part 2 - FFI
Rails or Sinatra: Best of Both Worlds?
Darren Jones talks about one of Ruby’s age-old crossroads in his latest post. Darren talks to some of Ruby’s pillars to get perspective and opinion.
A Sinatra Movie Recommendation website on Heroku
See how to build your own Neoflix website with Neo4j, Sinatra and Heroku.
Geo-Rails part 8 posted
I posted Geo-Rails part 8: ZCTA Lookup, A Worked Example, the latest installment in my ongoing series on geospatial programming using Ruby and Rails. Here we bring together everything covered in the series so far to build a simple service that looks up the Zip Code Tabulation Area for a location.
String?("Interrogate Gem")
Interrogate attempts to bring Scheme-like class predication to Ruby. It provides an alternate syntax using Module#===. An experiment in syntax!
Do It Yourself
Thoughts on Do It Yourself projects/experiments.
Jade.JS server-side compilation
We’ve been using tilt-jade for this goal for 2 months. Wasn’t perfect. Here is jade gem which will do same thing but with: ability to debug, specs, better assets management.
Separate your concerns
Why we should bother, when your files/models grows too big? I just wrote post in response to Keep your privates close.
How To Gemify Assets for Rails
If your rails application relies on externally maintained assets, Rails 3.1 and the asset pipeline make it easy include them as proper dependencies in your Gemfile. The catch is that they must be available as gems. Here’s a look at how to gemify assets.
[vid] Ember Data - Persisting Data Into Rails
By request, here’s a look at how to transfer your EmberJS model data back and forth from the Rails database.
Updated LazyGem - Changes and a bug fix.
I just updated LazyGem to support some changes on RubyGems.org and 1 bug fix.
Amazing Graph Visualization with Sinatra and little JavaScript
We use Ruby to get the data we need from Neo4j and let Processing.js make it look amazing.
m: a test/unit test runner that can run tests by line number.
Read about how to use it here! It’s metal.
037 Ruby Rogues Versioning and Releases
This week the Rogues talk about different methods of versioning projects, the advantages and disadvantages of several different schools of thought on the subject and they share a few words on release processes as well.
The Sprockets::BlackCoffee Gem
Yes, sometimes it may be OK to render your CoffeeScript files using the –bare option. Most notably, in test spec helper files under Jasmine. I give to you the sprockets-blackcoffee gem.
Command Line Reporter 2.0 Released
The latest version of Command Line Reporter now supports table formatting of your data. The DSL is very similar to writing HTML tables making it easy to build sophisticated reports. The gem is available on rubygems.org with source on github
Getting started with Ruby and the Neo4j Graph Database
Don’t let the “4j” fool you, I show you how to use Ruby with Neo4j in this blog series.
Backbone.js vs Ember.js
My thoughts on Backbone.js vs Ember.js. I have been using Backbone.js for a while and recently dived into Ember.js!
An Exhaustive Explanation of Minimax, a Staple Game AI Algorithm - Ruby tic-tac-toe included
I put together a description of minimax and used a Ruby tic-tac-toe game as an example implementation.
Ruby Object Model - example in a 3D perspective
The document at http://www.atalon.cz/rb-om/ruby-object-model/ now contains an elaborated example using SVG.
Blog Post: Improve Your Work Environment
As a programmer, you should have the best work environment possible. Go read my thoughts on the topic if you’re interested.
braumeister.org – An online listing of Homebrew packages
braumeister.org is an open-source Rails application that lists all MacOS X packages available via Homebrew. Why may this be interesting for the average Rubyist? First, braumeister.org is a Rails application and it’s open-source, so everyone is free to contribute. Second, Homebrew itself is driven by Git and Ruby, and lots of Rubyist are running Macs, so there’s a good chance that you’re interested in both, Ruby and Homebrew.
[video] A Brief Intro To EmberJS
We spend a few minutes learning about Ember.js.
Up and running with RefineryCMS edge, Rails 3.1, and Zurb Foundation framework
I’ve posted a couple of articles on how to get the master branch of RefineryCMS working with Rails 3.1.3, including what to expect and how to get around a couple of gotcha’s along the way: Basic Refinery and Rails setup and Adding the Refinery Blog engine and Zurb Foundation framework