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.

Building Sinatra with Lotus

The beauty of Lotus is the composition of its frameworks. Each of them is well designed to achieve one and only one goal. The main advantage of this architecture is that delevopers can easily use and reuse those frameworks in countless ways. Lotus::Router accepts anonymous functions as endpoints. This feature can be used to build Sinatra with it. [more inside]

Create a basic iPhone app in 15 minutes using Ruby - RubyMotion Screencast

Sometimes you need to build something really quick, just to get an idea across. RubyMotion is fantastic for building iOS and OS X apps quickly, but with the help of gems like ProMotion, you can work twice as fast! That’s why we’re going to take a look at ProMotion. This will be the first in a series of episodes about the gems you have at your disposal and how you can use them all together to write beautiful code, quicker than usual. [more inside]

Compress old rails migrations in an one command

If you like me work on a big & long-term rails project, you probably tired with an old migrations. Applying them takes a few minutes, sometimes you need to update them(changes in ActiveRecord). Manual removing them is hard & sometimes dangerous work, so checkout squasher gem which will do this job for you.

How is it better from taking contents of db/schema.rb and creating one migratio…

Minitest and VCR: Automatic cassette management

I like how VCR jives with Rspec for recording and replaying HTTP requests in your test suite. Specifically how you can pass a :vcr symbol to a describe or it block and it will handle the cassette naming and file structure automatically. However, in most cases I use Minitest. [more inside]

New in ITTIA DB SQL 6.0: Smart Data Discovery for Embedded Systems and Devices

ITTIA DB SQL version 6.0 brings increased efficiency, peer-to-peer replication to smart devices, simplifying interoperability on Internet of Things. As a result, embedded systems, appliances, and personal devices can relate information to each other through cloud-based services, over WiFi or other wireless technologies to distribute locally stored data, where wireless connection is detected.

From Lousy to Beautiful

Due to the inherent flexibility of Ruby, there are often several ways of doing the same thing. But how do you recognize the best way, the “beautiful” way to go about something? It can be tough to describe and there may indeed be several “best ways” to do something. The ease of expressing real life through Ruby can give us a false sense of security. James Schorr came to realize that terrible code can be written — even with such a beautiful language. Read the guest blog post “From Lousy to Beautiful”.

Loading older posts