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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
RichardOnRails (Guest)
on 2008-10-27 18:10
(Received via mailing list)

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?

Brian C. (Guest)
on 2008-10-28 12:26
You'd be more likely to get a useful answer from a Rails mailing list -

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.