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.

Dead_simple_authorization - A very simple authorization gem

Dead_simple_authorization is a simple gem for authorization. The main concepts around dead_simple_authorization are: users, resources and permissions. Using a couple of simple naming conventions, it organizes the way in which access to a resource (an activerecord model for example) by a user (e.g. a web application’s user) is checked.

Conditionals: Style and Design -- Design is Refactoring

Last week’s post on Refactoring Away Conditionals got a lot of feedback, both positive and negative. This is fantastic! This week I want to continue the conversation by discussing the criticisms and alternatives that people provided. Along the way, maybe I’ll say something interesting about the difference between Design and Style.

Generating Complex PDF Documents in Rails

I spent several months working on generating very large PDF documents using Prawn, and I learned a lot about keeping PDF code organized and maintainable. Learn about the recipe approach for structuring Prawn DSL using classes and modules.

So much to write on Prawn, but this post is about structure. Curious what other…
Loading older posts