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.
Parade - Version 0.10
Parade is presentation software powered by Sinatra with slides written in Markdown. Version 0.10 brings with it better support for mobile devices and quite a few common slide formats. Parade is a fork of Scott Chacon’s Showoff. The work I started was initially to address two of it’s shortcomings: [more inside]
xpool v0.10.0 is out
xpool, a lightweight and flexible process pool, v0.10.0 is out. This release adds new features and also optimizes pool resizing. Please see the ChangeLog.txt for more info.
RVM Autolibs: Automatic Dependency Handling and Ruby 2.0
Michal Papis talks about RVM Autolibs.
LevelUp: a rails engine to keep your startup technical business organized
I just released LevelUp, a rails engine that let you structure, run and manage asynchronous jobs. Any feedback is welcome!
ITTIA DB SQL Provides High Availability for Data Stored In-Memory on Android
Android continues gaining attention in mobile and embedded markets. Embedded Android developers using ITTIA DB SQL can now benefit from support for High Availability (HA) and In-Memory data management, offered along other features such as distributed transactions, table snapshots, synchronous commit, replication on commit, single-master replication, multiple master replication and online backup.
Experimenting with Clojure's PersistentHashMap in JRuby
I benchmarked some tests run in JRuby that compare the Hamsterdam library using Hamster’s immutable Hashes vs Clojure’s PeristentHashMap, plus some gotchas. Read it here.
Rails' Insecure Defaults
Just published a detailed blog post covering 13 Rails security gotchas, including risky behaviors in Rails 3 and 4.
Raising and Rescuing Custom Errors in Rails
Following on from our post on Dynamic Error Page in Rails, this week we looked into raising and rescuing custom errors in a Rails application. [more inside]
A Closure Is Not Always A Closure In Ruby
When using instance_eval in Ruby, the block will behave in a distinctly unclosure-like manner, here we dig deeper to see what happens and try to roll our own instance_eval that allows us to retain the closure semantics we have come to expect from Ruby blocks.
The Bumpy Road to Fnordmetric
I’ve just launched my blog and the first actual post is about deploying Fnordmetric. The Bumpy Road to Fnordmetric.
world.db Now Includes Continents n Territories and More
I’ve added continents to the world.db that includes 196 countries and (new!) 48 territories. Note, you can now configure your own continent mappings e.g. the football.db uses FIFA associations e.g. Australia gets included in Asia, Isreal in Europe, Guyana in the Caribbean etc. More info about the world.db and the world.db gem. Cheers.
Unobtrusive API Versioning
Easy, unobtrusive API versioning for your Rails app. VersionCake was recently declared stable and bumped to version 1.0.
Rails messaging with messengerjs-rails
I just launched messengerjs-rails gem, feel free to check it out.
La Conf Paris - 9th-10th May 2013
Complete lineup revealed + gourmet meals + cheese & wine tasting session! 2013.la-conf.org
I just published my interview with Brian...
I just published my interview with Brian Shirai (of the Rubinius project) about multi-threaded concurrency in Ruby, myths about the GIL, and the upcoming Rubinius 2.0 release.
Ruby Fibers - MetaCasts.tv
Introduced in Ruby 1.9, Fibers, are a lightweight concurrency library that puts the scheduling of work into the hands of the developer, and not the VM. As we look into Fibers we will also touch about the Enumerable module and even a bit of Ruby 2.0 goodness. [more inside]
Should you upgrade Rails from 3.2.12 to 3.2.13?
If you wonder if you should upgrade or not, here’s a sum-up of the last security issues fixed in rails 3.2.13 : http://blog.tech-angels.com/post/46249485212/should-you-upgrade-rails-from-3-2-12-to-3-2-13
Bootstrap Tag Autocomplete javascript library
Just launched a bootstrap plugin to autocomplete tags for contenteditable div elements. It works in the same way tagging people on Facebook, Twitter or Sandglaz works.
BasicPresenter
I just launched BasicPresenter, the most simplest presenter pattern implementation in town (< 100 lines of code). Confortable to use, framework agnostic, works with Rails, Padrino or simply Sinatra. Give it a spin in your next project!
Padrino Web Framework 0.11.0: Padrino Lives!
We have just released Padrino 0.11.0 after 9 months of active development and the work of dozens of contributors! Padrino is a powerful agnostic ruby web framework built directly on top of Sinatra. This release includes a totally redesigned admin dashboard, upgrades to the latest Sinatra, CSRF and SafeBuffer support, Gemified and namespaced apps out of the box, and quite a bit more. Read the details in our blog post and in our changelog.
parallel_tests + zeus for the first time
Weekend project: Speed up your parallel_tests with zeus using zeus-parallel_tests