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.

Paste text from Vim when it's suspended (ctrl+z)

I’m using Ubuntu and terminal vim and I have this workflow that I would yank something in Vim, suspend it (ctrl+z) and then paste the yanked text on command line usually to do a search with ack. For some reason when I suspend Vim, X Window clipboard gets empty and it will paste nothing. Here is a small vim function that will fix that by using xsel.

How to decrease coupling in your controllers & views with decent_exposure for better maintainability

I wrote up a detailed post about the decent_exposure gem. It goes into how controllers and views have strong coupling due to the passing of instance variables. The rest of the post details how you can use decent_exposure to cleanup your controllers.

This is in my opinion the most important Ruby Gem of all time. It cleans up you…
I forgot I had actually written a post about decent_exposure myself. Read it he…
We took this a bit further - defined a simple ‘decorate’ method which a decorat…

Updating Rails

Hopefully all Rails developers are now aware they should immediately upgrade to Rails 3.2.11 because of a recently announced security vulnerability. If you’re reading RubyFlow, you likely know how to update Rails. However, for part-time and hobby developers, here’s an article Updating Rails that offers instructions and advice.

My spouse and i loved the purchase price, that its. 925 sterling silver and is …

Long Live Padrino (and Sinatra)

After the last release of Padrino several months ago, we have had a long hiatus of new releases. Well, in the spirit of the new year we have a renewed commitment to Padrino and a couple of announcements. First, we have a new core team member Darío Cravero. Second, we have a Padrino meetup in San Francisco on the 24th which we would love for anyone interested in the area to attend. Finally, we have a new release soon with a whole host of important changes and bug fixes. If you have any questions or feedback for us, please let us on on twitter @padrinorb.

Understanding New Relic Queuing

Most of us have all seen that dreaded seafoam green graph when using New Relic. You know the one - request queueing. Sending a cold shiver up your spine, it depicts a slow application struggling to serve your users and an increasing probability that those users will “bounce” away from your app and into the arms of another. [more inside]

Foreman as process manager, Pow as DNS server

In development Foreman manages output streams, responds to crashed processes, and handles user-initiated restarts and shutdowns. One downside to Foreman is typing http://localhost:3000, http://localhost:3100, etc. into the web browser, incrementing the port number for each app, forgetting which port is which app. Pow has a DNS server, capable of port proxying to Rack apps. So, we can use Foreman as process manager, Pow as DNS server.

SocialStream the social network framework has reached 1.0

Social stream Has reached the 1.0 milestone. Social Stream is a solid framework for building any type of contact and content-oriented social network. It is divided into components that provides developers with flexibility to use what they need. Built in functionality include basic functionalities of contacts, streams and walls, files, events and even XMPP based chat support.

Loading older posts