On Thu, Sep 15, 2011 at 17:42, Jonathan S. <[email protected]> wrote:
> But the block is not being executed because the puts > statement is not evaluated: > > def calculate > > if params[:id] > puts "in if statement" Where are you looking for the output of the puts? On the web page? In the log? On the screen of the server? In too many faces? ;-) -Dave -- LOOKING FOR WORK, preferably Ruby on Rails, in NoVa/DC; see main web site. Main Web Site: davearonson.com Programming Blog: codosaur.us Excellence Blog: dare2xl.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

