SitePoint Sponsor

User Tag List

Results 1 to 12 of 12
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2012
    Location
    India
    Posts
    73
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    difficulty in learning ruby and rails

    hello all,

    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?

  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,858
    Mentioned
    206 Post(s)
    Tagged
    12 Thread(s)
    Hi,

    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.

    Rails:
    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-r...mmended-books/

  3. #3
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,858
    Mentioned
    206 Post(s)
    Tagged
    12 Thread(s)
    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.

  4. #4
    Avid Logophile silver trophy
    ParkinT's Avatar
    Join Date
    May 2006
    Location
    Central Florida
    Posts
    2,326
    Mentioned
    191 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by Pullo View Post
    You'll learn the magic behind Rails.
    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.
    Don't be yourself. Be someone a little nicer. -Mignon McLaughlin, journalist and author (1913-1983)


    Git is for EVERYONE
    Literally, the best app for readers.
    Make Your P@ssw0rd Secure
    Leveraging SubDomains

  5. #5
    SitePoint Enthusiast
    Join Date
    Oct 2012
    Location
    India
    Posts
    73
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks @Mr.Pullo , I will surely check that out

    And Mr.@Parkin , 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

  6. #6
    Avid Logophile silver trophy
    ParkinT's Avatar
    Join Date
    May 2006
    Location
    Central Florida
    Posts
    2,326
    Mentioned
    191 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by moneysharma View Post
    Thanks @Mr.Pullo , I will surely check that out

    And Mr.@Parkin , 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.
    Don't be yourself. Be someone a little nicer. -Mignon McLaughlin, journalist and author (1913-1983)


    Git is for EVERYONE
    Literally, the best app for readers.
    Make Your P@ssw0rd Secure
    Leveraging SubDomains

  7. #7
    SitePoint Member
    Join Date
    Feb 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  8. #8
    Avid Logophile silver trophy
    ParkinT's Avatar
    Join Date
    May 2006
    Location
    Central Florida
    Posts
    2,326
    Mentioned
    191 Post(s)
    Tagged
    4 Thread(s)
    Also, be sure to check out Code School and Rails For Zombies, which is a great little interactive introduction to Rails.
    All of Code School stuff is top notch.
    Don't be yourself. Be someone a little nicer. -Mignon McLaughlin, journalist and author (1913-1983)


    Git is for EVERYONE
    Literally, the best app for readers.
    Make Your P@ssw0rd Secure
    Leveraging SubDomains

  9. #9
    SitePoint Enthusiast
    Join Date
    Feb 2008
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.
    Check out this amazing 6 figure a day new great method
    on fastcash10.in

  10. #10
    SitePoint Wizard bronze trophy
    Join Date
    Jul 2006
    Location
    Augusta, Georgia, United States
    Posts
    4,135
    Mentioned
    16 Post(s)
    Tagged
    3 Thread(s)
    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.
    The only code I hate more than my own is everyone else's.

  11. #11
    Avid Logophile silver trophy
    ParkinT's Avatar
    Join Date
    May 2006
    Location
    Central Florida
    Posts
    2,326
    Mentioned
    191 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by oddz View Post
    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.
    It is true that the installation and setup of Rails seems to be a huge stumbling block for many.
    Yehuda Katz has taken on an initiative to "package" and simplify the process. Hats off to him and other champions who are striving to make the entry easier.
    Don't be yourself. Be someone a little nicer. -Mignon McLaughlin, journalist and author (1913-1983)


    Git is for EVERYONE
    Literally, the best app for readers.
    Make Your P@ssw0rd Secure
    Leveraging SubDomains

  12. #12
    SitePoint Member
    Join Date
    Feb 2013
    Location
    Salt Lake City, UT
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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 Eloquent Ruby

    Good luck!


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •