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.

The Pretentious Gem

Do you have a pretentious boss or development lead that pushes you to embrace BDD/TDD but for reasons hate it or them? here is a gem to deal with that. Now you CAN write your code first and then GENERATE tests later!! Yes you heard that right! To repeat, this gem allows you to write your code first and then automatically generate tests using the code you’ve written in a straightfoward manner! Read more

Policy Object Adventures

Policy objects are pretty much just like service objects. In fact, from what I understand, policy object is actually a service object. The only difference is that policy objects encapsulate operations that exclusively return boolean values. This is how I first structured policy objects in a Rails app.

factbook.sql World Factbook Country Profiles in SQL (Incl. factbook.db Download)

Hello, I’ve updated the factbook gem, that is, v1.1. What’s news? The script now lets you build an SQL database from the official web pages (country profiles) published by the CIA. To make it easy to get started I’ve added (yet another) new project, that is, /factbook.sql that offers an SQL schema for the World Factbook and includes a pre-built single-file SQLite database, that is, factbook.db for download. Note, using the factbook scripts you can build yourself an up-to-date copy. All code and data public domain. Cheers.

Mac as IDE

Are you using this editor and that version control app? Think bigger. Instead of jumping between apps or forcing yourself to an IDE use your Mac as a system where apps work together for the greater good.

deppbot - Automated Dependency Updates

deppbot ensures that your Ruby apps are always up-to-date and saves you time by doing so. Based on your configured schedule, deppbot will run bundle update on your Ruby apps and send the update as a Pull Request to GitHub. You just have to review and merge the informative Pull Request if all’s good and wait for the next one from deppbot. Check out the service or read the blog post to find out more.

Loading older posts