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.
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. [more inside]
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.
How to write (and test!) a gem that adds files to the Rails asset pipeline
I just posted an article over at Rake Routes on how to write and test a Rails asset pipeline gem.
The Ruby Refresher
If you’re a rusty Ruby programmer, looking for a refresher on the Ruby language, you might enjoy this document: The Ruby Refresher.
You got NoSQL in my Postgres! Using Hstore in Rails
Wouldn’t it be awesome if we could just save data in a database like a hash? Well now you can, with hstore & Rails. Hstore is a key/value schema-less datastore in Postgres, use it just like a hash…(more)
Ruby 2.0 Enumerable::Lazy
My Enumerable::Lazy patch was accepted into ruby trunk few days ago. So, in ruby 2.0, methods like map, select, grep, etc can be lazy chained. More on this in my blog post.
Add Kalendae to your Rails App with the Kalendae Assets gem
Here’s a tutorial on how to add Kalendae (that new JavaScript date picker) to a Rails app using my new kalendae_assets gem.
Super Fast JSON Parser
I just released a JSON parser under the name of Oj that is 10 to 20 times faster than both the Yajl and JSON::Ext JSON parsers. Check out the gem and the Oj::Doc class. It uses a different API than others and that allows for implementing a parser that is much faster. [more inside]
How to write MiniTest::Spec Expectations
I’m a fan of MiniTest::Spec. It strikes a nice balance between the simplicity of TestUnit and the readable syntax of RSpec. So here’s how to write MiniTest::Spec Expectations.
Different User Agents per Cucumber Scenario
Use different User agents per cucumber scenario. - Isotope11 Blog
Why I Use GEdit for Ruby programming and why you should too...
I’ve compiled a list of od the reasons I use GEdit and I’d like you share it with you. So, here is the list.
Wroclove.rb Links
There were some great presentations at wroclove.rb and Michał Kwiatkowski is gathering a list of all the things you missed.
MsTranslate Api wrapper
The library is a simple API in Ruby for Microsoft Translator V2. The Microsoft Translator services can be used in web or client applications to perform language translation operations. Github repos. I hope it’s useful :D Bye.
Introducing EspnRb - a ruby wrapper around the ESPN api.
I just pushed my latest version here: EspnRb. You should check out my blog post introducing you to the library, have fun.
bahia - now with rubinius and jruby support
bahia 0.5.0 just came out with rubinius and jruby support. bahia acceptance tests your commandline apps in test frameworks such as rspec, test-unit and minitest. Check it out!
CerealEyes v0.0.1
I just released the first version of a proof of concept serializer / deserializer based on GSON.
StoreConfigurable For ActiveRecord
StoreConfigurable - A zero-configuration recursive Hash for storing a tree of options in a serialized ActiveRecord column which includes self-aware hooks that delegate dirty/changed state to your configs owner. [more inside]
I love Ruby because ...
I really love ruby language, and so do many folks using it. So, this is an attempt to collect resons for that from everybody. Knowing what ticks for others in language, can be a good learning exercise. [more inside]