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.
All Presentation Software is Broken
A look at the numbers behind RailsConf presentation on “Making the Web Faster”, and the web as a (future) presentation delivery platform.
FigLeaf gem now available
The FigLeaf library from my book “Objects on Rails” is now available as a RubyGem. FigLeaf helps you control the interface surface area of classes derived from e.g. ActiveRecord, by selectively hiding inherited methods from other objects.
Coercion Support for Roar with Virtus
We just married Virtus, a coercion gem, with the REST framework Roar. Check out how the automatic type conversion can help when parsing or rendering REST documents.
Command Line Access to GitHub API v3
If you love Unix shell and want to interact with GitHub api v3, please have a look at github_cli.
Leaflet-Rails rubygem.
I’m currently working on implementing a gem that includes leaflet.js in the asset pipeline. It can be found at RubyGems and I would love to have some feedback on it, as it’s my first gem. Thanks!
RVM, Ruby 1.9.3-p194, ruby-debugger and "You need to install ruby-debug"
Blog post about fixing the “You need to install ruby-debug to run the server” message when trying to use RVM, Ruby 1.9.3 and Ruby debugger.
paperclip-storage-tmp released
I’ve just released a new version of paperclip-storage-tmp gem, which allows you to use an isolated, temporary storage for Paperclip 2.x (useful especially during tests). [more inside]
fork gem released
I released the fork gem, which provides a simple and object oriented interface to forking of your process. The API provides ways to get the return value of a fork, get exceptions raised and send objects between the parent and a fork. The project is - of course - found on github, and the documentation is available online.
5 Awesome Things About RubyMotion
Blog post about our experience so far with RubyMotion
Ransack attribute whitelisting, and why your class macros (might) suck
I just posted a quick walkthrough on using attribute whitelisting using the Ransack search gem. But, ignore that part. It was really just an excuse to talk about why a class macro was the wrong way to go about implementing this kind of feature.
Get Rid of That Code Smell - Duplication
Check out my new post about duplication code smell, it’s right here.
Pass Open Files Between Ruby Processes with UNIX Sockets
I wrote an article about passing around open files (eg. live TCP connections) using UNIX sockets in Ruby. One person described it as “pretty slick in an old school deep unix geeky kinda way”.
Decrypt cisco encrypted passwords
Just because i needed to connect to a cisco vpn using osx lion i’ve build Cisco decrypt so i don’t need to wait for the cisco guys to actually build a client. It’s kind of evil but it can save you some time.
Skypekit for Ruby
Just released Skypekit for Ruby by Railsware. Also libskypekit can be wrapped in Lua, Erlang, LISP, etc.
Gem of Thrones: this task must only be done by one!
Distributed locking via e.g. memcache to ensure 1 and only 1 does e.g. updating of a shared cache. gem_of_thrones
Bloombroom v1.0, Ruby gem for continuous (streaming) fast Bloom filter
Bloombroom v1.0 a Ruby gem with fast Bloom filters for bounded and unbounded (streaming) data, FNV hashing and bit fields has been released to Rubygems
Deploy & Edit a Facebook App in 5 Min
Ever want to write an App that uses the Facebook graph? Well you can have a Facebook enabled site up, running and edited in only 5 minutes.
[German] Rails 3.2.3 veröffentlicht
Ruby on Rails wurde in der Version 3.2.3 veröffentlicht. Neben einigen Bugfixes wurde auch einiges an der Sicherheit des Frameworks und dem Schutz vor unerlaubten Parametern bei mass assignment geändert. Weiterlesen
Rails Subcontracting Essentials
I have been working hand-in-glove with a Rails subcontractor. Here’s our ultra-effective process.
TinyGem: A small library for small gems
I threw together a small hack to build a gem out of a single source file.
Cleaning parameters from a given url in Rails
The other day I needed to clean a url from one of the parameter, blogged about it on the cookies blog.