From: Christopher Dicely Date: 2008-03-08T12:42:37+09:00 Subject: Re: do-end-blocks On Fri, Mar 7, 2008 at 7:05 PM, Daniel Mendler wrote: > Hi! > > > > > > Which documentation? Your code seems to be Rails code, and its true > > that the very minimal introduction to Ruby in Appendix A of _Agile Web > > Development with Rails_ doesn't seem to cover this difference in the > > section on blocks. If you are trying to learn Ruby and Rails > > simultaneously, I would suggest you to refer to a good general Ruby > > book along with AWDR; AWDR introduces Rails quite well, but its > > coverage of Ruby is vestigial. _Programming Ruby_, _The Ruby Way_, > > _Ruby for Rails_, and _The Ruby Programming Language_ are all good > > choices, each with its own particular strengths and weaknesses. > > > > > Thank you for the clarification concering the block! But my problem with > ruby is that there seems to exist no free specification. I really don't > want to buy such a book (I don't use awdr either). Please correct me if > there exist free specs except the api docs. I only found a lot of > examples and tutorials but most of my questions are quite special and > not covered in the tuts. > The first edition of _Programming Ruby_ is available for free online at http://www.rubycentral.com/pickaxe/