moneysharma — 2013-01-07T14:37:55-05:00 — #1
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?
pullo — 2013-01-07T16:43:01-05:00 — #2
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.
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.
For Rails, online guides and tutorials are plentiful. I 'd recommend http://guides.rubyonrails.org/ as well as http://railscasts.com/ (also available as http://asciicasts.com/).
Once you have worked through some of these, then I would go back to Agile Web Development for Rails.
Also, check out this list (which is fairly recent): http://programmingzen.com/ruby-and-rails-recommended-books/
pullo — 2013-01-08T05:32:57-05:00 — #3
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.
parkint — 2013-01-08T06:48:33-05:00 — #4
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.
moneysharma — 2013-01-08T12:05:32-05:00 — #5
Thanks @Pullo, I will surely check that out
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
parkint — 2013-01-09T06:44:45-05:00 — #6
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.
pounce — 2013-02-01T05:45:42-05:00 — #7
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.
parkint — 2013-02-05T10:06:24-05:00 — #8
Also, be sure to check out [Code School and [URL="http://railsforzombies.org/"]Rails For Zombies](http://codeschool.com), which is a great little interactive introduction to Rails.
All of Code School stuff is top notch.
vaughan101 — 2013-02-14T23:36:09-05:00 — #9
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.
oddz — 2013-02-15T03:39:06-05:00 — #10
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.
parkint — 2013-02-22T08:43:35-05:00 — #11
It is true that the installation and setup of Rails seems to be a huge stumbling block for many.
[Yehuda Katz has taken on [URL="http://www.kickstarter.com/projects/1397300529/railsapp"]an initiative](http://www.kickstarter.com/projects/1397300529/railsapp/creator_bio) to "package" and simplify the process. Hats off to him and other champions who are striving to make the entry easier.
treybean — 2013-02-25T13:04:19-05:00 — #12
I'll throw in my support of the [Code School classes—they're super for beginners and even our sr. engineers pick up some good tips in them. As for which to learn first, I wouldn't spend too much time focussed on Ruby to start out with. You'll pick up some basics as you go through some tutorials and it should be enough to get up to speed and start building things with Rails. Once you're at that point, you can come in and backfill your Ruby chops. I find it much easier to learn the details of a particular language after having some actual apps to serve as a proving ground for new concepts. When you do get to the Ruby, I highly recommend [URL="http://www.amazon.com/Eloquent-Ruby-Addison-Wesley-Professional/dp/0321584104"]Eloquent Ruby](http://www.codeschool.com/)