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.

Databases & Rails: Week 1

It’s the beginning of another course at the University of Texas, and i’m bringing the content direct to you. In this post of Databases & Rails: Week 1 Introduction you’ll learn how the web works, how data stores are used to power the web, then we’ll design a simple data store and see it implemented in PostgreSQL. Tell your friends, it’s gonna be fun.

JavaScript Views Can Be Logical

Yea, about JavaScipt, but yesterday DHH was tweeting again about pushing HTML back from AJAX responses since they do not like logicless templates. But they do not have to be. Here is an article called View Controller Patterns With Spine.JS & SpacePen that explores Apple design patterns for ViewController that play out nicely with Spine.JS and SpacePen. Perhaps these methods can be applied to other MV* JavaScript frameworks?

And how does this relate to Ruby? :)

Automatic and custom image rotation

This blog post describes how to easily rotate images in any angle and how to automatically rotate images left or right if the desired aspect ratio doesn’t match the original image. Image rotations can be mixed with any other Cloudinary’s image transformations. The results are cached and delivered through a fast CDN. Ruby on Rails sample code included.

Structure Ephemeral Data

Here’s an almost-1.0.0 release of Structure: a minimal Ruby data structure that transforms API responses, config data, and what not into beautiful POROs. The code weighs just over 200 sloc. Fresh and juicy.

You should checkout Virtus. It’s basically the attribute layer for DataMapper 2…

ITTIA DB JDBC Driver Brings Java to Embedded and Mobile Database Development

The new JDBC driver feature of ITTIA DB SQL provides significant value for Java developers targeting embedded platforms, and adds integrated SQL storage to Java applications. This allows developers to create many JDBC connections to safely access and modify the same database, either by direct connection to Java Virtual Machine process or remote access to an ITTIA DB Server.

RubyMass: Introspect the Ruby Heap by indexing, counting, locating references and releasing objects

RubyMass can help you tackle memory leaks as you can list (and count) which Ruby objects (Ruby mass :D) are in memory. Also, you can locate references to a certain object and remove them if wanted. Try out RubyMass and feel free to send in pull requests and/or suggestions. See more at the Github page of RubyMass.

Too much for the front page. So: Ruby memory management Memory management i…

A Library that allows calculation of probabilities and properties of binomial experiments

I recently needed to do a few calculations of properties of binomially distributed random variables for my statistics class. Naturally, I wrote the code in Ruby and found it pretty useful, so I refactored the relevant parts and released a gem: bernoulli. The library is quite stable and extremely simple. All available methods are documented and a few example usages are given on the homepage.

Loading older posts