Ruby on rails web application - ruby-on-rails

If I want to build web application that the server side will be in ruby on rails, I need to learn ruby language in order to that?
I need to mentioned that I am new to ruby and to ruby on rails.
In addition I will be happy for a short explanation what I need to do first in order to do the right steps.
Thanks!!!

Well I just started learning Ruby on Rails and according to my experience I started with learning Rails using Micheal Hartl's guidelines book on Ruby on Rails. Along with that I learned Ruby from Peter Cooper's Beginning Ruby, this helped me learn both the language and Framework with hand on experience.
This should be good to get started with Ruby on Rails. Other than this there are other really good materials like Learn Ruby Hard Way. The best way is to start practicing.

Related

What is a good tutorial / reference for developing apps using Ruby on Rails 2.3.5

I'm specifically looking for 'Getting Started' or 'Cookbook' that deals with RoR 2.3.5. It's primarily because my webhost supports RoR 2.3.5 and not the latest and greatest - 3.0 Pointers would be appreciated to docs!
As #Markus said railstutorial.org is the best resource for getting started with rails (2 and 3).
HOWEVER, I highly recommend starting with Rails 3. It's a big change going from 2 to 3 and might as well start with the best that's currently out there.
Also, the fact that your current webhost supports rails 2 shouldn't be an issue since you can host small sites on Heroku for free. And what do ya know, railstutorial.org will teach you how to use Heroku as well.
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
You can switch between Rails 3 and Rails 2.3 on the right.
www.railscasts.com
you can find any kind of tutuorial/screencast here.
www.peepcode.com. Not free, but not expensive either. Very good tutorials about rails 2

Getting Started: Learning RoR for a ASP.Net MVC/C# Developer

I am an ASP.Net MVC / C# developer looking to get started with Ruby on Rails. Could you point me out to any books / tutorials which would help jump ships quickly.
I am familiar with MVC, Castle Active Record and jquery.
Thanks
Having just gone through this and looking for the best ways to learn ruby and rails I found the following most useful:
http://pragprog.com/titles/rails4/agile-web-development-with-rails (covers Rails 3)
I found this a good starting place to go through the basics of rails and while reading this I was able to follow along and build the application.
http://guides.rubyonrails.org/
Instead of building an application you get the vertical view of rails - i.e., sections to understand models, caching, views, layouts, etc. This is a great resource to follow along and read the sections you are dealing with.
http://www.railscasts.com
As you come across something you need to implement - e.g., many to many relationships this site provides some great examples and walkthroughs.
As a C# developer you may be slightly confused by Ruby. Here are the sites I recommend for learning Ruby:
http://www.fincher.org/tips/Languages/Ruby/
Although not formatted great - I found this one very useful to get the gist of Ruby syntax.
http://www.ruby-lang.org/en/documentation/quickstart/
Another great easy to follow tutorial
Lastly just try out some code.
Good luck!
I enjoyed Ruby on Rails for .NET Developers
How quick you can jump ships is really dependent on how fast you pick up the Ruby language and a new IDE. If you already know MVC and ActiveRecord you'll probably fly right along.
Heroku is really really really cool. Definitely try it out.
Welcome to the rails world :) !
Here is some links that may interest you :
There is a fun way to learn : railsforzombies.org
You can watch great screencast at : railscasts.com
You can find a free book here it is very complete : railstutorial.org/ruby-on-rails-tutorial-book
I also found this : www.digitalmediaminute.com/article/1816/top-ruby-on-rails-tutorials
There should be a lot more.
Have fun !
Ya right of now Ruby on Rails 3 is so proper among RoR developer. so get update on it.
Beginning Rails 3 - http://apress.com/book/view/9781430224334
Agile web development Rails 3 - http://pragprog.com/titles/rails4/agile-web-development-with-rails
These two books are rocking new learning and making a step on RoR.
and if u want video tutorial,
go for Railscasts and Teachmecode

ruby and ruby on rails book (2009)

