How do I access a my :include data in my ROR SQL results?

I am new to ROR, and I'm stuck!

My MySQL tables are setup like this:


now, in PHP, i could just call
$all_books['book_name'] or $all_books['author_name'] and both would work

in rail, i seem to have an issue where i can call @all_books.book_name
just fine, but @all_books.author_name gives me an error

Dang. I solved my problem. It was so simple.

I just had to call

Please read before ask such a simple

Dmitry Polushkin