[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

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

RichardOnRails

10/27/2008 4:07:00 PM

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

1 Answer

Brian Candler

10/28/2008 10:26:00 AM

0

You'd be more likely to get a useful answer from a Rails mailing list -
see http://www.rubyonrails.com...

This list is for Ruby (the programming language), not Rails (an
application/framework which happens to be written in Ruby)
--
Posted via http://www.ruby-....