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.
7 Reasons Why I'm Sticking with Minitest and Fixtures in Rails
I wrote a new post titled 7 Reasons Why I’m Sticking with Minitest and Fixtures in Rails. Hope you enjoy!
Using a little bit of convenience to save your programming flow
While you’re building software, there will be things that will frustrate you every time you have to write them. Bits of code that look ugly. Or those lines you can never quite remember how to write, so you find an example somewhere else in your codebase to copy and paste. These break your flow! So it’s important to recognize them, and make them more convenient.
How (and WHY!)to get developers to write a blog post
Writing blogposts can be as important as contributing to an open source. Here’s why as a developer you should share your knowledge and write a blogpost from time to time.
I built a Heroku Add-on to simplify SSL Installation
My Heroku add-on ExpeditedSSL was just accepted into General Availability. The add-on grinds the complexity and issues of getting SSL going on Heroku into the dirt.
SSL for Rails with Heroku and DNSimple
SSL certificates can be intimidating but Heroku and DNSimple make the process easy. These steps should take us less than 15 minutes.
Hello world! This is Feedlr
Have you met Feedlr? A Ruby interface to Feedly. First version is out!
I am now a till time Ruby/Rails coach
I have to apologize for being away so long. I ended a relationship that had drug on for far too long and going nowhere, and at the same time I decided that I will no longer accept clients that refuse to place the proper amount of importance on quality and training. [more inside]
FiniteMachine 0.7.0 hot off the press
Just released finite_machine which introduces new callback types on_before and on_after for listening to events and separating them from state changes. This means that the transition sequence and callback lifecycle have changed as well. I’m looking forward to your feedback!
Picking a good one with UIPickerView - RubyMotion Screencast
UIPickerView is a common sight in a lot of applications, it’s an easy and familiar way to… well… pick things. Understanding the delegate and data source though can allow you to really understand what’s possible and use it in more creative ways. https://motioninmotion.tv/screencasts/28
How I leveled up this week
A few new coding practices I implemented this week, Check it Out
3 ways to generate URLs using magical routes in Rails
In this article, we talk about three different ways to generate URLs used by Rails among controllers, mailers, views and helpers. We’ve also included examples and some suggestions on when you should use them.
Filling up Rails 4.1 powered Mobile site with Content using Framework7
In this episode we take a look at how Framework7 structures it’s content. We try out a few examples from the kitchen sink provided by Framework7’s documentation. 14 minute Video tutorial.
Integrate PostGIS and Google Maps in Rails Part 2
Here is part 2 of my blog series Integrate PostGIS and Google Maps in Rails. It shows how to encode the geometry in PostGIS as GeoJSON and render them on google maps.
Recurly.js Rails hello world
Based on what I learned implementing billing for my app WiseCash, I extracted an example app of how to use Recurly.js to accept recurring payments with Rails. Note that this is currently for Recurly.js v2 - will adapt it to v3 once I have migrated my app.
Pronto now supports Food Critic!
Pronto performs quick automated code reviews with the help of various analysis tools (RuboCop, Brakeman, Flay, etc.) by checking only the introduced changes. And now it lints your chef cookbooks with the help of Food Critic. Check it out: Pronto and pronto-foodcritic.
MetaRuby - An Ounce of Meta
Want to do some simple metaprogramming? Have you ever wondered how things like attr_reader work? Unlike languages like Java we can easily define our own language constructs. [more inside]
Rails Misapprehensions: Single Responsibility Principle
SRP is, hand in hand with MVC, Decorator, and SEO, one of the most misunderstood concepts in the Ruby community. In a quick post I describe what SRP means and how you can use it when designing APIs.
Mocking and Ruby
Here are some thoughts about mocking and ruby: Mocking and Ruby.
Integrating Framework7 (mobile UI framework) into Rails - Codemy.net
In this episode we show you (13:24 minutes) how to integrate a mobile framework into a Rails application.
3 Simple but Powerful Takeaways for Ruby Devs from Sandi Metz
3 key takeaways from her talk that we saw: http://multifaceted.io/2014/3-simple-but-powerful-takeaways-from-sandi-metz/
Rails 4.1: Email Previews - MetaCasts.tv*
In this episode we’ll learn about the new email preview functionality built into Rails 4.1 to preview emails during development. [more inside]
Ad-hoc deployment to Installr for your RubyMotion apps + a competition
I have a special episode for you all today! This is a normal episode just like any other, where I’ll walk you through the process of using motion-installr to get setup for ad-hoc deployment using the awesome Installr service. The twist is though that I also have a competition for you! Here is the episode and this is the competition details.
BabyErubis - yet another eRuby implementation, based on Erubis
BabyErubis is an yet another eRuby implementation based on Erubis. Only 200 lines of code and easy to customize. Supports both Ruby and Rubinius. (Rails conpatibility is planned at next major release.)