I'm looking to learn a scripting language which has a web framework. Two in my scope are Python and Ruby. I've had no experience with any scripting languages but I'm fairly confident with HTML/CSS. My primary goal is to build a web app which stores data in a database etc.
So to my question, is learning Rails without first learning Ruby a good idea? Does Rails use a large amount of the Ruby language? So could I be learning Ruby while using Rails to build my web app?