Re: [Rails] Params being made nil inexplicably
On Thu, Sep 15, 2011 at 17:42, Jonathan S. <lists@ruby-forum.com> 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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home