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.
Grand Central Dispatch Isn't Just For Background Queues (Singletons in RubyMotion)
Tonight at SydInMotion I got in a discussion that lead to me explain Dispatch.once and why it’s so handy. I’ve decided to write this up as a quick tip as it’s useful in almost any application. [more inside]
All-time World Cup standings (1930-2010) calculations and more w/ sportdb gem
Hello, The latest sportdb gem includes new tables (and models) for group, league and all-time standings. For example, to calculate the all-time standings table for the World Cup (including all nineteen tournaments from 1930 to 2010) use the football.db build script and issue $ rake build DATA=history This will import all teams, tournaments, results, and so on and dump
the all-time standing e.g.
1 Brazil (BRA) 97 67 15 15 210:88 216 19
2 Germany (GER) 99 60 19 20 206:117 199 17
3 Italy (ITA) 80 44 21 15 126:74 153 17 ...
The full results all serve as a great checksum that all football.db match data is up-to-date and complete. Cheers.
Ruby community seems awesome! I want to learn from ruby community.
I am a very beginner with ruby but not in programming. Want to learn this language very well. I heard ruby community is awesome! So, can I work with any experts group, from whom I can learn this amazing language? Is there any mentor at rubyflow?
rack-dev-mark 0.3.0
I just released rack-dev-mark 0.3.0. The github-like dev ribbon will be shown on all the pages in development environments!
Practical Microservices with Ruby book
I’m writing a book on practical microservices with Ruby. If you want to stay posted on my progress, receive book excerpts and get a special launch discount, subscribe here!
How to create post-it notes app in Ruby Shoes
My step by step guide to creating post-it notes app in Ruby Shoes with YAML::Store for storage of notes.
Configuring your table cells in RubyMotion using MotionKit
After popular request, here is a basics episode for using MotionKit with your table cells, including how to use autoresizing masks and the MotionKit DSL for Auto Layout in your table cells. A short episode filled with good tips. [more inside]
Rails 4.1 Message Verifier - Codemy
We introduce you to the Message Verifier feature in Rails 4.1 ~ 11 Minutes video
Swift Still Won't Replace RubyMotion
The day Swift came out, I wrote up a piece about “Why Swift Will Never Replace RubyMotion” which ended up getting a good amount of attention, both good and bad (luckily mostly good). Since then though, a lot has happened, I’ve talked to a lot of people about my post, I’ve read other peoples thoughts, and most importantly I’ve read and watched as much as I’ve been able to about Swift and how to use it. [more inside]
Basic Ruby Data Types (for beginners) - Codemy
We show you some basic data types in ruby ~10 minutes Video
Click some text, it turns into a form. Abracadabra version 1.2.0 released!
Tired of having ugly forms, or different pages for editing and viewing? Try out my gem abracadabra, where clicking some text turns into a fully Rails-compliant form-for-esque form. Clean, modern, easy-to-use, Railsy. Similar to x-editable, but built from the ground up. The new version, 1.2.0, allows you to manually rebind using the new $.abracadabra() jQuery function. Follow @trevorhinesley
Search with autocomplete using Solr, Sunspot and typeahead.js
Short introduction to Solr, Sunspot and typeahead.js. Part1.
Testing things that take time
Have you ever needed to test something like this? [more inside]
Phusion Passenger: Design, Architecture and Code Walkthrough
The internals of Phusion Passenger are thoroughly documented in the new Design and Architecture document and the Code Walkthrough video. Take a look inside one of the fastest and most advanced Ruby application servers. With these new documents, we hope to make Phusion Passenger more transparent and we hope to encourage contributions.
Calling C/C++ from Ruby
An overview how to easily start using C/C++ libraries in Ruby code. Case studies of most common gems with their basic set-up. [more inside]
A short write-up about Rails Fixtures
I just published an article about Rails’ Fixtures Fixtures in Rails.
Flexkey: A flexible product key generator
Flexkey is a Ruby gem for generating unique, random strings for use as product keys, redemption codes, invoice numbers, etc. Check out Flexkey on Github or read the blog post for more info.
TODONotifier: OS X notification integration for simple human-readable TODO text files
I’ve used a lot of Todo applications, but I never really liked any of them. Really, what I like to use is a text editor and just create a simple list manually. However, I like having notifications. Thus, TODO Notifier [more inside]
SeedMigrations. Like schema migrations, but for your data
We recently open sourced SeedMigration, one of our internal gem at Harrys. Here is a blog post explaining why we love it, and why you might enjoy it too.
Language Designers Wanted
The Ruby gem Rattler is designed to make language design and recognition as simple and fun as possible. It’s nearly ready for a 1.0 release, but unfortunately I have so little time to work on it that progress is slow. [more inside]
The Many Shades of the Ruby Programming Language
Which Ruby implementation is right for your project? While the reference implementation (Ruby MRI) remains the interpreter of choice, an alternate Ruby implementation may be right for your project, depending on your operational goals and constraints. This article showcases the Ruby interpreter implementations and runtimes available today, discussing the advantages and disadvantages of each.
Shared Terminology Yet Different Concepts Between Ember.js and Rails
Developers who are well versed in Ruby on Rails (or other MVC implementations) and start learning Ember.js may find it surprising that, even though there’s shared vocabulary, denoted concepts are sometimes very different. [more inside]