What are the best Ruby / Rails book available right now ?
Note : I know that this question has probably been asked before. But things change so much in the Ruby / Rails world that some of the books are not up to date or even teaches things that are deprecated in the newer release of Ruby / Rails.
For learning Rails and Ruby, I typically recommend (and refer to!):
Agile Web Development with Rails - Pragmatic Bookshelf (and co-written by DHH - creator of Rails)
The Rails Way - Addison-Wesley
Programming Ruby (The pickaxe book) - Pragmatic Bookshelf
The Ruby Programming Language - O'Reailly
Recently came across this article which mentions a good number of Ruby and Rails books.
In my opinion the best book is still SitePoint-Patrick Lenz-Simply Rails 2 and the unforgotten one Agile Web Development with Rails, Third Edition, but you can start with rails guides to have a newbie tutorial.
Agile Web Development with rails
Head First Rails
I don't normally see this book recommended, but if you are a PHP developer, Rails for PHP Developers is an excellent book.

A book about Ruby On Rails for the Ruby illiterate?

Is there a book about Ruby On Rails for someone that has little or no understanding of Ruby?
Although Ruby On Rails is a great reason to start learning Ruby, I'd be bored out of my pants if I first have to read a full book on Ruby and then a book about Ruby On Rails.
Something that demonstrates the basic principles of both Ruby and Ruby On Rails would be an ideal intro to this world.
Agile Web Development with Rails (Thomas, Heinemeier Hansson) is a good intro to rails, and introduces Ruby gently along the way, you don't need to know ruby to read it.
http://www.amazon.com/Agile-Web-Development-Rails-Programmers/dp/097669400X
AWDWR is a good place to start. A couple other books worth looking at are Simply Rails 2 and Foundation Rails 2. Veger does have a good point too; without a certain level of Ruby knowledge you will struggle in some areas with Rails.
I would personally recommend checking out why's Poignant Guide to Ruby: http://poignant.guide/ first to get familiar with ruby, it makes it entertaining to learn. Then for Rails I would recommend Agile Web Development with Rails.
Simply Rails 2 By Patrick Lenz is a good Rails introduction for someone with very little Ruby experience. But you will need another Ruby and Rails book or resource to really master both.
A good free alternative is Ruby on Rails Tutorial. It's a work in progress, but even the first 6 chapters helped me out a bunch.
It is wise to first learn the (basics of a) language before using more advanced frameworks in order to fully make use of the framework. Same goes for Ruby and Ruby On Rails.
Personally, I had the same problem. But I found a nice Ruby book (Mr. Neighborly's Humble Little Ruby Book, explaining Ruby in a none/less boring way. I thought it was actually fun to read!
After learning the basics of Ruby you can start looking at the (somewhat) official guides. They are easy to understand and shows a lot of Ruby On Rails basics (and more advanced stuff).

What is the difference between Ruby and Ruby on Rails?

I have been studying Ruby for the past few days and I have noticed there is Ruby on Rails.
What is the difference between the two? Do they work together? Is the syntax the same?
Ruby is a programming language. Ruby on Rails ("RoR") is a web-application framework that is implemented in Ruby.
So they not only "work together" but RoR depends on Ruby.
Ruby is a general purpose language. Ruby on Rails is a Ruby framework for implementing web applications.
Ruby is an interpreted scripting language for quick and easy object-oriented programming.
Ruby is a programming Language
Ruby on Rails is web-development framework.
You can read more in "Small Discussion about Ruby on Rails".
Just like PHP has Codeigniter , CakePHP and Laravel, similarly, Ruby has Ruby on Rails ("RoR").
Ruby is a scripting language and Rails is a framework which is built using Ruby.
Ruby and Rails are tightly coupled and "Rails is magic emerged out of Ruby". Whatever you write in a Rails application is just Ruby code.
When you run a Rails application, you are just interpreting the Ruby code using Ruby's interpreter.
Ruby on Rails is a library written in the Ruby language. Its popularity prompted many people to take up writing in Ruby to make use of it, which led many people to treat them as inseparable. :)

Resources