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.
Representation of your objects to JSON
Reptar is a microlibrary for write representations of objects to your JSON APIs, hope you enjoy it!
Awesome Jekyll Goodies (Tools, Templates, Plugins, Guides, etc.) List
Hello, I’ve started yet another awesome collection on GitHub over at the Planet Jekyll. What’s news? The awesome-jekyll repo collects - surprise, surprise - Jekyll goodies e.g. tools, templates, plugins, guides, etc. Anything missing? Contributions welcome. Cheers.
Building a Form Data Service with Rails Part1 (video)
This is the first video in the series of building a form data service from scratch with Ruby on Rails. In the first part I’m going through the planing and setting up a new rails application with integration testsing. Check out the video here
Investigating Ruby's Global Functions + Kernel Module With puts
We all used the puts method when we were learning how to program. But…have you ever thought about how this method actually works? Using this basic method, this blog post explores Ruby’s global functions and the Kernel module.
Decorating Ruby Classes to Extend Behavior
In part two of this multi-part series on building a fully functional calendar in Ruby, we will be decorating the previously coded CalendarWeeks class to return not just the dates for the calendar month, but also to add some CSS information to the returned matrix! [more inside]
Using CanCan to implement an “Agree to Terms” workflow
In this post Using CanCan to implement an “Agree to Terms” workflow, Jordan discusses his solution to adding in a basic “terms and conditions” workflow.
So Long, Value Object. Hello, Reference.
A walk through the Refactoring pattern, “Replace Value with Reference”. Value objects are cool and all, but they have some limitations. So how do we replace them with Reference objects..and what is a Reference object, anyway? Design is Refactoring
HABTM; You Don't Need It
My point: “For any valid use of implementing a has_and_belongs_to_many there is an equally valid way to implement it without it.” And I claim you’re better off without HABTM. http://6ftdan.com/allyourdev/2015/05/11/habtm-you-dont-need-it/
A small Rails 4.2 upgrade gotcha
Just a small post about something I ran into when upgrading an app from Rails 4.1 to 4.2.
My attempt at problem #5
I took a stab at the “real software engineer interview challenge” #5… it was a fun way to think through some things that rarely come up when writing standard Rails apps.
Better Ruby in 5 Minutes
Better Ruby in 5 Minutes is a new video series from Pat Maddox at RubySteps which shows you how to become a better Ruby programmer in just five minutes per day.
Redmine TPA
Redmine TPA (Tags for Performance Appraisal) is a redmine plugin that helps Performance Appraisals. It makes possible to link issues to pre-established criteria or organizational objectives. [more inside]
How Ruby Uses Memory
Everyone wants their program to run faster and use less memory, in this article we’ll look at how Ruby uses Memory and take a look at some simple ways you can optimize your programs.
Barcelona Jobs Roundup: May 2015
Hey! Following my post about the startup scene in Barcelona, here are some selected job offers for web developers in the city. I intend to update it once a month, do tell me if it’s useful for you :)
Planet Ruby Reloaded (Incl. News Reader, Gem of the Week Series, Ruby Bookshelf,etc.)
Hello, I’ve added a new start page to the Planet Ruby site. The idea is to have a single overview page for all projects including: Planet Ruby News Reader; Gem of the Week Series; Ruby Bookshelf; Awesome Ruby Events; Awesome Rubies; and more. As always - new links, articles, feeds, meetups, etc. welcome. Cheers. PS: Looking for awesome open data? You might be interested in the Planet Open Data.
Encryption in Rails
A rundown on the build-in encryption support in Rails, and how we’re using it to build Digestive.io - http://cookieshq.co.uk/posts/encrypting-secrets-with-rails
An ode by Byebug
How to use Byebug to squash those hard to reach bugs - https://intercityup.com/blog/an-ode-to-byebug.html
One year of React.js in Arkency
One year passed since React.js was introduced in Arkency. Let me tell you a story how we came to React and how well it worked for us.
Nobody told me Minitest was this fun
A few tips for people that are trying out MiniTest or ever wondered if it has all the RSpec features and general goodies you’re used too. [more inside]
Ruby: The Last 8 Years
Hal Fulton, the author of The Ruby Way has been interviewed and shares his thoughts on the past 8 years of Ruby from his unique perspective.
Tackle complex Rails applications with component based architecture
Component based architecture is complementary to good object oriented practices and uses namespaces, test driven development and Ruby gems to gradually define application boundaries and enforce an internal dependency structure. http://teotti.com/component-based-rails-architecture-primer/
Chaining an Array into Arel ors
Dynamically build Arel OR queries from an Array. http://6ftdan.com/allyourdev/2015/05/09/chaining-an-array-into-arel-ors/
Ruby Object Model Basics
The current object, ‘self’ in Ruby: Ruby Object Model : The Current Object, ‘self’ in Ruby
Idiosyncratic Ruby: Episode 5-8
The last days on @idiosyncraticrb: Exploring the mysterious script lines constant, standard library’s un.rb, the ruby -s command-line option and an opinion about module_function vs extend self!