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.
Taming has_many associations in Rails 4
Ever had trouble with creating has_many associations from forms in your Rails 4 app?
Build a Ruby Gem book
I’m writing a book on how to Build a Ruby gem. If you’re interested in updates and a discount code when the book launches sign up here!
YamlLocalesJsonizer - simple generation of JSON data for a frontend from Rails-style YAML locales
New gem that allows you to easily use i18n locale files from Rails in your JavaScript frontend. It provides asset file for the asset pipeline, and a view helper, to assist with locale updates in development. Compatible with i18next javascript i18n library. [more inside]
Two Rules for Devprenuers
Thinking about starting a business? You should keep these two rules in mind.
Lotus::Router a fast, and lightweight HTTP router.
Lotus::Router is an HTTP Router for Ruby, it’s fast, lightweight and compatible with the Rack protocol. [more inside]
How Lita.io uses the RubyGems and rubygems.org APIs
Learn how Lita.io uses some lesser-known RubyGems APIs to create an automatically updating list of plugins for the Ruby chat bot, Lita.
Ruby Gem for Vuforia's Web Services API for target management
I just finished writing a ruby gem to interact with Vuforia’s Web services API for target management: https://github.com/nkokkos/vws
Tutorial: Start Building an OS X app using Ruby - Takes 15 minutes, just try it!
New series I’ll be releasing through my blog on building OS X apps with RubyMotion. For anyone that was reading the MVC/Cocoa intro posts, I’ll still be doing those too! Here is part 1 for building OS X apps using Ruby. [more inside]
Common Pitfalls of Code Metrics
After a couple of years of using code metric tools I blogged about common pitfalls you may encounter.
Ruby on Rails Explained for Front-End Developers
Our front-end developers at dojo4 had trouble knowing enough about Rails to be able to do their html/js/css awesomeness, so we wrote a book to help other people. Check it out: Ruby on Rails Explained for Front-End Developers
Functional Handler - A Pattern in Ruby
Sometimes we run across a case where we want to run several steps that are all dependent on the success of the previous step. Rather than munging together a bunch of conditionals, let’s take a page from functional programming to solve our problem. [more inside]
The most important thing you can do in an any interview
In what is turning out to be a series on recruiting and interviewing, in my latest blog post, I discuss the when, what and how of asking questions in an interview and why it is so important.
These Vim tricks will save your life
Check out these handy vim tips! [more inside]
Using Rails with Postgres for schemaless data
Rolling your own integration with an external service where the schema can change from moment to moment can be tough. [more inside]
Mocking HTML5 API's Using PhantomJS Extensions
Recently one of our projects called for using the browser’s Geolocation API. We were excited about this project. However, we had an immediate concern about how to test a feature that interacts with one of the browser’s built in APIs. Read More…
Open github page for a gem via commandline
Simple timesaver: copy github for gem + gem-github {gem} = open github page for {gem} in browser
Development Environments for Beginners
I’m working on Development Environments for Beginners – a book that guides beginning programmers through the setup of Ruby, JavaScript, and Python development environments.
Making RubyMotion Better, Together - and a little bit about discrimination
It’s been about 3 weeks since the RubyMotion community project group started, and I wanted to do a bit of a write up about how things are going, and why anyone interested in RubyMotion should join us. [more inside]
Versioning your Ruby library
If you’re going to share code with the Ruby community, how should you handle versions? I’ve written a blog on Versioning your Ruby library.