Rails Tutorial (http://ruby.railstutorial.org/ruby-on-rails-tutorial-book) teaches you to do all those things and more. More importantly it is absolutely free. I'm just pointing it out as I wasn't sure whether you were referring to another book when you mentioned "Rails 3 Tutorial" as your next step.
For starting python I've seen http://learnpythonthehardway.org/ recommended a lot on here. It is also free online.