Don’t Learn Rails before Ruby
When I first decided to learn Ruby on Rails. I read a few articles by different bloggers that were saying that you don’t need Ruby to learn Rails. I now totally disagree with them!
If you take the time to fully understand Ruby before you learn Rails; then learning Rails will become a piece of cake.
Whether you build controller, action or else, it will all come down to Ruby.
Learn Ruby
There is list of online books you can read.
1. Learn to program
http://zetcode.com/lang/rubytutorial/
2. Object-oriented programming in Ruby
http://zetcode.com/lang/rubytutorial/oop/
http://zetcode.com/lang/rubytutorial/oop2/
3. Learning Ruby the Hard Way
http://ruby.learncodethehardway.org/book/
4. Ruby Programming
https://www.youtube.com/watch?v=Dji9ALCgfpM
Learn Rails
1. The Ruby on Rails Guide
http://guides.rubyonrails.org/
2. Ruby on Rails Tutorial
https://www.railstutorial.org/book
3. Rails for Zombies
http://railsforzombies.org/levels/1
4. Ruby on Rails Tutorial
https://www.youtube.com/watch?v=GY7Ps8fqGdc
Suggestions
1. No Copy/Pasting Code
2. Master in “Googling”
3. Reading Documentation and Source Codes