Peter Jones <dev-null / pmade.com> wrote:

> 
> I think the core issue is that your YAML file is malformed.  How did
> you create it?

to read it :
history_file="man_rep/history.yaml"
history=YAML::load( File.open(history_file))

to write it:
File.open( history_file, "w" ) {|f| f.write( history.to_yaml ) }

history being an Array of Page(s), Page is a simple class of mine.

> Load it in IRB and track down the syntax error in the YAML file:

I'll look at however, i don't think it's corrupted because, i've trashed
it regularly...

thanks for the tip !
-- 
Une B?vue