I just finished this book from The Pragmatic Bookshelf. Agile Web Development with Rails 4
The book is divided into three major part. The first part is an introductory part about ruby, how to install Rails, etc. The second part discussed about how to build an online catalog using Rails. You can check out the online catalog that I built from this book here. I wish the look is not so bland, but anyway it does what it is supposed to do. The last part discussed many Rails topics in-depth, such as Active Records, Rails dependencies, etc.
If you have finished your first introductory materials to Rails and looking for more learning materials, I can recommend this book for you.