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.
Code Worrier: A new blog about ruby, rails, and learning to code.
I’ve been coding for about a year now. I’ve always been hesitant to start a blog because, well, I’m a noob, and everyone already knows what I have to offer them. Read more
Vim for Rubyists
And how about Vim? Do we have healthy community of Rubyists in the Vim world? Is it worth giving it a try? Is it better than TextMate? Check out Vim for Rubyists to find out more.
How to quickly build a stock photo site using Cloudinary
This blog post describes how to utilize the private images and strict transformations features that are now available through Cloudinary, for easily building a stock photo site. Read more
ITTIA DB SQL Delivers Secure Data Distribution for Android
With Android’s worldwide smart device market dominance, and thanks to inexpensive high-capacity SD Cards and comprehensive software development kit, it is easier than ever for software developers to build a distributed network of data-driven applications. While Android includes SQLite, a built-in database, applications handling mission critical data require capabilities not available in SQLite.
Running Resque with Capistrano, Bundler and God
A more reliable guide for running Resque with Capistrano, Bundler and God.
Veewee templates updater - 1.1.0 released
I just released Veewee templates updater version 1.1.0, it comes with important update, now it is possible to specify source repository owner to use for updating templates:
gem install veewee-templates-updater
veewee-templates-update stengah33
Will use https://github.com/stengah33/veewee/ instead of https://github.com/jedi4ever/veewee/, the owner is optional so the jedi4ever is default. Read more
Web Performance Power Tool: HTTP Archive (HAR)
Hand’s on look at the HTTP Archive data format, which allows us to export, analyze, and visualize network performance data from the network timeline… Learn how to build a performance dashboard in three easy steps, with free and open-source tools!
Array#sample - the simplest way to get a random element(s) from array
Here’s a quick tip on how to get a random element from array using Array#sample - http://blog.ugisozols.com/2012/08/28/array-sample.
Direct image uploads from the browser to the cloud with jQuery
This blog post describes how to easily upload images to the cloud directly from your users’ browsers, without going through your own servers in the process. The post includes a general explanation of Cloudinary’s direct uploading solution, detailed integration examples and advanced tips. Sample code for Ruby on Rails is included.
how to write a jruby gem
Here are my serial posts to introduce how to write a jruby gem. Read more
3 Things You Could Know If You Read “Eloquent Ruby” by Russ Olsen
Ever wondered if you might miss something in Ruby? Ever had that feeling that Ruby could do something, but you don’t know how? Then I have three quick tips for you, taken straight from “Eloquent Ruby” by Russ Olsen. Read on to see what you could know if you read “Eloquent Ruby”.
What’s New in Rails Apps Composer
What’s New in Rails Apps Composer: Rapid progress beyond version 2.0. It’s the gem that gives you a tool to assemble a Rails starter application from a collection of recipes.
Building WebApps with ActiveAdmin
I just blogged about how we build web apps with ActiveAdmin using ActiveAdmin Factories, Arbre Components and by adding Services, Presenters, Decorators and Tasks to the rails stack.
d'Anthès: PrivatePub on steroids
I just launched d’Anthès - PrivatePub on steroids. Main steroids: 1) CoffeeScript version of Faye wrapper. 2) Redis support. 3) Unsubscribing from the channels. 4) Async faye client.js loading for all major browsers. 5) Supporting for separate domain for Faye server without subpath.
LazyHighCharts 1.2.0 release
Last night @xiaods bumped a new version of lazy_high_charts gem. You know … for make HighChart graphs on Rails. This new release has some niceties like support for AJAX requests and ability to supply an array of axes or other objects and still use .js_code within the array of hashes. Big thanks to Troy Anderson, David Biehl for this features.
Rails - Rspec - Testing Your Modules
A little bit about how to test modules using rspec - Rails - Rspec - Testing Your Modules.
API Matchers
I just launched the API Matchers, is a collection of RSpec Matchers to use when you’re building APIs.
Modular front-end code in Rails
I wrote a little about how I have experienced Rails both helps and gets in the way when writing modular front-end code in Rails application: record tag helpers, partials, style inheritence, the asset pipeline and file organisation.
A Monitoring client for Delayed Job
DJ Mon is a Rails engine for monitoring Delayed Jobs. It exposes job information as a JSON API. The web client (mustache based) is in the engine itself. The iPhone app (RubyMotion based) is the other consumer of the API. It supports ActiveRecord and Mongoid. Read more
SEO-friendly single-page apps
I just launched Jader - A Jade template engine for Rails that lets you share views between server and client (via JST). Perfect for SEO-friendly single-page apps.
Revolver - Like a fixed-size array with gimmicks
A Revolver is a fixed-sized LIFO data structure. I use this e.g. for keeping a list of the recent X actions in a web app.
Writing 'real' excel files with ruby and ruby on rails
axlsx has been out for a few months now. It has risen to the top of the crop of reporting tools on the rubytoolbox, nabbed a mentioned in ruby5, commented on in railscasts, twitted by a few of the core Japanese ruby and rails activists, and will be the subject of a LT at RubyKaigi in Sapporo this year - and it just now hit me…. rubyflow was left in the dark. Write real Office Open XML documents (xlsx) with charts, comments, styles and more - and validate it before you send it off to your clients. ::Real OOXML for real ruby devs::
Canard is now ORM agnostic.
David Butler has just added Mongoid support to Canard. Canard is yet another authorization rubygem. What sets Canard apart from the crowd is it builds on Ryan Bates’ battle tested CanCan, wraps it up with Martin Rehfeld’s RoleModel and makes authorization a first class citizen in your Rails app. Canard is now ORM agnostic and will work just as well in your non Rails apps.
Fear Of The Class: Fat Model Kills Your Software Design.
The first post quickly analyzes the problem of growing “model” classes in Rails project. As we tend to mix persistance and domain the post wants to encourage you to introduce new classes when your models get bloated.
Latinum is a framework for resource and currency calculations
I just found an interesting alternative to the money gem – latinum. It’s a framework for resource and currency calculations.