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.
How to tune a guitar with Ruby
Check out my blog post How to tune a guitar with Ruby. Read more
The Build a Ruby Gem Ebook is live!
The Build a Ruby Gem Ebook and Screencast packages are now for sale. Hope you enjoy!
Thread Safety with Ruby
Moore’s law is over. Modern computation is exploited by running processes on multiple cores. Read more
Running Thin in a Thread to serve static files (or how to seed carrierwave images)
Running Thin in a Thread to serve static files (or how to seed carrierwave images) - code snippits and words describing how to upload images using carrierwave from the commandline.
RubyConf India 2014 – The Goa Edition
The 5th edition of the conference was a roaring success. Read about it here.
Why is my CDN 'slow' for mobile clients?
Actually, it’s likely not any slower for mobile clients: don’t confuse relative performance with absolute (latency) savings. Confused? Read on…
Tech Book Face Off: Learn Ruby on Rails Vs. Crafting Rails 4 Applications
I’ve written a review of a couple great Rails books. Read more
Two Approaches to Creating Default Rails Active Record Model Attribute Values
In the runup to the publication of my new book, “Easy Active Record for Rails Developers”, I’m publishing a series of posts covering commonly confusing or little-used Active Record features. The latest discusses two approaches to creating default Active Record model attribute values.
How to read one non-blocking key press in Ruby
Want to know how to read a single character in a non-blocking, buffered, cross-platform way in Ruby? I just got you covered in my new blog post. Hope this will help many.
Skip ActiveRecord callbacks in tests
Check out my recent post about how to skip active record callbacks in tests.
Maths Practice
I just launched a revised beta version of Maths practice app for 6 to 10 year olds (May be even for adults !). Please check it out.
12 Small Web Frameworks for Ruby
I have been putting these posts together for all programming languages, at least those who’re supportive of web frameworks, first I’m on a mission to cover all of the minimal ones - then move on to bigger guns! Read more
Rails API discovery is hard
Many times, we feel we should use gems to solve our problems. I believe gems should be a last resort in many cases since Rails already have most of the API to solve the problems you need. Read more
3 Ways to Start Your Ambitious Rails Project
Last week, I talked about three conventions that can help you beat procrastination and get your new Rails project started. But you still have a tough choice to make. Which code do you write first? Authentication? The part that talks to Twilio? And how would you even begin to work on the forum post recommender engine? Yep, at some point you actually have to write the code, and to do that, you need a place to start.
12 Vim Tips
Compilation of 12 Vim Tips I’ve found interesting.
Refactoring a 47-line Ruby script back to 1 using command line options
Here’s a story about using some of Ruby’s powerful command line options to refactor a large-ish script to (essentially) a one-liner. Read Using Ruby command line options.
Form object validations in Rails 4
We have written a blog post about how to write, and validate form objects here. Examples in the blog don’t use any gems, and just use services provided by ActiveModel::Model to implement form objects.
How to Build a Rails Engine
Curious How to Build a Rails Engine?. This post will walk you through the process of creating a Rails Engine for a client-side timestamp gem. Enjoy!
How to create todo list app in rails
I wrote first part of series of posts about how to create todo rails app
BigBroda - ActiveRecord adapter for Google BigQuery
BigBroda is an ActiveRecord adapter for Google Bigquery. It supports many of the AR awesomeness: querying, associations, migrations and yadayada
OrderTrk - New site for organizing online orders
OrderTrk.com is a site which organize your orders across the net. Inside you’ll find a wall with your orders and a convenient interface to view the order details on desktop, tablet & mobile (Foundation). You can send your PayPal receipts by mail and the orders in it will be automatically inserted to your account (for more details see the News section). Nice & Easy. Support for more sites is planned (e.g. Amazon) and further options that will make your life easier! The site is built with Ruby on Rails and i would like to hear feedback from you and suggestions for improvements. HOPE YOU’LL ENJOY IT!
Manage Your Child Labor with Ruby!
Want to write a server with multiple concurrent child processes in Ruby, for maximum safety in failure? Here’s how to do it in Ruby, how to handle restarting workers and shutting down the process, limiting resources and even when to hand off to an external process manager.
A Faux-O Deck of Cards - Mixing Functional and OO styles FTW
A new article is up @ rubylove.io! Read more
Introducing Lotus::View
The missing part of all the Ruby web frameworks is the distinction between views and templates. Read more