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.

Praxis, a ruby framework that takes a different approach to creating APIs.

We’ve just unveiled the first release of Praxis, a ruby framework that takes a different approach to creating APIs. With Praxis you can have different sets of people design, review and implement your API, while resting assured that the resulting code is always consistent with your API specs. Building APIs with Praxis leads to better designs, faster developer times and result in precise documentation that is apt for both human (web browsable) and machine consumption (JSON definition files). [more inside]

Dockerfile.erb

A tiny Ruby script to generate a Dockerfile from a Dockerfile.erb template.

abc20180823 atlanta braves jerseys uggs outlet store pandora charms oakley sung…
http://www.longchamp-outlet.us.com http://www.uggbootssale.in.net http://www.ad…
http://www.true-religionoutletstore.us.com http://www.christianlouboutinshoessa…

worldlite v0.1 - public domain country data (all data incl. as good ol' ruby code) - no db, no deps

Hello, I’ve put together a new world data gem, that is, worldlite, that includes all the world countries as good ol’ ruby code - no database required, no dependency, and all code and data is public domain, that is, no copyright and no rights reserverd. Try it. Use require 'worldlite'; include WorldLite and >> WORLD.size # => 245 >> WORLD_UN.size # => 193 >> WORLD_G20.size # => 20 and so on. For countries try: >> AT.class.name # => WorldLite::Country >> AT.name # => Austria >> AT.alpha3 # => AUT Still early and rough but all the world’s countries and territories (246 total) included. Cheers.

Redirecting to Custom 404 and 500 Pages in Rails

Rails bundles default 404 (file not found), 422 (unprocessable entity), and 500 (internal server error) pages into every newly generated application. While they get the job done, these pages are pretty bland, so in this post I’ll show you how to update them to suit the logic and design requirements of your application.

Easier Rails Console Debugging with Awesome Print

I use the Rails console repeatedly throughout the day, but peering into object data can be a bit difficult due to poor formatting. Fortunately, a great gem called Awesome Print can bring an end to the formatting blues. In this blog post I introduce Awesome Print, and show you how to integrate it into your Rails console.

sportweb - Instant Open Sports Web Browser (Server) e.g. Use $ sportweb football.db

I’ve bundled up the sport.db.admin web app (- demo running on heroku -) into an easy-to-use command line tool, that is, sportweb for (local) use on your own machine. Let’s say you have an SQLite database - e.g. football.db - in your folder, than just type $ sportweb and that’s it - open your browser (e.g. use localhost:3000) and start browsing your local SQLite sports database. Cheers.

Loading older posts