Saturday, April 26, 2008

Stage: Rails version

I initially had this idea for reducing the Ruby code in the views. That manifested itself as the Stage plugin. I was never really satisfied with the result, passing the form variable around was such a hack.

Thanks to the action_name instance variable, I've now cleaned it up and am much happier with the result.

Check out the RubyForge page for a quick how-to or the updated original post for more information.

0 comments: