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!

DRY up your Rails code using with_options

If you don’t know about Rails’ with_options method, chances are you’ve got some nasty duplication in your codebase.

Check out this 11-minute screencast for a walkthrough of this handy method and its implementation.

When it’s done, you’ll have learned about a useful method, and been exposed to some quality Ruby code and techniques by studying its implementation.

Comments

Computer says… no…..

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in