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.

redis-dump 0.1.2 (ALPHA) released

I just released a small cli tool and library to backup and restore Redis data to and from JSON. It’s alpha quality so don’t trust it, but give it a try if you’re interested in backing up your data to a known format (note: this is an unofficial Redis tool).

holy cow! your redis-load screwed all my data
Thanks for the bug report. Although I’ll need more information to follow up! …

jQuery Mobile Layout

I just created a mobile version of my site IntimateCooking using jQuery Mobile. The site is built with Ruby on Rails and shows how to use a different layout for mobile devices as opposed to just a different stylesheet. This post shows what the steps I took.

Introducing ripl, an irb alternative

ripl is an irb alternative that is tested, documented and fully extendable with plugins. ripl already has plugins: some old ideas and some new. ripl also exists as a web shell using websockets.

This is a good tool. Will give it a try soon.
Now also with output colorization: https://github.com/janlelis/ripl-color_resul…

Rails Misapprehensions: What the fsck is MVP?

There’s a lot of confusion about MVC and MVP, especially in Rails people try to break out from the monolithic MVC approach by using Presenters and Cells. Help me to clarify this pattern, read, comment, discuss and please insult me, again!

There are kids who read this.
Want me to rename my blog post, too?
Kids have parents to watch over what they read. Stop censoring.
It’s not about fsck, it’s about your code, retard.

awesome_print 0.3.0 released, adds support for object.methods

The latest version of awesome_print gem adds human readable formatting of object.methods that includes method arguments and owner class. It also features better compatibility with Ruby 1.9.2 and Rails 3. Check it out at https://github.com/michaeldv/awesome_print.

Can’t make it work with Rails 2.3.8 console, got “SystemStackError: stack level…
Care to provide some details about your environment? $ ./script/console Loadin…
I am still struggling to learn this stuff, its really giving me a hard time, I …

FancyIrb output

With the fancy_irb gem, you can set colors for the prompts, irb errors, stderr and stdout. Furthermore, you can output results as Ruby comment and modify the output value using procs.

switch_user 0.4.0 released

Inspired from hobo, switch_user provides a convenient way to switch current user that speeds up your development, so that you don’t waste your time to logout, login and input email (login) or password any more. It can help you reproduce the user specified error in production as well.

Great gem :)
I just upgrade it to 0.5.0 to support both rails2 and rails3 projects.
Inspired by MafiaWars players, my method is by using Chrome & Firefox &…
Just tested your Gem. Just awesome :) Thanks
Loading older posts