where to learn ruby on rails [closed] - ruby-on-rails

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I went to an interview early today and it came out that I don't like php.
I was instructed by the 2 wonderful interviewers to consider ruby on rails
They explained a feature that a forum can be created within 15 mins.
My question is does anyone know any good tutorials for anyone who is a complete beginner to ruby on rails?
Any help would be much appreciated.
Thank you

Go straight to http://railsforzombies.org
Very high quality online tutorial.

I did some tutorials online, but didn't really get what I wanted until picking up a couple books. These are my favorites.
Programming Ruby
Agile Web Development with Rails
The Rails Way
The Rspec Book

Getting Started with Rails

Check out The Official Web Page. A few clicks from there lands you at the Online Course

http://ruby.railstutorial.org/ruby-on-rails-tutorial-book is a great resource.

take a look at http://www.buildingwebapps.com/learningrails or http://railscasts.com is a good source of information.

Like NewB said, I'd go with Ruby on Rails Tutorial: Learn Rails by Example (affiliate link if you buy it, you can also read it online for free!). It's a very good introduction for complete beginners to web development, as it mentions git for version control and basic SQL stuff.

Related

Does anyone know where I can find a set of online Ruby programming sets/exercises? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am searching for a set of problems, a book of exercises or challenges for Ruby and/or Ruby on Rails. The resources that I found appear to be offline or outdated. I see recommendations for Ruby Quiz, but the site seems dead. Any help would be much appreciated.
I completed the Ruby series on Codecademy, and am starting with the pickaxe book Programming Ruby 1.9 & 2.0. It's mostly a tutorial book with no exercises or challenged though.
Project Euler is pretty solid (http://projecteuler.net/) as are Ruby Koans (http://rubykoans.com/). You can try "Learn Ruby the Hard Way" as well.
As far as Rails exercises, I'd say "Learn Rails by Example" by Michael Hartl (Which is free and easy to find online).
Start with http://betterexplained.com/articles/starting-ruby-on-rails-what-i-wish-i-knew/
Then you may like using Code Academy and Code School.
Ryan Bates Railscasts are must for anyone learning rails.
Some folks also like the irreverence behind Rails for Zombies
Peepcodes have quite a few including rspec testing
Many have used Michael Hartl's tutorial so if you get stuck there's lots of help available on sites like SO.
Other advice on versions and dates:
For Ruby, use 1.9 (instead of 1.8.x) and don't worry if it's five years old.
For Rails, use 3.1+ and so tutorials need to be from the last 2 years.
An awesome site, on which I am learning regularly is:
http://www.codequizzes.com/
I first began learning on http://rubymonk.com/ , but there are also some other interactive tutorials like http://tryruby.org/ you could try out.

What is so unique about Ruby that Rails chose it as its development language? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am very new to Ruby and Rails, so if this is a dumb question, please bear with me.
The ideas that Ruby adopted are not so new and revolutionary. Functional programming, dynamic typing and meta-programming, they exist in other languages as well.
Then why did Rails chose Ruby, but not Python, Scheme, JavaScript or any other language?
What features of Ruby helped Rails to prosper?
There's this keynote by DHH which is somewhat related.
And here's an interview with Jason Fried, which touches this question.
Jason: Ruby on Rails is the open source web application framework we extracted from Basecamp. When we built Basecamp we didn't know we were building Rails at the same time, but that's exactly how it happened. Basecamp came first; Rails was born from Basecamp. Basecamp was the divine chicken, Rails was the egg.
I had some natural hesitation about using Ruby at first ("What the ##!* is Ruby?" "Why don't we just use PHP--it served us well before?"), but David Heinemeier Hansson, the first engineer on the Basecamp project, cogently made the case and I bought it. I'm thrilled with the results.
I think it's apparent that David's strong preference for using Ruby in his projects was the key.
Here's a similar question, with plenty of discussion: https://softwareengineering.stackexchange.com/questions/99192/why-was-rails-written-in-ruby
Also, check out this podcast with David Heinemeier Hansson that talks about his inspiration for RoR: http://thisdeveloperslife.com/post/1-0-5-homerun

What are some good resources for learning the Rails codebase internals? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have been developing in Rails for about 3 years now, and would like to learn more about the Rails internals themselves. Rails 3 supposedly provides nice API's for integrating more closely with Rails, but I'm having a hard time finding documentation on how to use them. Here are some examples of what i'm looking for:
Rails Initialization Process
http://guides.rubyonrails.org/initialization.html
Arel Walkthrough
http://railscasts.com/episodes/239-activerecord-relation-walkthrough
Routing Walkthrough
http://railscasts.com/episodes/231-routing-walkthrough
http://railscasts.com/episodes/232-routing-walkthrough-part-2
Crafting Rails Applications
http://pragprog.com/book/jvrails/crafting-rails-applications
Are there any other good resources that an help as a guided tour of how Rails works?
(and please don't say read the source code.. I'm looking for a more guided explanation)
You may like this articles:
http://piotrsarnacki.com/2010/07/31/rails3-modularity/
http://piotrsarnacki.com/2010/06/18/rails-internals-railties/
But, you should start writing such articles by own, ie try to write how controllers instance variables are visible in views or prepare description of all rails modules and classes - this will make you much more familliar with rails.
The Ruby Metaprogramming Book has some chapters in the end teaching how ActiveRecord internals is made up.

How to prepare an interview for Ruby on Rails developer position? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Background about myself:
I have about 3 years experience working in Java/J2EE. I am currently pursuing MS in Software Engineering at a reputed university. I have done several classwork projects on Ruby on Rails and can be considered at Intermediate level expertise with ROR.
I have an interview coming up next week for a Ruby on Rails developer position at a startup. I have already prepared all the basics of Ruby on Rails but didn't get a lot input on the questions asked for ROR developers. Can you guys help me with the preparation? Any materials, suggestions would be welcome.
Here are some responses prepared earlier: What Ruby and Rails Developers Ought To Know?
Some of this is going to depend on the level of the role your are looking at. If I was interviewing someone from the Java world I would be probing to make sure they understood some of the common Ruby idioms, particularly blocks and closures.
Create a github account and made some patch to several project.
Be active in Open source community. It's really a good start

Tips for rails blog [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking for some blog that talks about ruby and rails.
Any tips?
Thanks
There's also PlanetRubyOnRails:
http://www.planetrubyonrails.com/
which is an aggregator of many ruby (and ruby on rails) blogs (you can find the list here, and eventually select just those you like and add them to your own feed reader)
I think that Ryan's Scraps is a very useful rails blog.
http://www.rubyinside.com/
http://www.railsinside.com/
Both are good at summing interesting stuff up, got most of the people I follow on a regular basis from there. :)
Ruby Best Practices has lots of good general ruby advice, while Yehuda Katz seems able to not only be extremely productive developing bundler, rails 3 and more, but also write good articles about them.
Other blogs I read not already mentioned include Ryan Tomayko, Pratik Naik and Pivotal Blabs, not to mention my own small corner of the web.
Railscasts - free RoR screencasts.

Resources