[Learning] How much ruby should one know before learning Rails?

This is where i stand :

  • I learnt programming on my own by learning Python ( intermediate ).
  • I have no programming experience.
  • I only know the basic programming concepts (OOPs, metaprogramming, testing etc.) in both ruby and python.
  • I only wish to do web development stuff and NO hardcore programming stuff.

What now ?

Should i learn more ruby and get more fluent with it, cos ultimately i will be writing ruby in rails.
or
Start learning rails with my limited ruby knowledge and learn the rest by doing. (learning by doing method).

OPTIONAL:
Also it will be of great help to me and other newbies if someone could post the list of minimum ruby concepts (loops,symbols,oops etc) that one should know before learning Rails.

Thanks in advance.

Should i learn more ruby and get more fluent with it, cos ultimately i will be writing ruby in rails.
or
Start learning rails with my limited ruby knowledge and learn the rest by doing. (learning by doing method).

Given what you’ve said, I would begin by working on some basic Rails applications and picking up essential Ruby concepts that way. Most Rails applications will only ever use a subset of the language, so you’ll quickly find out which constructions and techniques are common and which are less used. But because Rails is Ruby, you shouldn’t expect that there’s a canonical checklist of Rubyisms that are needed for writing Rails apps. The knowledge required to build and maintain an app is going to depend on the application, and as with anything, There’s More Than One Way to Do It.

Recommend the Agile Web Development with Rails book from the Pragmatic Programmers as a practical way of getting started with Rails development including the framework, Ruby language, development process, etc.

I learned ruby BY learning ruby on rails.
it's fun that way.

sk

I think there are many paths you could choose to learn Ruby.

I recommend the book “Eloquent Ruby” by Russ Olsen. Helped me a lot.

Best Regards,

Everaldo

I came from C/Java, and I found The Well-Grounded Rubyist (David
Black) to be well-written and extremely helpful. You can spend a
couple hours reading an intro book like that and save yourself many
"couple hours" of headache by learning the underlying language first.

Hi,

had the same question a while ago:) The first and most important
thing: find your goal. I would reply with a quest

Hi,

I had the same question a while ago:) The first and most important
question is: what is your exact goal? What to learn is depend on what
you'd like to achieve. You'd like to become a high-skilled, passionate
webdeveloper? I suppose. First write your goals down, it helps you see
clear your way.

For getting involved quickly into Rails with Test-Driven development,
Git and cloud deployment on Heroku (which are all very good skills)
you might wanna read this free book:
http://ruby.railstutorial.org/
Definitely the best. This starts with TDD+Git+Heroku from 0. From
chapter 4 shows you basics of Ruby you'll need.
Agile Web Development with Rails is good if you've already some basic
knowledge.
There's a book mostly about soft-skills you'll need: Passionate
Developer. It shows the the way, helped me a lot.

Go for a meetup near to you and find some experts who you can ask.
Take a look at CodeKata. Register on Github and Stackoverflow, check
RailsGuides. Later it's a good idea to get involved into Ruby deeper,
but the most important especially in the beginning: always have fun
while you study! Always follow your own interest. Never let others
tell you what's good skills for money ( I mean: don't study Java...
except if you're interested).

And let me know if you've further questions. enjoy,
Zoli

I came from a C/C++ and later .net background. I started by learning the Ruby language (because that's just how it made sense to me), and then went on to rails. I actually wrote a blog post about exactly what I used - it's at http://www.rassoc.com/gregr/weblog/2011/05/16/learning-ruby-and-rails/

Greg

That's an interesting summary. I found the Ruby Koans the other day
too - and although I'm quite familiar with Ruby (after using it for
about 5 years :slight_smile: I'm planning to run through them - as you say, it
seems an interesting approach to learning.

BTW pre .Net ASP (VBScript/ASP Classic) has "language constructs like
classes" itself - it's just that very few people knew how to use them
:slight_smile:

For what it is worth…I have been programming over 30 years and
Ruby can be as hardcore as it gets. It all depends on what you want
to do.

Norm