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.
Writing Sensible Tests for Happiness
Writing good, sensible tests is hard. As a Rubyist, I feel lucky to be part of a community that embraces tests. Thought at the same time, I have come across too many projects that suffered from not having sensible tests. [more inside]
PhraseApp.com for i18n with in-context editor
We run PhraseApp. Localization and translation management for ruby i18n and mobile apps - with an in-context editor.
PhrasApp.com for i18n with in-context editor
We run PhraseApp. Localization and translation management for ruby i18n and mobile apps - with an in-context editor.
A Closer Look at How Ruby Object Mapper Works
I just published an article explaining how Ruby Object Mapper works internally. If you’re interested in writing ROM adapters or just curious to understand “the magic” behind ROM go and check it out. It’s right here.
Refactoring wrappers
I show on an example how to make your wrappers around external services object oriented. Refactoring Wrappers..
football.db Now Includes Web Admin Rails Engine - mount SportDbAdmin::Engine
The open football database (football.db) now includes a web admin Rails engine that you can include in your web app. Example: mount SportDbAdmin::Engine, :at => '/db' See the Rails engine in action in the Sportbook - a free football (soccer) match predication bookie - updated for the UEFA Champions League Playoffs [1], for example. Cheers.
Rails 4 simple admin area scaffolding
I published a blog post about simple admin area scaffolding in Rails 4. This could be useful if you are developing admin area from scratch. And I created rails-admin-scaffold gem which automates that process.
How to protect DB credentials for Rails app
Today I released new version of Shadow DB Credentials - gem that helps to keep database credentials for rails application in private place, outside of database.yml file. Details are here.
SMSEasy email-to-sms gem.
If you’d like to send SMS messages for free, I just released an updated version of the old sms-fu gem called sms-easy. SMSEasy works in both plain Ruby apps as well as Rails. I could use help testing and updating the carrier database, so if you have fixes, please send pull requests!
Postgres_ext versions 1.0.0 and 2.0.0 released today
Today I released two versions of postgres_ext, here’s a post both releases
Method definitions in Ruby 2.1.0 will not be void anymore
I recently noticed a change in MRI that I found interesting to share: method definitions in Ruby 2.1.0 will not be void anymore.
Pushes — Github post-commit notifs in your OS X Notification Center
We just released Pushes. I must admit that we haven’t tested on all environments, so any feedback and bug reports are welcome.
Template app for building a Rails 4 API
I put together a template Rails 4 app to help setup a tested, documented and versioned JSON API using Rails 4 and Rails-API. Check it out, it’s on github.
Display Instagram and Google+ profile pictures in your website and mobile app
This blog post describes how you can embed profile pictures of Instagram and Google+ users in your web or mobile apps. Profile pictures are automatically fetched from the remote social networks, manipulated and transformed in the cloud on-the-fly to match your graphic design and are delivered to your users optimized and cached through a CDN. Ruby on Rails sample code is included.
Top 10 Sites Built with Ruby on Rails
With a little help from Alexa (a web traffic reporting platform) we found out Top 10 Sites Built with Ruby on Rails.
Faster test suite boot times with Ruby on Rails
Learn how to reduce startup times for your Ruby on Rails test suite. We talk about dependencies, stubs and factories. [more inside]
rack-zippy - get Heroku+Rails serving your precompiled gzipped assets
If you use Heroku+Rails, there is a good chance your app’s js+css is not being served to your users as fast as it could be. By default the gzipped files are not sent to supported browsers. One way to change this is the new rack-zippy gem.
Announcing the Powerpack Library
I just launched the Powerpack library. Powerpack is a small Ruby library containing (at this point) a few extensions to some core Ruby classes. I guess that in a way one can say it’s something like Rails’s ActiveSupport, but with much smaller scope.
Everyday Rails Testing with RSpec updated for Rails 4.0
Hi, I’ve updated Everyday Rails Testing with RSpec for Rails 4.0, RSpec 2.14, Factory Girl 4.2, and Capybara 2.1. It’s 150-ish pages, DRM-free, and available in PDF, MOBI, and EPUB formats. [more inside]
Gotchas in the Ruby Sequel Gem
I haven’t really used Sequel much therefore I am definitely a newbie. However, after days and nights of frustration, endless debugging and some search-fu, I have finally arrived at the conclusion that Sequel is a capable library, as long as you are aware of the gotchas.
Class Table Inheritance (CTI) for Rails
For those who don’t like Single Table Inheritance (STI) in Rails, I just released dbview_cti. It provides Class Table Inheritance (CTI) based on database views. Check it out!
RubyIdenticon released
I just launched ruby_identicon gem. Inspired by Github’s new identicons, I found a ‘Go’ implementation and decided to create a Ruby version. It’s simple code and I’d welcome feedback and suggestions on any improvements.
Getting started with Lita
Lita is a chat bot for Ruby programmers. Learn how to get your own bot up and running quickly in Getting started with Lita.