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


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?


You’d be more likely to get a useful answer from a Rails mailing list -
see Ruby on Rails — Community

This list is for Ruby (the programming language), not Rails (an
application/framework which happens to be written in Ruby)