• Capistrano-helpers

    Updated: 2012-05-31 15:15:14
    If you're using capistrano, you might find capistrano-helpers useful. See how we're using it here!

  • The nuts and bolts of our Ruby-based realtime charts solution

    Updated: 2012-05-31 14:40:56
    Scout's realtime charts were fun to implement and have been rock-solid so far. We were able to implement all of it in Ruby (outside the Javascript used to handle websockets in the browser) and didn’t need to deploy any infrastructure. Learn how we built realtime charts with (mostly) Ruby.

  • A Quick Tour of a Ruby on Rails Project

    Updated: 2012-05-31 04:22:39
    So you generated a new project, what now?  You have a whole mess of files, but where is everything?  The first time I generated a project, I was utterly confused.  I had come from PHP and a much simpler MVC framework on Perl, and this new Ruby on Rails thing seemed over-engineered.  Why would anyone need all these directories?  But it's a good thing, everything is very well organized.  There are a lot of directories, but don't let that scare you off.

  • Full-Text Search in Rails using elasticsearch

    Updated: 2012-05-30 21:11:29
    I just wrote a tutorial about how to implement full-text search using elasticsearch in Rails.

  • SQL Literals in Squeel (or, Overriding Backticks in Ruby)

    Updated: 2012-05-30 16:23:35
    I just posted details about how Squeel overrides the behavior of backticks in its DSL blocks, along with some of the criteria I used when determining whether or not backticks were a good candidate for the behavior. I hope they'll be useful as a starting point for thinking about overriding just about any default Ruby behavior in your code, especially backticks.

  • Placeholder images and Gravatar integration

    Updated: 2012-05-30 15:25:05
    RubyFlow The Ruby Community Blog Home Submit Sign Up Log In leaders Placeholder images and Gravatar integration Posted by Cloudinary on May 30, 2012 0 comments This blog post describes how to easily display placeholder images when accessing remote images that might not exist , such as Facebook Twitter profile picture . You can also automatically transform the placeholder images to any required size and format . In addition , this post explains how to use Cloudinary to easily embed Gravatar images while dynamically resizing them , applying face detection for better thumbnail generation and fast cached delivery through a CDN . Ruby on Rails sample code included . Comments Post a Comment Comment abilities for non registered users are currently deactivated , pending time to add a proper

  • Wettpool - Sports Betting Pool Ready for Euro 2012 (in Rails 3.2+)

    Updated: 2012-05-30 08:05:34
    In less than ten days the European Football Championship (aka Euro 2012) kicks off. For more fun I've created a free, open source sports betting pool in Ruby on Rails. Also works for the Champions League or other tournaments. More (Sources, Demo, etc.). Note: Some labes are still only in German.

  • Generating a New Rails Project

    Updated: 2012-05-30 04:06:25
    When you start a new Ruby project, what do you do?  Many of you probably just start up your text editor and start typing.  Maybe you use a tool like Bundler to give you a few files like Gemspec and README to start with, but there's still no real structure there.  Rails projects are not the same though, they really need quite a large directory structure to get started.  But it's just one command to generate a new project and get started!

  • Ruby CLI password manager reaches 1.0

    Updated: 2012-05-30 01:45:32
    PWS 1.0 has been released. It got new features on crypto level and tweaks in the command-line interface. I've also written a small blog post about my Ruby experiences I've had while implementing the gem.

  • Installing Ruby on Rails on OS X

    Updated: 2012-05-29 21:26:05
    "Hey!" you say, "Ruby and Ruby on Rails are already installed on OS X, Apple does it for you!  Why would anyone want to install it manually?"  That's a good question, maybe you don't.  Maybe you like using Ruby 1.8.7, which does work fine but is a bit out of date now.  And maybe you like using a Rails version far out of date.  But for the rest of us, we need the newest versions of Ruby and Ruby on Rails.  It's a shame that installing on OS X is not as easy as installing on Windows, but after this little process and a few extra pieces of software, you'll be up and running.

  • A Book About Socket Programming for Rubyists

    Updated: 2012-05-29 12:11:10
    RubyFlow The Ruby Community Blog Home Submit Sign Up Log In leaders A Book About Socket Programming for Rubyists Posted by jstorimer on May 29, 2012 0 comments Socket programming is at the heart of what we do everyday . Whether you're working on web apps , desktop apps , or anything in between you're going to be communicating with web servers , database servers , and probably a dozen other endpoints . But few of us are well versed with our infrastructure at this level . Hence I've been working on a book about the fundamentals of socket programming using Ruby called Working With TCP Sockets The book is still a work-in-progress and will be available for purchase at some point in the coming months . Visit the website if you want to see what's covered , and sign up to receive updates and an

  • Installing Ruby on Rails on Windows

    Updated: 2012-05-29 03:54:03
    If you just read that title and had a mini heart attack, I don't blame you.  I've installed Rails on Windows on several occasions and every single time I ran into problems.  Windows is just not a good environment for Rails development, or at least it wasn't until the EngineYard guys made the truly awesome Rails Installer program.  You'll be up and running in minutes.  Truly the easiest Rails install you can hope for.

  • Active Record `#{attribute}?` method

    Updated: 2012-05-28 21:29:19
    I've wrote a blog post about the `#{attribute}?` method on Active Record. <img src="http://feeds.feedburner.com/~ff/Rubyflow?i=cO41gvF3Syg:nvJvBKyaoOs:3H-1DwQop_U" border="0"

  • Annotate them all!

    Updated: 2012-05-28 11:41:11
    Annotator is gem to document your model attribute. You might heard of AnnotateModels, which gives you basic column description (title, type etc.) in your model file. With Annotator, in addition to such basic info, you can add comments to the columns.

  • Update your Ruby programming skills for free

    Updated: 2012-05-26 06:37:42
    Past participants of RubyLearning’s Core Ruby batches can join the new 33rd Core Ruby batch starting from 26th May 2012 for free and update their Ruby skills. If interested, please re-register on the new RubyLearning site and email me at satish [at] rubylearning.org with the email id with which you registered. Have fun with Ruby [...] (Powered by LaunchBit)

  • Setting up a Rails Development Environment

    Updated: 2012-05-25 03:58:07
    Before you get started in Rails development, you'll need a few things.  Get these things out of the way now and you'll be all set to develop virtually any Rails application.  A lot of these things are common sense.  You'll need a command line window and a text editor.  But in order to be comfortable, you'll need all these things to have a particular set of features.

  • JRuby Core Team Members Enebo and Nutter Moving to Red Hat

    Updated: 2012-05-22 16:52:56
    Breaking news! At JRubyConf 2012 (a 3 day JRuby-focused conference in Minneapolis) it has just been announced that JRuby core team members Thomas Enebo and Charles Nutter are moving from Engine Yard to open source giants Red Hat. The news was confirmed by Nutter in a tweet: Engine Yard shares their side of the story and says they'll continue to "work closely with Charles and Tom as well as Red Hat to continue development of JRuby and collaborate on JRuby features to support customers running on JRuby on Engine Yard Cloud." From the Red Hat perspective comes this post by JBoss director Mark Little. He notes: They'll [Enebo and Nutter] be working with various teams in JBoss and Red Hat, including the obvious candidates such as TorqueBox, Immutant and OpenJDK, but also helping us deliver on our polyglot visition. I can say that bringing them to Red Hat has been almost 2 years in the making, but it's time that has been well worth spent and I have great expectations for their future here. Mark Little JRuby has had an interesting history, starting out as purely as a Java port of MRI by Jan Arne Petersen. It has matured significantly over the years, especially after the current core team leaders took over the reins in 2004. JRuby's performance now trumps that of MRI 1.9 in many cases and JRuby is broadly considered as Ruby's second-most established Ruby implementation (although Rubinius is approaching quickly from the rear in this regard.) Red Hat has recently begun to make moves into the dynamic app hosting world with OpenShift, a Heroku-style auto-scaling 'Platform as a Service' (PaaS) for webapps. It includes Ruby support and along with the JRuby news shows a growing interest in the language at the popular open source company. The JRuby team also announced the release of JRuby 1.7 preview 1 this week.

  • What is Ruby on Rails?

    Updated: 2012-05-22 03:57:55
    Ruby on Rails.  It was a huge buzzword just a few years ago.  It's launched many careers and is the preferred web development environment for many web developers.  But what exactly is it?

  • Worked Example: Tabular Data

    Updated: 2012-05-10 01:06:04
    So much is made of the base data structures in Ruby.  It's either an Array or a Hash or it isn't anything.  But it's quite easy to make other related data structures out of these base data structures, such as a two dimensional array.  Making an array of arrays in Ruby is not hard at all.

Current Feed Items | Previous Months Items

Apr 2012 | Mar 2012 | Feb 2012 | Jan 2012 | Dec 2011