RubyFlow The Ruby and Rails community linklog

×

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

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Padrino Ruby Web Framework 0.9.21: Nested Forms and much more

Padrino 0.9.21 was just released today. Padrino is an open-source ruby web framework that builds on Sinatra providing a variety of well-integrated components from an admin backend and form helpers to I18n support and generators. The biggest new feature is the oft-requested nested form object support which allows forms to build multiple related objects at once. In addition translation support for Traditional and Simple Chinese are now available. There has also been a great number of bug fixes in routing and component compatibility as well. The code and sample projects can be seen on Github.

For those that haven’t seen them yet, also performance benchmarks (to be taken …
padrino can run with async_sinatra? what performance with async with thin or ra…

Ruby WinRM v1.0rc1

Just pushed out version 1.0rc1 of the Ruby WinRM gem. With it you can run a Windows cmd shell or powershell scripts from Linux or MacOS. This version brings a lot of new features including Krb5 authentication and message encryption for Active Directory connected hosts. Instead of the WinRM service configuration that was once needed with the prior gem you can now simply do a ‘winrm quickconfig’ on the Windows node and you’re off. gem install winrm –version=1.0.0rc1 or check it out on github:

Developing Rubyist: Reverse and Map Functions

New Developing Rubyist Blog: Fun with Arrays and Hashes. Details on two simple but overlooked functions: Reverse and Map.

These functions are hardly “overlooked”. They are an important part of any ser…
n00bs blogging about n00b stuff…

Algorithms, A Dropbox Challenge And Dynamic Programming

There aren’t enough implementations of interesting algorithms in ruby. The subset sum problem has a couple of interesting algorithmic solutions, it also happens to be the object of a programming challenge I came across recently. So, here are two solution to this problem that I came up with (a naive exponential time one as well as a better dynamic programming one) both implemented in ruby.

Using Haml with Rails 3 (6 Minutes)

We’ve just released Using Haml with Rails 3 screencast. We show you how to integrate Haml in to new and existing Rails 3 projects. We also show you how to write a rake task to recursively change all ERB files to Haml too. Check it out.

Seems everyone is moving from HAML to Slim these days…
These say <a href-“http://rubygems.org/gems/haml/stats”>otherwise</a&g…
Otherwise link didn’t work: Compare Haml - Slim. …
I like haml and use it. I think it has best way to assemble “html, ruby, css an…

Ruby Questions released

I just launched RubyQuestions and open sourced the code for it. Anyone have any questions? :) Read more

Cool! And love the fact that you released the code.
I’m trying to help new as well as experienced ruby programmers as much as I can…
Though you might want to close your eyes when learning from the tests.. Sorry! …
I used omni-auth previously for the auth, I need to fix the tests. I’ll have 10…

Why Use Rubinius?

Brian Ford of the Rubinius project explains why you should be using Rubinius, whether you’re a hobbyist, pro developer, language enthusiast, manager, or even philosophy student. An interesting yet light-hearted look at the benefits of a rapidly maturing Ruby implementation.

Easy Rails Asset Handling with HTML5 & S3

Harvest started working a Rails 3 project with a blank slate, and just couldn’t bring ourselves to use paperclip or any of the other heavy alternatives. We came up with something pretty nice that uses HTML5 (drag and drop!) for asynchronous uploads, Plupload for multiple files and queuing, S3 for storage, and works great for simple CMS flows. Easy Rails Asset Handling with HTML5 & S3

Loading older posts