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.

Writing Smart Migrations: References, Reversible, And Indexes

Building a new feature usually means having to restructure the architecture of your application. In other words: writing a lot of migrations to modify your schema. This blog post looks at how to use references, reversible, and indexes to write smart migrations, and make things easier for developing your application in the long run.

Creating generators and executables with Thor

Thor is an amazing library for creating generators and executables. It gives you methods for creating and copying files and directories, defining symbolic links, reading remote files, and more. And is the perfect companion for gems that need to generate a project structure, just like Rails. Check it out.

Level-up `rescue` with dynamic exception matchers

When you use a rescue clause in Ruby, you can specify what kinds of exceptions you want to rescue. But what if you want to rescue exceptions by severity? By message? By time of day? In this post we’ll discuss how you can create dynamic exception matchers that use your logic to decide if an exception gets rescued. http://blog.honeybadger.io/level-up-ruby-rescue-with-dynamic-exception-matchers/

Implementing TinyMCE in Ruby on Rails

TinyMCE is an excellent platform-independent web-based Javascript/HTML editor control, which is highly useful for those who want to allow their users to edit HTML documents online. It is mainly designed to integrate with Content management systems, including WordPress, Drupal etc easily. It is a rich text editor that outputs HTML, making it really easy to add rich content using rails application. Read more

Have you thought about adding code formatting and highlighting to the blog? I b…

rubyconf.json - A Free Ruby Conference Calendar Dataset - New event.db Format

Hello, I’ve updated the Ruby Conference Calendar machinery. What’s new? A free rubyconf.json dataset for easy (re)use now gets (auto-)generated including all Ruby Conferences listed on the /awesome-events page at Planet Ruby. The event.db gem that reads in the event page now supports a new format that includes the event link/url in plain text for easy printing. Finally, the (auto-) generated Ruby Conference Calendar page moved to the Planet Ruby site. Anything missing? Contributions welcome. Cheers.

Loading older posts