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.
Start using refinements now!
I just updated the zucker core extension library and it is now completely based on refinements. It is organized in very small units and playing around with it is a great way to get familiar with Ruby’s new refinements!
Announcing 2014 Burlington Ruby Conference Speakers
I’m excited to announce that our full speaker lineup is now on our website! We have 13 awesome speakers joining us this August 2nd & 3rd for a unique, single track conference on the shores of beautiful Lake Champlain in Burlington, Vermont. [more inside]
Improve your test readability using the xUnit structure
TL;DR: test quality is not just about verifying correctly whether your code works, it’s also about making your test easy to read and understand. [more inside]
Introducing early version of Fourchette: test PR against a fork of your Heroku app
I just launched an early version of Fourchette and would love if you could try it. What is Fourchette? If you use Heroku and GitHub, look at my post…
ActiveModel::Serializers - MetaCasts.tv*
In this episode we will use TDD to write a custom JSON serializer using ActiveModel::Serializers. We’ll learn about how to use scope to determine which attributes to serialize. We’ll also look at some of the changes in the forth coming 0.9.0 release, including breaking changes around using URL helpers in a serializer. [more inside]
New version of Macros4Cuke gem
The macros4cuke gem, is a Cucumber extension that allows you to define your own custom steps without programming has reached version 0.5. Give it a try: its installation is simpler than ever…
How to improve your software design with code that feels wrong
You know what you want to do, but your code just isn’t cooperating. Maybe it has a few too many levels of indentation, or chains a half dozen methods, or looks asymmetrical. Whatever it is, something just feels off. You could ignore it – I mean, you have a backlog full of features you still want to write, and it’s really not that bad. But that would be a mistake: Your code is trying to tell you something, and you don’t want to miss it.
Rails API Course on Code School
Code School launched a Rails API course covering how to build and test REST APIs.
Rails 4, Strong Parameters, and Deprecation of the attr_accessible Macro
The attr_accessible macro has long been a Rails mainstay, playing a major role in preventing malicious access of sensitive model attributes. However it (and its sibling attr_protected) was deprecated in Rails 4 in preference of a new approach known as “strong parameters”. In the latest Easy Active Record blog entry I introduce strong parameters, explaining why attr_accessible was inconvenient and demonstrating the advantages gained by the new strong parameters approach.
Better way to organize and maintain your Rails helpers
better_helpers is a rubygem that provides a simple pattern to keep your helpers scoped, avoiding conflicts in the global namespace.
Make Your Life Easier With The Open Source Gem for Dokku
Make Your Life Easier With The Open Source Gem for Dokku (Dokku Client for rails project with preinstalled dokku plugins.)
Terminal colours made simple
On Sunday, I released a small side-project of mine, a gem called tco. It’s a tool to simplify colouring things in the terminal. The main feature of it is the way it works with colours. Instead of an oddly organised sequence of colour codes, tco simply works with RGB. It provides a library for your Ruby gems and apps, and also a standalone command-line tool that you can use anywhere else. [more inside]
Heroku Subletting - Share the cloud
Today we’re announcing Heroku Subletting. A great new way to share the cost and resources of multiple Heroku Performance Dynos. [more inside]
A quick script to back up your code from heroku
You can already mirror github so why not Heroku, too?
A look at MetaCasts.tv episode stats
Just over year after launching MetaCasts.tv I took a look at some of the more interesting stats on MetaCasts.tv Episodes. [more inside]
eBook with iOS app source code and backend Rails app source code
iOS on Rails is a book for anyone with some Rails experience and little or no iOS experience. [more inside]
MagmaConf 2014 Early Bird Tickets Almost Sold Out
MagmaConf 2014</a href> takes place this June 4, 5 and 6 in beautiful Manzanillo, Mexico; and our Early Bird discount tickets are going fast! Don’t miss out on your chance to attend Mexico’s premier web development conference. We’ve got some great speakers lined up including Sandi Metz, Desi McAdam, and Fred George (check out the full line up here</a href>). We’ve also got your amazing beach side room all made up just for you, so make sure to book your room at Magma Village</a href> before it’s too late!
Wicked Good Ruby Conf RFP is Open!
Boston’s 2nd annual Ruby Conference’s RFP is open. We are also looking for sponsors.
How Can I Make Ruby Not Compile Gems on Every Machine?
A lot of folks wonder, “how do you deploy Ruby in a commercial environment with strong stability requirements?” [more inside]
ITTIA DB SQL Helps Android Developers to Manage, Discover and Distribute Embedded Data
ITTIA DB SQL now provides Android applications new capabilities to discover nearby data from other devices such as mobile tablets, notebooks, and embedded systems. With a footprint suitable for embedded systems, interoperability is greatly simplified, and new data is automatically and efficiently transferred upon discovery, so that Android applications can monitor and control nearby systems.
Our CSS/Sass Project Architecture and Styleguide
Feeling lost among your unorganized and bloated CSS files? Check out how we’re managing it in our new blog post. Written by Bruno Azevedo: Our CSS/Sass Project Architecture and Styleguide.
48 links to follow up on from CocoaConf
If you couldn’t get to CocoaConf, or didn’t take very good notes, Ara rounded up 48 links to resources and events mentioned while he was there.
Rails + RubyMotion - Communicating with your Rails backend in your RubyMotion apps with RestKit
RestKit is an amazing library for communicating efficiently and easily with RESTful services, like a Rails backend for your application. With a bit of setup, it’s by far one of the best ways to keep your RubyMotion app in sync with your server. We’re going to continue where we left off in Episode 16 with our Tasker application, and have RestKit keep our tasks saved to the server, and keep the server and Core Data store in sync. See the show notes for the Rails app I’m using with Tasker. [more inside]
FiniteMachine 0.3.0 release
The finite_machine has stronger focus on event driven transitions. Now you can call your events asynchronously fsm.async.go. Please check it out and let me know what you think!