• Advanced Hash Usage

    Updated: 2012-07-31 04:13:37
    There's more than one thing you can do with hashes.  Sure, you can store and retrieve key/value pairs, but you can also do things like emulate keyword parameters

  • Synack: Mountain Lion Notifications via Ruby

    Updated: 2012-07-30 17:36:59
    Synack is a client/server wrapper for Terminal Notifier that allows messages to be sent from Ruby programs to Mac OS X Mountain Lion's Notification Center. Check the README at https://github.com/Bantik/synack for prerequisites, then install using gem install synack. Great for piping Rspec results to OS X, and it even works across the network. Enjoy!

  • Master Time and Space for JavaScript

    Updated: 2012-07-30 16:16:57
    A new ebook on JavaScript that might be of interest to Rails programmers, details at http://www.noelrappin.com/mstjs-faq/

  • Hashes

    Updated: 2012-07-30 16:13:29
    Hashes.  Associative arrays.  Key/value stores.  You cannot avoid them.  They're just everywhere in Ruby.  But many Ruby programmers learn about them by example, copying what they see in other Ruby programs.  What are hashes exactly?  Why do you use Symbols to index them?  How do you use them?

  • Ruby with MongoDB for Web Development

    Updated: 2012-07-30 07:09:50
    The article "Ruby with MongoDB for Web Development" by Gautam Rege will walk you through modeling a Ruby application, learning various constructs of MongoDB, and then integrating it into Rails and Sinatra.

  • The differences between dup and clone in Ruby

    Updated: 2012-07-30 00:53:40
    I just wrote a quick explanation with examples of the differences between copying and cloning a Ruby object. I've also added a quick explanation of shallow object copying.

  • auto_html 1.6.0 released

    Updated: 2012-07-29 02:17:59
    auto_html 1.6.0 is out with fixes and few new filters. Check them out on a new demo page.

  • Active Record Deep Dive

    Updated: 2012-07-27 16:47:15
    If you’re new to Rails and Active Record, or you’ve been using them for some time, there are likely methods you’ve been overlooking. Join me this week for a deep dive into Active Record as we cover the query interface, how method chaining works, and how to avoid SQL injection.

  • merge, except and only - lets arel first episode

    Updated: 2012-07-27 16:30:50
    In this screencast merge, except, joins_values and only are discussed. Future episodes will discuss more Arel goodies.

  • Uploading, converting and generating thumbnails for PDF documents

    Updated: 2012-07-27 11:21:36
    This blog post explains how to easily upload PDF documents to the cloud, automatically convert them to images and back to PDFs, generate thumbnails dynamically, extract certain pages from multi-page documents and deliver through a fast CDN. All that done in the cloud without any software installation. Ruby on Rails sample code included.

  • The story how I used gon with rabl on groupon.ru

    Updated: 2012-07-27 08:04:21
    I’ve released a new version of my gem Gon (currently 4.0.0) recently, so I’ve decided to make some examples of it’s features in use. Here is my blog post.

  • Backburner: Reliable beanstalkd job queue

    Updated: 2012-07-26 12:10:43
    : RubyFlow The Ruby Community Blog Home Submit Sign Up Log In leaders Backburner : Reliable beanstalkd job queue Posted by nesquena on July 26, 2012 0 comments Backburner is a recently open-source battle-tested gem for handling jobs using beanstalkd probably the best job queue available . Everyone is already familiar with Resque and DelayedJob but why force job queues into Redis or ActiveRecord when beanstalkd is fast , reliable , resilient , persistent and easy to setup . Designed to maintain a consistent and familiar syntax similar to Resque or DelayedJob . If you have used stalker you will want to check out Backburner as a fully-featured replacement . Comments Post a Comment Comment abilities for non registered users are currently deactivated , pending time to add a proper CAPTCHA to

  • Why Does 'map' Return an Array?

    Updated: 2012-07-24 22:23:56
    Why does the 'map' method always return an Array?  It doesn't matter what you call it on, even for Hashes and subclasses of Array, the 'map' method always returns a plain Array?  Why?</p...Read Full Post

  • Minimal I18n with Rails 3.2

    Updated: 2012-07-24 06:40:09
    Minimal I18n with Rails 3.2 This guest post is by Fabio Akita, also known as akitaonrails. He is a known Brazilian Ruby Activist and has been the program chairman for Rubyconf Brazil 2012 for the last 5 years. He also co-founded Codeminer 42, a software boutique specialized in taking care of outsourced work from fledgling [...] (Powered by LaunchBit)

  • The Ruby on Rails Router

    Updated: 2012-07-17 21:36:40
    The router is a very important part of any Rails application.  It's what stands between HTTP URLs and controllers with actions.  It's one last piece of abstraction that takes your Rails application out of the the realm of HTTP, and into purely a "web application" with no real knowledge of what's going on with the HTTP requests (unless it needs that knowledge, it's an abstraction not an isolation layer).  And though you'll probably not be spending much time with the Ruby on Rails router, it is essential to know the basics just to get your application up and running.

  • Ruby Programming 35th Batch: Registrations now open

    Updated: 2012-07-16 02:09:10
    Registrations are now open for RubyLearning’s popular Ruby programming course. This is an intensive, online course for beginners that helps you get started with Ruby programming. Here is what Demetris Demetriou, a participant who just graduated, has to say – “When I joined this course I was sceptical about how useful this course would be [...] (Powered by LaunchBit)

  • Load Vs. Require

    Updated: 2012-07-13 06:40:34
    How many times have you used the 'require' method?  (And yes, it really is a method, not a keyword.)  Probably too many times to count.  Any non-trivial Ruby program is going to have at least one, if not several, require calls at the top.  But what about 'load'?  How many times have you used that one?  Probably not very many, but there are a few situations where you'd might want to use load over require.

  • Book Review: Exploring Everyday Things with R and Ruby

    Updated: 2012-07-09 04:15:00
    A book review of Exploring Everyday Things with R and Ruby.Review by: RubyLearning’s mentor Victor Goff.Book author: Sau Sheong Chang. Publisher: O’Reilly Media. I got the opportunity to review Exploring Everyday Things with R and Ruby by Sau Sheong Chang and published by O’Reilly Media1 This book, as expected, talks about R and Ruby. The [...] (Powered by LaunchBit)

Current Feed Items | Previous Months Items

Jun 2012 | May 2012 | Apr 2012 | Mar 2012 | Feb 2012 | Jan 2012