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

R

RichardOnRails

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top