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.
Quick Tip: Firing Up Rubinius to Dig into Ruby Source
I just wrote up a quick tip on using pry and rubinius effectively for digging into ruby’s core a bit here.
jQuery plugin Role with haml support
I just released role-haml gem. It is Haml support for role jQuery plugin by @kossnocorp.
Five Common Rails Mistakes
I’ve worked with Rails for quite a while now and in that time I’ve seen a lot of Rails applications and both read and written a lot of bad Ruby code. Here’s five common mistakes that I see in almost every Rails codebase.
Rpub, a simple ePub generation library in Ruby
I wrote a Ruby gem to compile a set of markdown files into an .epub file, to scratch my own itch. It comes with default layout and styles, automatically detects images and fonts and can generate a preview document for you. It’s called Rpub and here’s my introductory blog post.
ParseModel: An Active Record pattern for your Parse models on RubyMotion.
I just wrote ParseModel. It’s a thin syntax layer for Parse.com’s iOS SDK. Usage:
class Post
include Parse::Model
fields :title, :body, :author
end
p = Post.new
p.title = "Why RubyMotion Is Better Than Objective-C"
p.saveEventually
Helpers and Wrappers for RubyMotion
I started a collection of helpers and wrappers for RubyMotion making some ObjC APIs a bit more familiar to Ruby developers. Here is the GitHub repo feel free to watch or/and fork and send pull requests. The goal being to provide a rich library of various helpers and wrappers for educational purpose and to simply RubyMotion developers life.
Some examples of how to refactor your rails models
I just blogged how to Enhance Rails Models.
goog - simple tool to search Google from the command line
I just launched https://github.com/danchoi/goog, a simple command line tool to return an arbitrary number of pages of Google search results in plain text from the command line with a touch of color.
You should invest in Code Reading skills
Code Reading skill is important for programmers/developers. I write a summary why it is important and what I usually do myself to improve code reading skills.
Maktoub updated: newsletter unsubscribe link and improved reliability
Maktoub 0.2.3 is now released. It includes a new controller action that allows for unsubscribing as well as improved reliability when sending newsletters to a large group. [more inside]
Releasing Sandglaz's Restful API based on Rails and Devise Oauth2 Providable
Announcing The Sandglaz API with Restful interface and uses Oauth2 for authorization using Devise Oauth2 Providable. Here is the API documentation.
MacRuby on iOS - RubyMotion review
I wrote a review of RubyMotion, a new toolchain for iOS based on MacRuby.
Simple Rails 3 Login Generator
I created simple-login that is a rails 3 generator. It creates user class with signup, login, logout and password reset features. It is very simple to use and it generates routes, controller, model and view files so you can further customize. Passwords are salted and protected already.
Pry 102: Advanced Features
Give this link a click if you are interested in learning more about the advanced features of the ruby REPL Pry. Pry 102
Pkgr : Easily build a debian package out of your Rails app
I just released Pkgr, a gem that helps packaging a Rails app into a debian package (tested on Debian Squeeze for now). It’s still early days, but I’m interested in feedback.
Kata 1.1 Released
Katas are well known in the ruby community as a great way to practice the language. The kata gem provides facilities to make the practice easier. Writing a kata is as easy as writing an rspec test while taking it is a step by step process with github integration baked in. With this release you don’t have to create a new repo but instead just add the project tree to an existing one. Check it out and have a look at the code katas project for some samples to test yourself against!
Deepworld, an EventMachine-driven minecraft-esque MMO, kickstartering & launching public beta
Deepworld is a cloud-based minecraft-esque MMO that’s been under development for seven months. We gave Node.js a shot at the beginning but quickly realized EventMachine offered a much easier learning curve, not to mention a more mature ecosystem. [more inside]
directory_template gem released
I released the directory_template gem, which allows you to generate directory structures from a template, optionally processing paths (variables in the path) and contents (e.g., render ERB templates). You can write and use your own processors too (for both, path and content manipulation). This is useful if you want to template e.g. Projects, or want to build something akin to rails’ generators. The project is - of course - found on github, and the documentation is available online.
TorqueBox 2.0.2 Out
It looks like the TorqueBox project released version 2.0.2 Check Out the announcement. It smooths out some bugs and adds support for JRuby 1.7.
RubyMotion brings serious Ruby development to the iOS world
You can now develop iOS applications in Ruby.
Firebase Ruby Gem Released
I just released firebase, a Ruby gem for updating your firebase apps in real time (video linked). If you love Firebase, you’ll love this gem.
SpreeConf Europe Aug 22-23 in Dublin, Ireland
The e-commerce team behind the popular Spree project is pleased to announce its first ever conference in Europe. SpreConf Europe will be held on Aug. 22-23 in Dublin, Ireland. Two full days of training and talks on Spree, Rails, Backbone and Coffeescript as well as a few non-technical talks from industry leaders.
Coding Adventures - A Ruby Newsletter
I recently decided to start a newsletter about Ruby. I’m new to working on my own real projects. It is up and running but missing one thing: you! If you would like to know what I do, subscribe here!