Does anyone know of any books or online tutorials that would detail the following in Ruby?

1. Forms
2. Files
3. Sessions
4. SQL Queries
5. HTML integration

I've googled quite a bit and started reading the Agile book, but I haven't really gotten a good grasp on the above topics. Any help is appreciated. It seems to me that there are a lot of PHP tutorials online but not many Ruby ones. Granted it is a newer language, I may still be missing some killer resource. Thanks.