Forum: Ruby "yield" in a virgin CRUD produces no logged info - why?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
31fdda5f38fc6df4e193cfb7445ddc5a?d=identicon&s=25 RichardOnRails (Guest)
on 2008-10-27 17:10
(Received via mailing list)
Hi,

I'm running Rails 2.0.2 over Ruby 1.8.6 on WinXP-Pro/SP3.

I created a CRUD Rails app using scaffolding.  The app runs fine.  In
order to understand the flow of control in the app,  I inserted about
a half-dozen "logger" statements.

In particular, I surrounded the "yield" statement in payrolls.html.erb
with loggers and found that nothing wrote to log between them.  What
block is "yield" supposed to invoke in a virgin CRUD application?

TIA,
Richard
753dcb78b3a3651127665da4bed3c782?d=identicon&s=25 Brian Candler (candlerb)
on 2008-10-28 11:26
You'd be more likely to get a useful answer from a Rails mailing list -
see http://www.rubyonrails.com/community

This list is for Ruby (the programming language), not Rails (an
application/framework which happens to be written in Ruby)
This topic is locked and can not be replied to.