# Agile book deltas

**URL:** <https://www.ruby-forum.com/t/agile-book-deltas/51488>\
**Category:** Rails\
**Created:** [January 1, 2006, 1:04pm UTC](https://www.ruby-forum.com/t/agile-book-deltas/51488 "2006-01-01T13:04:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [January 1, 2006, 1:04pm UTC](https://www.ruby-forum.com/t/agile-book-deltas/51488/1 "2006-01-01T13:04:23Z")

</div>

Are there deltas for the revisions of the PDF version of the Agile book?

– fxn

---

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [January 1, 2006, 5:13pm UTC](https://www.ruby-forum.com/t/agile-book-deltas/51488/2 "2006-01-01T17:13:03Z")

</div>

On Jan 1, 2006, at 4:01 AM, Xavier N. wrote:

> Are there deltas for the revisions of the PDF version of the Agile  
> book?

```
 http://books.pragprog.com/titles/rails/errata

```

–Steve

---

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [January 1, 2006, 9:00pm UTC](https://www.ruby-forum.com/t/agile-book-deltas/51488/3 "2006-01-01T21:00:57Z")

</div>

On Jan 1, 2006, at 17:12, Stephen W. wrote:

> On Jan 1, 2006, at 4:01 AM, Xavier N. wrote:
> 
> > Are there deltas for the revisions of the PDF version of the Agile  
> > book?
> 
> ```
> http://books.pragprog.com/titles/rails/errata
> 
> ```

Yeah, I know that page but on one hand the label of the rightmost  
column is confusing because I don’t know whether the issue has been  
just reported or fixed, and it is strange in the second half of the  
page there’s no entry for 4.0.

How can one figure out what is new in 4.0?

– fxn

---

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [January 2, 2006, 6:32pm UTC](https://www.ruby-forum.com/t/agile-book-deltas/51488/4 "2006-01-02T18:32:54Z")

</div>

Xavier N. wrote:

> Yeah, I know that page but on one hand the label of the rightmost  
> column is confusing because I don’t know whether the issue has been  
> just reported or fixed, and it is strange in the second half of the  
> page there’s no entry for 4.0.
> 
> How can one figure out what is new in 4.0?

Thanks for flagging the existence of version 4.0 - the gerbils are  
working on my copy as I write.

Two suggestions:

1. there are PDF diff tools available (e.g. at [www.softinterface.com](http://www.softinterface.com))

2. there are many PDF to text converters - you could convert to plain  
text and use a normal diff tool, ignoring whitespace differences

I haven’t tried either of these, but I may once I’ve got my version 4.0  
PDF.

regards

Justin

---

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [January 2, 2006, 9:40pm UTC](https://www.ruby-forum.com/t/agile-book-deltas/51488/5 "2006-01-02T21:40:20Z")

</div>

Justin F. wrote:

> > Xavier N. wrote:
> > 
> > How can one figure out what is new in 4.0?

[…]

> 1. there are PDF diff tools available (e.g. at [www.softinterface.com](http://www.softinterface.com))
> 
> 2. there are many PDF to text converters - you could convert to plain  
> text and use a normal diff tool, ignoring whitespace differences
> 
> I haven’t tried either of these, but I may once I’ve got my version 4.0  
> PDF.

Well, I tried the evaluation download of DiffDoc, and I wouldn’t  
recommend it to anybody… but after wading through false positives, and  
possibly missing some real differences in the process, this is what I  
found:

- diagrams in the new PDF are greatly improved by the use of vector  
fonts in place of bitmapped text

- many typos are fixed

- there are improvements in wording or punctuation in a few places,  
without changing the meaning

Places where the meaning has changed are as follows:

p62: validation of the image URL now just checks for a valid suffix; it  
doesn’t require the “http:” prefix

p99: text discusses the use of start\_form\_tag, as well as the shorter  
alternative form\_tag (so is consistent with the code)

p131: definition of login has changed, as follows:

@user = User.new(params[:user])  
was  
@user = User.new(params[:user\_id])

and

if logged\_in\_user  
session[:user\_id] = logged\_in\_user.id  
was  
if logged\_in\_user  
session[:user\_id] = logged\_in\_user

p160, in the test.log content,  
the shipped\_at parameter has value nil, where in the previous  
printing it was a date/time starting Mon May 02  
and the SQL INSERT has NULL rather than that date

p203, under Reading Existing Rows,  
the example has been changed/corrected as follows:

an\_order = Order.find(27) # find the order with id == 27

# Get a list of product ids from a form, then

# sum the total price

product\_list = params[:product\_ids]  
total = 0.0  
Product.find(product\_list).each {|prd| total += prd.total}

used to be

an\_order = Order.find(27) # find the order with id == 27

# Get a list of order ids from a form, then

# sum the total value

order\_list = params[:order\_ids]  
orders = Order.find(order\_list)  
count = orders.size

p221:  
(the foreign key will be set to null)  
used to be  
(the foreign key will be set to zero)

p291:  
class OrderController \< ApplicationController  
used to be  
class OrderController \< ActiveRecord::Base

p328: The Template Environment  
Example changed to show content of session/params/response  
rather than content of request/params/response

p337:  
textilize() helper  
used to be  
textile() helper

p340:  
def user\_list  
@user\_pages, @users = paginate(:users, :order =\> ‘name’)  
end

used to have :order\_by rather than :order

p345:  
text\_field common options - :maxsize corrected to :maxlength

p352:  
Finally, we can implement the show action, which displays the comment  
and the image.  
used to have ‘command’ instead of ‘comment’

p363:  
\<%= render\_component(:controller =\> ‘store’, :action =\> ‘cart\_summary’)  
%\>  
used to be  
\<%= render\_component(:controller =\> :store, :action =\> :cart\_summary)  
%\>

p369:  
For example, when we edit an article  
used to be  
For example, when we edit a fragment

p394, bottom:  
@content\_for\_page\_scripts variable  
used to be  
@contents\_for\_page\_scripts variable

that’s it!

Justin
