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.

Version your Rails views (show.v1.json.jbuilder, show.v2.json.jbuilder, ..)

Easily version your Rails views with VersionCake (e.g. edit.v1.html.erb, edit.v2.html.erb, ..). If a view for the current version doesn’t exist, VersionCake automatically degrades to the previous view version. A specific render version can be passed via the request header or query param. Perfect for API/jbuilder views. Can also be applied to any other view type (html erb/haml, etc).

EAV behavior with ActiveRecord ORM and HydraAttribute

I’ve just released the hydra_attribute 0.4.0 gem that allows to create or remove attributes for the model in runtime or assign unique attribute list for each record. Also it is possible to use query methods for selecting or grouping records by that attributes. There are a lot of examples on the github wiki page including database structure that this gem creates.

A couple of months too late for me, but great work, schema looks really nice. W…
I’ll plan to add support of select values but a little bit later because curren…

Introducing Pogoapp

We’re building a new app hosting platform with Heroku REST API/buildpack/Procfile/S3 compatibility, running on dedicated servers. This blog post is as an introduction to what our architecture looks like and why. We’re looking for a handful of trial users to start kicking the tires and giving us feedback.

Game of Life Viewer

I just released a Game of Life Viewer (life_game_viewer on RubyGems) that you can use to view the behavior of your Game of Life implementations and experiment with different data sets. It comes with a sample implementation and data set that you can see by running the ‘life_view_sample’ executable installed with the gem. Github project page is at https://github.com/keithrbennett/life_game_viewer, blog article at http://www.bbs-software.com/blog/2012/09/05/conways-game-of-life-viewer/. The application must be run in JRuby, as it uses Java Swing for its GUI.

Visitor Tracking without User Signups in Rails

I recently needed to track user behavior to allow them to update resources but didn’t want them to have to create an account. To accomplish this I built a visitor class and used cancan to manage permissions. I’ve written a short writeup about Managing Resource Ownership Without Creating an Explicit User Account

RuPy 2012 - Call for Proposals!

RuPy is unique conference that compares different approaches, brings together communities from different programming languages: Ruby, Python and JavaScript. It is organized by a community of volunteers and non for profit. This fall, there will be two simultaneous editions of RuPy: one will take place in Brno (16-18 Nov 2012 Czech Republic) and the second one in Sao Jose dos Campos (7-9 Dec 2012 Brazil). If you haven’t applied yet, now it is the best moment to do it – there are still a few days to submit your proposal. It can be done in two ways - by using this form and by Github until 15th of September. RuPy is waiting for you!!!

Geofencing with Ruby and Mongo

I just wrote an article on implementing geofences with Mongo and Ruby. It’s in Ruby because that’s my language of choice but this design can be extended to any number of languages. The series is broken up into parts: Part 1, Part 2 and Part 3. Enjoy!

Loading older posts