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.
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.
CGI.escape and "Undefined method 'bytesize' for nil:NilClass"
Solving this annoying error once and for all in your Rails applications.
Deploying WebP via Accept Content Negotiation (and Nginx)
A hands-on look at how to configure Nginx to transparently deliver and cache WebP assets via Accept negotiation.
9 Links From RailsConf Day 2
If you liked the RailsConf day 1 link roundup, here’s day 2. If you’re at RailsConf and want to get your link out there, just comment on the post. Normally wouldn’t post two days in a row but these seemed to be appreciated yesterday.
Xray-rails: reveal the structure of your UI
Check out xray-rails, a gem that’ll show you an overlay of the partials and Backbone views that were used to render your Rails app’s UI. Click any of the components to open the file in your editor.
So What, Exactly, Is the Purpose of a Rails Controller?
Getting back to the basics: trying to nail down the responsibilities of the oft-abused Rails controller.
Screencast: Behavior-driven development with Cucumber
Screencast: Behavior-driven development with Cucumber
22 Links From RailsConf Day 1
Eric Oestrich from SmartLogic rounded up a whole bunch of links to follow up on from the first day of RailsConf. Resources, upcoming events, and more.
Yet another class and instance methods definition
I just released gem smart_methods which helps to define class and instance methods using pretty DSL.
Scorched Earth game clone in Ruby
I’ve created Scorched Earth game clone in Ruby w\ OpenGL / Gosu. Any feedbacks and suggestions are appreciated.
Interview with Bradley Schaefer on joining the RSpec core team
Recently Bradley Schaefer joined the RSpec core team (along with Sam Phippen and Jon Rowe) under the leadership of Myron Marston and Andy Lindeman. Here is a brief interview with Bradley on contributing to RSpec and some of the current work of the RSpec team.
Rails STI vs. MySQL Views
I just finished article about Rails STI vs. MySQL Views.
A rubygem for natural spelling and grammar checker.
Just published, Gingerice, a Ruby wrapper of Ginger Proofreader which corrects spelling and grammar mistakes based on the context of complete sentences by comparing each sentence to billions of similar sentences from the web. Any feedbacks and suggestions are appreciated.
Monads the Heart of the Matter
Investigation of Haskell technique in your Ruby applications Monad the heart of matter.
Mustermann - your personal string matching expert
I published Mustermann, the string matching library that one day will power Sinatra 2.0.
Open Source Social Media Monitoring Version 2.0. from Apphera
I am thrilled to announce version 2.0. of our open source social media solution. You can get it from Github and all related information at: [more inside]
Test your Adword campaigns cheaply with Mechanical Turk.
Run Adword simulations with this Rails application and Mechanical Turk.