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.
Managing change using a common interface
Continuing my articles about forwarding and object responsibilities, I just released a new post about the benefits of managing change using a common interface.
The Vibe: “RubyConf Edition”
I wasn’t at Ruby Conf, but I followed it vicariously via various social media channels. There is a huge amount of action in Ruby at the moment, including a ton of focus on performance. Continue reading The Vibe.
Using FactoryGirl to easily create complex data sets in Rails
A new post up at the blog about data sets with FactoryGirl.
Gemnasium Auto-Update: Lessons learned
After several months in production, Gemnasium is getting back to the auto-update feature, and explains why it is way more difficult than expected. Read the article here.
Introducing mina_maintenance
mina_maintenance is a maintenance mode for mina deploy. Heavily inspired by Capistrano::Maintenance. Feel free to try it and share your thoughts!
Introducing Traveling Ruby
Traveling Ruby lets you easily ship Ruby apps to end users. Use Traveling Ruby to create self-contained Ruby app packages for Linux and OS X. Completely open source, MIT licensed.
Ember-Style Computed Properties in Ruby for Gamebox
Figuring out how to use Ember-style computed properties in Ruby Gamebox.
Necromancer v0.2.0 released
I’ve released necromancer for the purpose of ruby core types conversion. Hopefully API will convince you of it’s ease of use, flexibility and composability(you can build custom conversions out of simpler ones). Please give it a try and let me know your thoughts.
beerdb RubyGem Update Incl. Quick Starter Datafiles; Zip Downloads n More
I’ve uploaded a new beerdb gem update. What’s news? The beerdb gem that lets you load datasets (e.g. beers, brewpubs, breweries, etc.) in plain text into your SQL database of choice now includes a new build system. Use the new Datafile - a mini language a.k.a. domain-specific language (DSL) that lets you setup your database in minutes. For example, to setup a beer.db for all Austrian beers n breweries use the at.rb quick starter template. Type $ beerdb new at to download the datasets (as zip archives), setup all tables, indexes, etc. and read in all fixtures. Cheers. Prost.
Ruby Object Mapper 0.4.0
Yesterday ROM 0.4.0 was released along with updated rom-sql, rom-mongo and rom-rails.
Debugging I18n lookup in Rails
Here’s a way to output the I18n lookup chain to debug translation strings on your Ruby on Rails app .
Caching Your Rails App's Dynamic Content With Fastly
This post explains how Fastly works and how to set up Fastly in a Rails application to cache dynamic content (not only assets).
Valid? valid! valid
Check our new blog about rails validations: [more inside]
Meet the x-ray-amchine
Hey pips, i just launched the x-ray-machine which is a zero configuration logging/profiling tool for rails. [more inside]
Command Line Flags for Minitest in the Raw
You can run Minitest directly from the Ruby interpreter to target single test cases or specific tests. This post calls attention to a few of the framework’s own command line options that aren’t well publicized but which can be useful for these scenarios.
‘Learn Ruby on Rails’ on Amazon for 99 cents
I’ve just released my book Learn Ruby on Rails on Amazon (it was only available with a RailsApps subscription before today). Even if you already know Rails, you might want this book. You can get Learn Ruby on Rails for only 99 cents for the next seven days (it’s a launch promotion). And, please… write some 5-star Amazon reviews?
Forward v2: Static Sites, Logging, Multiple Accounts, and more
We recently launched an all new version of the Forward gem. Now you can forward a static sites, view requests as they come over the tunnel, use multiple accounts, and auto copy/open your tunnel URL. [more inside]
Video Tutorial: Ruby on Rails Development with Git and Github
Learn how to setup your Ruby on Rails development environment to use git and github in this video tutorial.
DRYing up Rails Views with View Carriers and Services
Read about DRYing up Rails Views with View Carriers, why use carriers, when and when not to use rails helpers, overcoming double dot and simplifying complex views.
Testing and Environment Variables
Learn how to test code using data in environment variables with Climate Control.
Renewable: Frozen by default objects
Last week I wrote a gem to begin playing with an idea for melding Functional ideas with OOP. The result is the Renewable gem. The code is on Github and I’d love feedback and use cases to target. Right now this is a solution in need of a problem; so, please help me vet it.
Rails Gemfile Teardown - 2014
I looked at one of my recent Rails Gemfiles for 2014. Here’s my Rails Gemfile Teardown. Hope you enjoy!
TheViking 1.0 released
TheViking 1.0 - Akismet anti-spam service for Ruby and Rails. [more inside]
New Rails gem "dynaspan" for dynamically transforming text to edit
There are half a dozen JavaScript snippets/projects out there that let you click on some text and an editor appears in place. Well now we have one built for Rails with minimal setup and minimal clutter. Built with Bootstrap in mind it provides elegance with simplicity. If it’s text connected to the database, it can be dynamically updated. [more inside]
<a href="https://ninefold.com/blog/2014/11/25/threads/">Threads in Ruby (part one)</a>
Why do I need to know about threads? My main purpose to discuss threads is not for the audience to start writing multithreaded code but to have a good idea of what is happening to their application when they are using multithreaded gems in their codebase. [more inside]