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.
CarrierWave Documents Viewer add-on
I just launched carrierwave-viewer gem for integration GroupDocs Viewer service with Carrierwave.
Rails engine to serve modal image viewer!
Very excited to share this latest library! Image Viewer Rails [more inside]
EuRuKo 2013: Call for Presentations is now open!
We are very excited to announce that Call for Proposals for EuRuKo 2013 is now open and you can send your proposals until April 23rd! We have put a lot of effort in order to create a selection process that will encourage submissions by everyone irrespective of publicity, gender, race, domain, etc, guarantee a high quality conference and at the same time be fun for all participants. The process has been refined with feedback from the community and all the details can be found here. [more inside]
Build your own Ruby and Rails Searchable API Docs
If you want a local, searchable copy of Ruby or Rails API docs here are some instructions.
Upgrade Rails 3.2 to Rails 4 on jRuby
I recently had a chance to upgrade to Rails 4 on jRuby project I’ve been working on. There’s a few gotchas to watch out for.
Boston - Wicked Good Ruby Conf Oct 12 - 13 2013 is launched!
Please see the website for details wickedgoodruby.com [more inside]
Immutability in Ruby Part 2: Domain Models
Immutability can be a useful concept in not just basic data structures, but also your domain model. I just published Immutability in Ruby Part 2: Domain Models.
Git-subtree and Rails
I just wrote about how we used git-subtree to share code between LienLog and LienMarket (both are Rails 3.2 applications) in my blog. </br> http://igor-alexandrov.github.com/blog/2013/03/28/using-git-subtree-to-share-code-between-rails-applications.
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.
Concurrent Indexes in PostgreSQL for Rails 4 and Postgres_ext
I just added support for concurrent indexes in PostgreSQL for Rails 4 and postgres_ext
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]