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.
Metaslug, a gem to manage your metas
We created Metaslug, a gem to let you easily manage your metas informations (title, description, opengraph…)
Cheat ActiveRecord with pg_morph!
pg_morph is a gem created by Hania Seweryn from Lunar Logic. It makes it possible to add foreign key constraints for each polymorphic relation type with ActiveRecord and postgreSQL. Hania wrote the “Polymorphic relations and DB consistency with ease? From now – yes!” post about it. Have a nice reading!
Evaluating Reverse Polish Notation in Ruby
I just wrote a post on evaluating reverse polish notation using a stack in Ruby.
beer.db (and Ruby) in Action - Brewery n Brewpub Map for Austria (w/ GeoJSON)
Hello, using the beer.db - open public domain brewery, brewpub and beer data - and - of course - Ruby let’s you make your own beer map thanks to GeoJSON. See an example beer map for Austria (~200 breweries n brewpubs). The build script geo.rb - still early and rough - but working is just a couple of lines. Cheers. Prost. Kampai.
Free episode of my RubyMotion for Rails Developers video course
I have a new series I’m working on called RubyMotion for Rails Developers. The intro video and the first episode (“Hello RubyMotion”) are up and free to watch to get an intro into using RubyMotion. There will be a new episode released each week. Subscribe for only $9/month to get access to the other 11 as their released.
Green Ruby News #88
Green Ruby News #88 is out, fresh links from last week for fullstack ruby devs.
A Memcached Trick and an Old Watchdog
A blog post about a patch on the Dalli Memcached adapter for Rails that is really a discussion about a gem called Watchdog that makes monkeypatching less dangerous.
Pastel v0.1.0 gem release
I’ve released pastel to allow for non intrusive styling of terminal output. Please give it a go and provide feedback!
Memoization in Ruby, Python and Javascript
A little brief about memoization in Ruby, Javascript and Python. Check it out here!.
queue_classic 3.0.2 released and plans on 3.1
I just released queue_classic 3.0.2. I you are using it. Please see the upgrade instructions in the README. [more inside]
How does Rails (Rack) parse complicated form name with arrays and hashes
I found this great blog by Noah Gibbs, to something I’ve been wording about for a while. Quite often some of my forms get really into the nesting by name=”name[1][key1][key2][]”, this blog post provides information on how to test it out with IRB so I know exactly what I’m generating. [more inside]
kibana-rack 0.2.0 released
I just released version 0.2.0 of kibana-rack, a Rack middleware library that embeds Kibana in a Rack application and creates a proxy to Elasticsearch. [more inside]
The epic journey from nil to guru. Intro to Ruby on Rails.
Slides & list of resources for Ruby/Rails for beginners (originally made for a lecture for students of Gdańsk University of Technology but well, why not to share it further).
Rebuild a Gem: Rack
A post on building out a micro version of Rack. Check it out.
Introducing the CookiesHQ Rails application template
We’ve just released a Rails template to make creating new projects easier for us and for anyone who wants to use it. Check it out!
Tidy up your Ability classes with ClassyCancan
I just published ClassyCancan. It’s a tiny little gem that helps to create some cleaner ability definitions for Cancan and Cancancan.
Tail Call Optimisation in Ruby (MRI)
We’ve recently discovered that MRI implements Tail Call Optimisation (TCO). Check out our blog post for a short summary of what we found about the TCO in MRI.
MiniMagick 4.0.0.rc released
After couple of last months of slower development, I decided to take the job of solving all the open issues. While doing that I also rewrote the internals, bringing up some new features, reduced memory usage, robust command-line execution and many bug fixes. You can see the complete changelog here. [more inside]
Inch 0.5.2 released, includes Elixir support
I just released Inch 0.5.2 and wrote a blog post about it. [more inside]
Wisper adds support for asynchronous event handling
Wisper is a micro library providing Ruby objects with Publish-Subscribe capabilities for use in Hexagonal and Domain Driven style architectures. [more inside]
Exploring Minitest Concurrency
Practical advice for Minitest’s parallelization including how it works, when and how to use it, and when you might want to think twice about it. http://chriskottom.com/blog/2014/10/exploring-minitest-concurrency/
Analyze ruby stack with Kernel#caller
I just wrote a blog post on how Kernel#caller works with a simple rails example that inspect the request cycle and shows rails source code.
TDD Articles
Check out the TDD Articles at rubyplus.com/articles. Your feedback is very much appreciated.