Rails Bling
  • Posts
Introducing dry_views

Enhancer of Rails' content_for system. Allows defaults, and no_content_for overrides in partials. For Rails 3, 4. Why? Keep the views dry with content_for_with_default and friends! Complete flexibility in defining defaults and overrides. Remove most or all logic from views. Allow for no content to override a default. DryViews provides extensions to ActionView::Helpers::CaptureHelper, which is part of ActionPack:

August 15, 2012 Read
Navigation
  • About
  • Skills
  • Experience
  • Projects
Contact me:
  • Email: peter.boling cinnamon roll symbol gmail.com
  • Phone: +1-925-252-5351

Toha
  • © 2020. All Rights Reserved.
Powered by Hugo Logo