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.
The Problem With Rails Callbacks
New post on the problems developers run into when using Rails callbacks, why they arise, and how to get around them: The Problem With Rails Callbacks
Ruby, Meet iPhone
In this presentation, I’ll introduce RubyMotion, the platform’s development tools and workflow, and third-party libraries that push the state of the art in iOS developer tools. I’ll also show some example apps and reflect on my experiences building real-world production apps in Ruby. [more inside]
Rails 4: My First Run-in with Turbolinks
Stafford Brooke writes about his first run in with turbolinks in Rails 4.
Writing a good README
New blog on writing a good README for Rails projects.
Tagging With ActiveRecord and Postgres
Take a look at how to implement Tagging With ActiveRecord 4 and Postgres. [more inside]
Better Single-Table Inheritance through Model Delegation
I’ve seen several articles recently on the evils of single table inheritance in Rails apps. While it can be problematic, I recently tried an approach to STI that I think works well. [more inside]
kramdown-man 0.1.4 released!
kramdown-man is a markdown to man page converter, using the pure-Ruby kramdown markdown library. kramdown-man seeks to support the majority of markdown syntax and roff tags. Unlike ronn or md2man, kramdown-man does not depend on any C extensions, and supports JRuby. [more inside]
ITTIA DB SQL Offers M2M Data Management for the Internet of Things
ITTIA DB SQL’s Machine to Machine connectivity allows developers of smart devices to build applications capable of collecting and transferring device data across a diverse ecosystem, ensuring that data is always available. This leading-edge technology comes with all the benefits of standard data management features, such as relational model SQL queries, multithreaded access, and ACID protection.
websocket-driver, an I/O-agnostic WebSocket library
I’ve blogged about the new WebSocket library I’ve been working on that helps you easily add robust WebSocket support on any Ruby I/O stack, and why most protocol libraries fall short of the mark.
Chipmunk Gem, version 6.1.3.0.rc1
Release 6.1.3.0.rc1 of the Ruby Chipmunk bindings.
Adequack: keep your mocks in sync with your real objects
Adequack will help you to be sure that your mocks are in sync with a real objects and you haven’t accidentally stub nonexistent method when you do isolation testing.
Phusion Passenger 4.0.1 final
Phusion Passenger, the most popular Ruby app server, has just released version 4.0.1 with many performance, feature and stability improvements.
Vim tab completion for RubyMotion
A quick rundown on setting up Vim tab completion for RubyMotion.
Use Roar’s New Decorator If You Dislike Extend!
Roar and Representable got decorator support for all those who didn’t like the extend way of creating and parsing representations.
RubyTapas 100th episode giveaway
In celebration of the upcoming 100th episode of RubyTapas, I’m holding a drawing for a huge stack of Ruby and JavaScript ebooks, course subscriptions, and more. There will be 100 winners in total, and the prizes include books & discounts from Noel Rappin, Pat Shaughnessy, Jesse Storimer, Giles Bowkett, Thoughtbot, and much more–even tickets to the Barcelona Ruby Conference!
TraceView: Now With Free Tracing (and more)!
AppNeta is excited to announce three important changes to TraceView pricing and product today. First, and most importantly, we are launching a free tier! Project includes all the data we collect on requests, hosts, service calls, JVMs and everything else, and we’re giving it away, free forever. We want you to have this, so we’ve packed everything you need into this version to help you get as much visibility into production as possible. To learn more, read TraceView: Now With Free Tracing (and more)! To Trace for free, get TraceView.
Using Generic Image Processing Operations to Detect a Calibration Grid
We published a technical report about using generic image processing operations to detect a calibration grid (FigShare). Camera calibration is an important problem in 3D computer vision. However popular algorithms for determining the required correspondences are either semi-automatic (i.e. they require user interaction) or they involve difficult to implement custom algorithms. Using the HornetsEye Ruby-extension, a robust algorithm for detecting the corners of a calibration grid and assigning the correct correspondences for calibration was implemented (source code here: calibration.rb). The solution is based on generic image processing operations so that it can be implemented quickly. We also present a corner detector based on steerable filters. The corner detector is particularly suited for the problem of detecting the corners of a calibration grid.
ichannel v6.1.0 is out
ichannel is a channel for interprocess communication between ruby processes on the same machine(or network). The basic premise is that you can “put” a ruby object onto the channel and on the other end(maybe in a different process, or maybe on a different machine) you can “get” the object from the channel. The new release adds support for Redis as a backend(in addition to a unix socket).
irb for webruby (mruby in your browser)
This is an irb for use with the webruby project. [more inside]
Build your Own Credit Card Processing with Ruby on Rails
I just launched a new tutorial about Credit Card Processing with Ruby on Rails.
Whirlwind tour through SSL and Ruby's net-http
Just wrote an article that explains some of the basic concepts of SSL and how to implement SSL in Ruby [more inside]
switch_user 0.9.2 released. Now with rails 4 compatibility.
I just released a new version of switch_user. This release includes rails 4 compatibility improvements as well as various bug fixes. switch_user allows you to switch between users without needing to log in using a username and password. This can be a great timesaver in development. [more inside]
31 Links from RailsConf Day 3
Lots of links from the lightning talks this time. Feel free to add a link in the comments if it’s missing.
Your forms have Validation Issues
I just create a video teaching you how to use Validation Issues. If you have forms that are not converting well and you are thinking about doing an AB test you NEED to use this gem.