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.
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…
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.
Lexeme, a simple lexical analyzer written in Ruby
Hi Lexeme users, [more inside]
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! [more inside]
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. [more inside]
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.
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! [more inside]
Introducing Lotus::View
The missing part of all the Ruby web frameworks is the distinction between views and templates. [more inside]
Simple recommendation system written in Ruby
Nothing fancy, just simple word/tag based recommendation algorithm written in Ruby.
Build a Ruby Gem Ebook Available on Thursday
I posted an update about the packages available for my Build a Ruby Gem eBook. The book will be available starting Thursday, March 27th at Midnight (EDT).
Fast Core Data Backed Table Views in RubyMotion with NSFetchedResultsController
It’s time to learn how to efficiently manage a Core Data backed UITableView by using NSFetchedResultsController. It’s much simpler than you would think, and once it’s done it’s extremely easy to maintain. Your table views will be faster, your memory usage will go down, it’s just a great time to be a table view! [more inside]
wroclove.rb 2014 recap
What are the hot topics in Ruby community? Read what was discussed at wroclove.rb 2014 conference