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.
New Release of ITTIA DB SQL Offers More Choice to Embedded/Mobile Software Developers
ITTIA DB SQL version 5.4 provides features such as clustered indexes to reduce the file size for many common table definitions, scrollable SQL cursors for navigating forward and backward in a result set<\a>, a Python scripting API, Unicode SQL query strings, client/server feature enabling multiprocess and remote network access to database files, for any environment with or without operating system.
My ebook on learning how to test with RSpec is now available
A series of posts I did recently on Everyday Rails about how I learned to test Rails applications (using RSpec) gained a bit of traction, so I decided to make an extended ebook version. You can read about the details on Everyday Rails and then head over to the book’s page on Leanpub to pick up the advanced access version for $9 US. Thanks!
New RubyStack with RVM and DevKit support
BitNami RubyStack is a popular all-in-one package for everything that you need to get started with Ruby development in general and Rails in particular. It includes Apache, MySQL, SQLite, ImageMagick, Passenger, etc. Read more
Moped a new MongoDB ruby driver
I wrote an article about Moped a new MongoDB ruby driver.
Mixins: A refactoring anti-pattern.
I’ve often seen people say that mixins simplify their code. In my latest blog post, I demonstrate that while mixins may make things more DRY, they don’t make it more simple.
RConfig 0.4.3 Released
I just released RConfig 0.4.3! It’s the most stable version yet! Thanks to Valentin Andries and Leif Gensert for contributing bug fixes! For anyone who haven’t heard of it, check it out! It’s the best ruby app configuration library around, and it works with Rails and non-Rails applications.
Sidekiq 1.2.0 released
Sidekiq is a very fast, efficient background processor. It’s like resque except far more efficient, learn more here. One Sidekiq process can do the same amount of work as 25 Resque processes. In 1.2.0, we’ve added inline testing support and the ability to timeout misbehaving workers.
github_api for access to GitHub API v3
I’ve just released github_api gem for querying GitHub API. To get you quickly started read documentation. I hope you find it useful. You may consider using it to win github challange.
Nezumi, the mobile app for Heroku, now available for Android
Nezumi, which was previously only available for iOS, is now on Google Play.
Extending Rails asset pipeline with custom preprocessors
If you’re using Rails asset pipeline and you wish you didn’t have to add the .erb extension and <%= ... %> blocks to your asset files, check out this article: Extending asset pipeline with custom preprocessors.
Cat Factz, Rails Edition
Finally, the thought of running your own Cat Facts server no longer a dream. Meow.
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.
Precompile Assets Using a Git Hook
Learn how to precompile your Rails assets via a pre-commit git hook
goog - simple tool to search Google from the command line
I just launched , 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. Read more
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.