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.
Solution to Ruby 1.9.3 segfaulting when using TextMate Ruby Bundle
After upgrading to Ruby 1.9.3-p0 I found that any exception in Ruby resulted in Ruby segfaulting on the TextMate Ruby bundle output screen. I found this gist where people were discussing the error and have some tips inside this RubyFlow post for you to fix the error yourself. [more inside]
FastSpring-Saasy 0.3.1 Gem Released
I’ve recently been working on a Ruby gem for the FastSpring Saasy (Subscription Management) API. Source is available over at Github all feedback welcome and encouraged.
RBzip2 v0.2.0: Now with 100% better compression
Ok, with any compression at all. That said, you can now use the gem to compress and decompress arbitrary data using bzip2. [more inside]
Yet another Mongoid::Orderable gem.
Hi there! I’ve published new Mongoid::Orderable gem. It uses batch mongoid $inc and proper assigns position while moving between scopes. I hope you’ll like it.
Aspector 0.5.0 is released
I just released Aspector 0.5.0. Aspector means Aspect Oriented Ruby programming. It is a rewrite of my other gem - Aspect4r. Please feel free to take a look at both and let me know your comments or suggestions.
Clean your controller and model with gon+rabl
Introducing gon gem. From the beginning it was just a funny gem which allowed to throw controller variables to js global namespace without data attributes in view. Now integrated with rabl it’s really useful tool making getting JS start data for your application easy.
Announcing RailSide : a native OS X Rails Editor
I am pleased to announce RailSide, a native Ruby on Rails Editor for OS X. [more inside]
Use git.io in your Ruby code.
Do you want to use the Github url shorten service in your Ruby code? Here you are.
Videos of Matz's keynote and competition pitches
Videos of Matz and Derek Collison’s keynotes, and Silicon Valley contest pitches are now availabale on the following site. Fukuoka Ruby Night [more inside]
Deploying Rails 3.1 Applications to Engine Yard Cloud
Check out Michael Latta’s post about Deploying Rails 3.1 Apps on Engine Yard Cloud!
Convert Dates Between Ruby And Javascript
Convert Dates Between Ruby And Javascript
rolify 2.0 - Role management library with resource scoping
If you are developing a Rails 3.1 project and look for a Role management library that you could plug with Devise and CanCan, then you should consider rolify. Version 2.0 includes performance improvement, initializer code cleaned up, spec coverage enhancement, opinionated defaults and support for many different rubies (1.8/1.9, REE, Rubinius and JRuby). Currently it works only with for ActiveRecord but there are plans to support Mongoid in a not too near future. [more inside]
Optimize deploy time compiling your assets locally
Asset pipeline rocks, but compress javascript, specially if you have large files (i.e: a WYSIWYG), can be a pain for your server. We explain in this post how we have solved the problem, by precompiling in local before deploying.
Setup GitLab (Github clone) using Vagrant and Chef
This is 2nd part of the series Rails app with distributed deployment playground. In this part, we’ll setup Gitlab as Github clone using vagrant and chef-solo
Rails app with distributed deployment playground
A 3 part series on setting up Rails app deployment in your local workstation using different components. Here goes: Rails app with distributed deployment playground.
Twitter's Bootstrap on Rails
Twitter’s Bootstrap CSS toolkit makes your webapp look pretty. I wrote about how to use it with Rails 3.1.
Use Live Reload with Rails for Faster Development
In this post I go over how to setup LiveReload to work with Rails. LiveReload automatically reloads the page when you change your code. So it’s saving you from having to hit refresh [more inside]
Making a Text Adventure Game in Ruby - A 7 Part Series
You’re standing in a green meadow. You’re holding a bonesaw, a vacuum cleaner and a very angry cat. Across the meadow you see a small white house. What do you want to do? Everyone likes text adventure games, why not write them in Ruby?
Rack middleware for knowing which version you deployed
I just released rack-git-version, a simple Rack middleware that lets you know which version is deployed by adding your the current git tag or ref to your HTTP headers.
SiriCal 0.0.1 released : iOS 5 Siri feature in your Ruby app
SiriCal version 0.0.1 is now available on rubygems & github ! [more inside]
Webmachine v0.3.0 released
Webmachine for Ruby version 0.3.0 is now available on RubyGems. gem install webmachine to get it! [more inside]
Handle 'active' link logic with active_link_to gem
We use it for years in pretty much all Rails applications we work on. Check it out:
RBzip2: A pure Ruby implementation of the bzip2 algorithm
Version 0.1.0 of the RBzip2 gem has been released. It’s released under the BSD license and its source code is available from GitHub. It’s a pure Ruby implementation of the well-known and widely used bzip2 compression/decompression algorithm. It has no external dependencies and will therefore run on any Ruby implementation (and operating system). This first release offers support for decompressing bzip2 compressed data streams, i.e. IOs. The final aim is to provide a feature-rich and human-friendly API to (de)compress data using various ways.
Richie Rich: A simple system for investing (written in Ruby)
Richie Rich is a Ruby script that runs monthly (local cronjob) and generates an email report that shows each of the recommended mutual fund allocations and whether they should be in a buy/hold or sell/cash position. [more inside]
Twitter is the new RSS Reader
How you can use the twitter gem to tweet new blog posts Twitter is the new RSS Reader.