Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Standup 05/24/2007

Interesting Things

  • We’re looking for the best search plugins for Trac. Suggestions?
  • Rails: We often find ourselves adding and return in our Controllers to avoid the dreaded DoubleRenderError. It turns out that you can use unless performed? instead:
<code>
def double_rendering_action
  render :template => "wrangler/monkey" if wrangle_monkey?
  render :template => "wrangler/sleep" unless performed?
end
</code>

Comments
Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *