[typo] page_header error
Piers Cawley
pdcawley at bofh.org.uk
Fri Nov 24 13:11:03 EST 2006
"Steve Lenti" <stevelenti at 3pop.com> writes:
> the problem seems to lie in app/helps/article_helper.rb. Can someone
> tell me what line #54 is doing.
>
> page_header_includes = contents.collect { |c| c.whiteboard }.collect {
> |w| w.select {|k,v| k =~ /^page_header_/}.collect {|(k,v)| v}
> }.flatten.uniq
>
> If I comment this out everything seems to work fine.
What? You can't tell?
It could be a good deal neater couldn't it, but it shouldn't really be
failing. I shall tidy it up as soon as I've finished writing this.
What database backend are you using? Sqlite by any chance?
--
Piers Cawley <pdcawley at bofh.org.uk>
http://www.bofh.org.uk/
More information about the Typo-list
mailing list