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.
Bustle - Activities recording and retrieving using a simple Pub/Sub architecture
Bustle - Activities recording and retrieving using a simple Pub/Sub architecture. The advantages:
Ubuntu 12.04 Ruby on Rails Development Environment
I know I’m late to the party, but I just couldn’t find a guide that documented a rails setup the way that I needed it to, so I just posted an updated Ruby on Rails setup guide for Ubuntu 12.04 LTS, Precise Pangolin. Read more
up - a bash script that updates either a git or an svn repo
This script lets you run a single command to update either a git or an svn repo. I hope you find it useful.
Building Relationships in a Database and Querying with ActiveRecord
How exactly do we model relationships between different database tables, and how do we use those relationships in ActiveRecord? With Database Relationships and ActiveRecord [video] you’ll learn how to map a has_many and belongs_to relationship and more in databases, and cover how to query and join the data in ActiveRecord. This is the second week of my Database and Rails class at the University of Texas.
irake - lightning fast rake (in rails console)
I just launched irake for easy and fast running rake tasks in rails console. Read more
rails_best_practices 1.10.0 released
rails_best_practices gem 1.10.0 released, it added 3 new checkers, HashSyntaxCheck, LongLineCheck and UseParenthesesInMethodDefCheck, check out more here
BostonRB June '12 - JRuby
This past month we had two presentations and one lightning talk, videos available: Read more
Talks gem now works on linux and show notifications
I just added new functionality to talks gem for working with different notifiers (like Growl, Kdialog, etc). And from previous version talks perfectly works not only on MacOS X ;)
Some Updates on Representable: 1.2.3 Released
With the release of representable 1.2 - a gem to map (REST) documents to Ruby objects - some groovy things changed, like the treatment of nil and false values.
postgres_ext: Adding Postgres data types to Rails
I just blogged about a postgres_ext, a gem I released to add support to ActiveRecord for PostgreSQL data types
portalign - A rubygem for easily managing your EC2 security groups
Portalign is a rubygem designed to simplify EC2 security by aligning your EC2 security group(s) with your current IP address. This allows you to keep your ports 99.999% closed, while leaving them open for the only IP address that matters: where you are right now. Align the port, do your work, release the port. Easy and secure.
Cloud-based API for applying effects on images
This blog post describes how to easily apply effects and filters on images using Cloudinary’s cloud-based API: hue, saturation, brightness, oil paint, sepia and more. The post also explains how to apply multiple chained image transformations simply by modifying an image URL. Ruby sample code included.
CachedResource @ 2.3.2
CachedResource is now at version 2.3.2. It now supports cache expiry randomization and deals with certain ActiveSupport quirks better. Read more
Rails 2 Asset pipeline
Stuck with Rails 2 and want some asset pipeline love? –> Rails 2 Asset pipeline
Slide Show (S9) v1.1.0 Update - More Template Packs (Deck.js, Impress.js, CSSS, etc.)
I’ve uploaded a new slideshow gem (aka Slide Show (S9)), that is, v1.1.0. What’s new?
Many more template packs (including Deck.js, Impress.js, Slidy2, CSSS, etc.). Let’s you configure your markdown library via markdown.yml. New template variables (that is, slide.data_attributes, slide.content_without_header) and more. Cheers.
Add some basic descriptive statistics to your Enumerable module
I just launched the Descriptive Statistics gem that will allow you to basic statistics on data stored in arrays. For example data.standard_deviation or data.percentile(50).
New release github_cli v0.4.0
Command line tool for querying GitHub API v3 with new apis and juicy output formatting @github_cli.
Databases & Rails: Week 1
It’s the beginning of another course at the University of Texas, and i’m bringing the content direct to you. In this post of Databases & Rails: Week 1 Introduction you’ll learn how the web works, how data stores are used to power the web, then we’ll design a simple data store and see it implemented in PostgreSQL. Tell your friends, it’s gonna be fun.
Debunking Responsive CSS Performance Myths
Modern browsers are much smarter than most give them credit for. Myth #1: All stylesheets block rendering; Myth #2: CSS is always in the critical path. A look at under the hood of how WebKit handles CSS loading.
f.lux: eyes-care for night-workers
This post isn’t related to ruby, but as hard ruby devs, we couldn’t resist to share our experience with this tiny tool. It’s 100% free and life-changing.
Global Hack Day #5 is today!
The idea of having weekly or monthly hack nights has worked great for Ruby users groups all over the world, but the folks at Mendicant University feel like the internet deserves a similar kind of event. Read more
newrelic-workling 1.0 released
If you are using workling and newrelic, be sure to checkout newrelic-workling 1.0 gem, and my post
Rethinking web API development
Here is an article aboutrethinking web API development.
JavaScript Views Can Be Logical
Yea, about JavaScipt, but yesterday DHH was tweeting again about pushing HTML back from AJAX responses since they do not like logicless templates. But they do not have to be. Here is an article called View Controller Patterns With Spine.JS & SpacePen that explores Apple design patterns for ViewController that play out nicely with Spine.JS and SpacePen. Perhaps these methods can be applied to other MV* JavaScript frameworks?
Automatic and custom image rotation
This blog post describes how to easily rotate images in any angle and how to automatically rotate images left or right if the desired aspect ratio doesn’t match the original image. Image rotations can be mixed with any other Cloudinary’s image transformations. The results are cached and delivered through a fast CDN. Ruby on Rails sample code included.