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.

Ruby Refinements

The Ruby language provides many powerful tools for software engineers to utilize. For instance, classes that have been previously defined and evaluated can be reopened and changed. This is commonly referred to as “monkey patching”, a term which elicits almost universal disdain among Ruby developers. Luckily, monkey patching is not the only option for making these types of changes.

You’ve Got a Friend in Friendly_Id

There’s always more than one way to solve a problem. One common solution to ugly urls in Rails applications is slug generation; but there are so many different tools out there — how do you know which one to choose? The friendly_id gem is a super powerful solution to this problem, and provides a wide range of functionality. This blog post explores why you’ve got a new friend in this gem.

Wye Tech News #2

Here is the second issue of our weekly compilation of interesting news and articles about Ruby, Rails, JavaScript and web development related stuff that we found during the week.

Gem 'ryakuzu' - interface for schema.rb

Ryakuzu may be useful, when you need to quickly change the name/type of columns, and tables, or remove/rename it. Ryakuzu provides simple CRUD operations on your schema.rb and starts the migration for you. All temporary migration files are automatically deleted after migration.

Tocer 1.0.0

Tocer (a.k.a. Table of Contenter) is command line interface for generating table of contents for Markdown files. This is a great tool for adding to your build process to ensure documentation is never out-of-date. If you happen to be using Gemsmith for new gem creation, it has built-in support for Tocer. Enjoy!

Create Visual Magic with Bootstrap Gem

Bootstrap is a framework that makes it easy for a developer to create a nice design for an application or a website. The framework also comes with JavaScript, making it easier to create scroll spies, accordions, modals and popovers. The bootstrap gem also has a solid, thorough and easy to understand documentation providing example codes for most, if not all of the components that Bootstrap provides. Read more at RailsCarma Blog

Vanilla UJS

Basically it’s just about “to get the UJS features without jQuery”. These days we don’t really need jQuery in every webapp. Firstly, browsers becomes much more friendly about API (we have native querySelector and XHR2 now) and CSS (cool animation without any JS). Secondly, we don’t really want old-style apps, cause we have sockets (push notifications) and angular-like systems and other stuff. Read more

Loading older posts