Initially i started learning from agile web development with rails and then i thought of learning ruby first so i switched to PickAxe book. But i am finding pickAxe book very much difficult(although i was good at c++ programming). please suggest me that from where should i learn it now. online videos, or any reference links.
also i would like to ask should i learn ruby deeply for learning rails?
Where to start?
Both Ruby and Rails have major releases pending (Ruby 2 in February 2013 and Rails 4 sometime soon), therefore there is a danger that any books you buy now will date quickly.
Ruby:
I can appreciate that the PickAxe book is a little heavy going, but it has become the de facto Ruby introduction and reference, so I would try and stick with it if you can.
Also, check out Peter Cooperâs âBeginning Ruby: From Novice to Professionalâ, which is a little more lightweight.
Another book crossed my mind which might be interesting for you: Rebuilding Rails by Noah Gibbs
Check it out here: http://rebuilding-rails.com/
From the blurb:
With Rebuilding Rails, youâll build an MVC web framework, structured like Rails and using the same underlying libraries and tricks. Youâll learn the magic behind Rails. Youâll finish each system and solidify your knowledge with structured exercises. And youâll understand Rails like only a framework builder can.
I found that the âmagicâ of Rails is a bit like âThe Forceâ. It is easier once you submit yourself to it.
As a long-time software developer - with experience in numerous languages and technologies - I spent much time âfightingâ with Rails because I was trying to over-think it.
Once I realized it is highly opinionated and will not bend to MY will, the ride was easy and actually FUN!!
I recommend, @moneysharma;, that you simply enjoy the process. Immerse yourself (with tutorials and sample code) in it. Read other peopleâs code (browse on Github). Even get your hands on an Open Source project and try to make it better. There is no obligation to submit your changes in a âPull Requestâ. Just gain experience by DOING.
And Mr.@ParkinT, how can i go on when i am not able to understand the book? i have tried some tutorials but they were too easy to learn and the book content is much tougher than that
The best way to learn is simply DO IT. As you struggle through something you are learning it.
I recommend you follow one of those simple tutorials. Then, with the completed site, begin to âstretchâ your understanding by making small changes. Take the âWhat would happen if I do this?â approach.
When you have [specific] problems you can come to a place like this and ask questions.
Secondly, if you read through these forums - look at questions others have asked - the answers to othersâ questions/problems will take your understanding much farther.
Try the rails tutorial book - itâs pretty good, goes from nothing to a nice little application including writing your test suite as you go. Thereâs a free online version and also a paid for version if you prefer that includes vids and such. I actually did the tut twice - once without writing the tests and once with.
I have always been curious about ruby on rails. But it seems to be very complex and not so friendly for people that are not used to coding and programming. It seems to be very stable though.
Any programming language is going to difficult to pick-up without existing knowledge. That is no reason not to learn something. You think ruby is difficult try to pick-up c â the language ruby is built on top of. Once you try that you will thankful for languages like ruby and php. Really if you are familiar with one C style language ruby isnât a huge leap. The most difficult part seems to be setting up unless your a UNIX/shell wizard. I had difficult time installing ruby and rails on both my home mac and work windows machine. That was probably the most painful part for me.
Rails is really a whole separate part of the equation. It seems like most books on rails can teach it without one actually being proficient in ruby. However, rails itself is really a separate piece. Once you become familiar with how rails does things you can look at just about any other MVC framework and understand it at a high level. I mean most MVC frameworks out there exist to model rails but within different languages. The concepts are always similar.