For Ruby, I recommend this book
I think it's suitable for someone already has some background in programming and wanna learn more about Ruby.
With Rails, nothing better than doing a project, let try to build your own AirBnB website
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.