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.

ActionWidgets: Rails helpers on steroids

Writing clean view code in Ruby on Rails is hard. More often than not, the separation between style and structure doesn’t work out as intended. Some user interface widgets are just not easily expressed with a few HTML tags. I just published a blog post describing how you can build powerful helpers that will clean up your view code a lot.

Add macros in your Cucumber scenarios

The gem macros4cuke allows you to define macro-steps directly in your Cucumber scenarios without fiddling step definitions. Data arguments can be passed from the macro-steps to their sub-steps. Macro-steps can invoke other macro-steps, sub-steps can be made conditional… More details and examples can be found here.

Loading older posts