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.

Remotely: API Backed Models.

Remotely lets you create models backed by an API. That way you’re working with real objects that represent the data you receive from an outside source. They can have associations, attributes and behaviors like any other object. It beats passing around hashes everywhere.

Solution to Ruby 1.9.3 segfaulting when using TextMate Ruby Bundle

After upgrading to Ruby 1.9.3-p0 I found that any exception in Ruby resulted in Ruby segfaulting on the TextMate Ruby bundle output screen. I found this gist where people were discussing the error and have some tips inside this RubyFlow post for you to fix the error yourself. [more inside]

Here is just link for gist with error triggered by TextMate… …
This is main thing where are the options provided to know about remember passwo…
Ruby errors are the problems which are hard to find and are even harder to find…
google

Clean your controller and model with gon+rabl

Introducing gon gem. From the beginning it was just a funny gem which allowed to throw controller variables to js global namespace without data attributes in view. Now integrated with rabl it’s really useful tool making getting JS start data for your application easy.

rolify 2.0 - Role management library with resource scoping

If you are developing a Rails 3.1 project and look for a Role management library that you could plug with Devise and CanCan, then you should consider rolify. Version 2.0 includes performance improvement, initializer code cleaned up, spec coverage enhancement, opinionated defaults and support for many different rubies (1.8/1.9, REE, Rubinius and JRuby). Currently it works only with for ActiveRecord but there are plans to support Mongoid in a not too near future. [more inside]

What’s the point? CanCan can do the same with simple changes. PS your captch…

Making a Text Adventure Game in Ruby - A 7 Part Series

You’re standing in a green meadow. You’re holding a bonesaw, a vacuum cleaner and a very angry cat. Across the meadow you see a small white house. What do you want to do? Everyone likes text adventure games, why not write them in Ruby?

Typical about.com blog post. All ads and teaser with zero content.
Typical about.com blog post. All ads and teaser with zero content. Did you e…
I found the content rather interesting. ^_^
Loading older posts