Ruby on Rails Tutorial Part 1 - Getting Started

preview_player
Показать описание
In this Ruby on Rails Blog Tutorial we'll work on getting a blogging application up and running, learn about the rails directory structure, and do a simple hello world. In this video I'm using Rails 3.1 and Ruby 1.9.2 on Linux.

Installing Ruby and Rails Links:
-----------------------------------

-------
Linux
-------

----
Mac
----

--------
Windows
--------

--------------------------------------
--------------------------------------
If you get errors about not having a javascript runtime or something along those lines try installing

-------------
ExecJS Errors
-------------
Рекомендации по теме
Комментарии
Автор

You speak so confidently like you really know what you're talking about. I've literally watched videos where people are reading their tutorial from a web page. Thanks for posting this.

pkietanuki
Автор

This is by far the best introduction I've seen so far. Simple and concise. Many many others over complicate things. Thanks !

Boxing_Gamer
Автор

I tryed to learn ruby on rails by reading tutorials and I thought I might give this video a chance too. I have to say you are born to teach!! You can explain those things so easy and I can follow you without a problem. Thanks man! Looking forward to the next parts :))

Micster
Автор

Great introductory video! I just started learning RoR and I've been sourcing around tutorials to give me a simple introduction and a walk-through on the creation of a project, and I found this video to be the best so far. I'm definitely gg to continue with the subsequent videos. Thanks Andrew!

justchill
Автор

Buddy, you are doing a wonderful thing by sharing your knowledge. The clarity with which you provide the explanation is really remarkable. And I see that you are taking time to respond to the comments as well. Keep this up. God bless you buddy.

harikrishnans
Автор

This is the best and excellent tutorial for Ruby on rails simply ausumm.
100% recommended for beginners to watch.

maliarshad
Автор

In the terminal we can run commands to generate files for us. In the first part of the video when I run the "rails g controller posts" command, that posts name refers to the name of the controller ruby file that will be created. It could have been named whatever you wanted as long as you stick with plural naming conventions. So, It could have been "rails g controller entries" and that would create an Entries controller instead. Hope this helps you.

andrewperk
Автор

great tutorial Andrew! I went through a tutorial book before your videos, but this is a good summary and a quick practice starter, thanks.

MrZreba
Автор

I'm not sure I understand what you mean. The "rails new" command is ran inside of your terminal or command line prompt, not in your editor, unless your editor gives you a console.

To have access to the "rails" command in the terminal or command line checkout the video description for installing Ruby and Rails on your OS and that should set you up.

andrewperk
Автор

i found an app that was built in rails, then stumbled onto your videos to learn more. these are very clean,  well paced tutorials. i was surprised to see that rails apps are very similar to node apps.

A+ vidz. Thx!

PhreeLyfe
Автор

Awesome explanation Andrew! I am starting to understand rails after going through your tuts.

hennachin
Автор

@sruthimangalampalli If you are on windows there's several good ones: e-texteditor, sublime text, notepad++, komodo edit. On mac textmate, textwrangler, bbedit and subliime text. On linux gedit, sublime text. You can also use redcar which is good. The most popular editors are textmate for mac, gedit for linux, and people on windows use a variety of things depending on their preference. A lot of people love vim too! Vim has a high learning curve though.

andrewperk
Автор

@roytheey You're welcome. Have faith in yourself, haha. The most complicated part of Rails is getting it installed and understanding how Rails wants you to develop. If you are scared of the terminal/command line, don't be, it's convenient and makes developing fast, eventually you won't want to be without it. When I started with Rails I found it easier to forget how I was taught to do web development and instead embraced the way Rails is telling me how to do web development. Keep at it. Good luck

andrewperk
Автор

@axiomdata I like both of them and since they are very similar it's easy to switch back and forth. Sometimes people don't want to use a rails host and that's where Cakephp works well as almost all servers have PHP installed. I like Ruby's expressive syntax though. I also like not having to use semicolons, brackets, and parentheses. I also love how easy it is to test in Rails and how full featured it is. Cakephp testing is not as straightforward or enjoyable.

andrewperk
Автор

hey your ruby on rails tutorials are really nice for a beginner to start, i am waiting the future videos. Thanks

shubhamverma
Автор

this was really helpful. I tried doing that for a whole day with no success. Thanks big!

NjeriChelimo
Автор

hey andrew thanx for spreading education m waiting for the future tutorials from you i successfully learned cake php following your cake php tutorials previously..

frankjohn
Автор

Thanks for your reply... I went through PHP a bit... quite easy to grasp due to my PERL background... ill try out and see what RAILS has to offer... The main factor is how great their Support is. Although PHP is more used, RAILs is gaining in popularity and I am trying to figure out why this is the case. Thanks again for your reply

XNAforyou
Автор

@TheCrazyPothead I use Kazam at it's normal settings recording at full screen. I use a laptop, it's a few years old now, Core2 Duo 2.0, 3gb ram, 8800m gts 512mb.

andrewperk
Автор

@Xylogeist Yes, Linux, using an Ubuntu distribution.

andrewperk