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.

Dynamic Rails Error Pages

Normally, 404 and 500 error pages are static HTML files that live in the public directory of a Rails application. These are boring, minimally-styled pages that don’t get the same treatment as the rest of the app. This tutorial shows you how to move error pages into your Rails app as dynamic views that benefit from application styles, layouts, and view helpers. Read the tutorial.

Or you can just use my Gem which does the same thing with just a Gemfile add. :…

Web Socket Hook: A bridge between web hooks and web sockets

Web Socket Hook is an open-source Sinatra-based service which bridges web hooks and web sockets. Now you can build apps that respond to web hooks even though your app may not be directly accessible from the internet. Using any standard web socket client you can connect to the WebSocketHook service, register a web hook, and receive messages via the web socket when the hook is called. Even in-browser JS or apps running behind a firewall can receive HTTP POSTs.

Ruby Gem of the Week - gli gem - git-like interfaces for awesome command-line tools

Hello, over at Planet Ruby the Gem of the Week Series continues with #7 - the gli gem - (yet another) command parser built ontop of OptionParser in an easy-to-(re)use package offering it’s very own mini-language (domain-specific language) to let you define your commands (or even commands of commands of commands) in plain old Ruby. Cheers. PS: Have your say! Guest posts more than welcome.

Sending and receiving emails in Rails apps

Every successful business application has to send transactional emails to customers. I’m writing a comprehensive guide for sending and receiving emails in Rails apps. You’ll be able to use it as a reference the next time you need to send emails with Postmark, SendGrid, Mailgun or Mandrill. Ooh, you want to use Customer.io or Intercom? I’ve got you covered. Request your copy.

Install Ruby on Rails in Windows —and Postgres, and Mongo, and Redis...

After spilling half a glass of water on my work Macbook Air, I set out to setup Rails on my PC once and for all. Having tried solutions like nitrous.io to varying levels of success, I decided that noting would cut it like the real deal. So I set out to install Rails and the full backend stack on Windows, here’s my story!

How to keep Rails questions from killing your productivity

While you write code, questions constantly pop into your head. Questions like: How do I call this method? What options does it take? When you don’t know the answer right away, you get yanked out of your flow, and it takes a half hour to get back to where you left off. So how do you find the answers you need without slowing down?

Money Makes the World Go Round: Using Money-Rails and BigDecimal

Dealing with money in a large Rails application can get quite complicated. But with the help of the money-rails library and Ruby’s BigDecimal object, your Rails app will become cleaner, more efficient, and easier to work with. Learn how to implement these tools in this blog post.

Loading older posts