Ruby On Rails In 60 Minutes

In this video we will cover all of the fundamentals of the Ruby on Rails framework by building a blog application with comment functionality

Routes
Controllers
Models
Views
Resources
Relationships
Database Migrations
Basic Ruby Code

RAILS PROJECTS COURSE – https://www.eduonix.com/affiliates/id/16-10051

LEARN RAILS FROM SCRATCH – https://www.eduonix.com/affiliates/id/16-10055

SUPPORT THIS CHANNEL WITH A CUP OF COFFEE PER MONTH:
http://www.patreon.com/traversymedia

ONE TIME DONATIONS:
http://www.paypal.me/traversymedia

Comments

Nasdaq Trading Forex Binary Options says:

“Learn Ruby on Rails – Self-Paced

https://twitter.com/AxmerMarketing/status/908900833814650880

Md Sadiqur Rahman says:

thank you so much for your nice tutorial. I know js, php and sql but those language was very alienic to me. where to start ROR, any suggestion?

Luxis Designs says:

Great tutorial!
Could I ask how I would get the new posts to go to the top of the page and not to the bottom of the page, as I don’t want to have to scroll down every time there’s a new message 😛

Abhi Jith says:

Im stuck : Cannot do bundle install…………Shows below error…
An error occurred while installing json (1.8.6), and Bundler cannot continue.
Make sure that `gem install json -v ‘1.8.6’` succeeds before bundling.

Tried every method from stackoverflow to solve this , but none of them worked !

Steven Cook says:

First off. I want to say that this is a great beginner tutorial. Good job. 🙂 Now for one thing I found out about the posts new section the line in the posts_controller.rb in the Create function. There is a problem with the newer rails/ruby install where they do not use “plain” but rather “text” I was following along and found that it was changed and now the line should be “render text: params[:post].inspect” and it will work. This is just to help those like me trying to follow along and they get the missing template error.

Yonatan Landau says:

First of, great tutorial but after I wrote word by word on the destroy method and how to delete the posts, the Browser alert does not pop up and I cant delete the posts… help?

Rai Sajid says:

Tried to install the bundle but got error ” cd simpleblog
bash: cd: simpleblog: No such file or directory

The directory is there. but getting this error. Actually im a UI/UX designer and to create my startup I thought i should learn ROR. and can you please share any resource where i can learn Ruby commands.

Thanks

Rashon Burnett says:

I don’t know if I’m asking a stupid question, but I can’t get past the rails generate controller part. I had the local host 3000 running and I followed your tutorial from the beginning and each time I type in

rails generate controller Posts

I get the same error

bash: /c/Ruby22/bin/rails: C:/Ruby22/bin/ruby.exe: bad interpreter: No such file or directory

FlyLikeADragon says:

thanks for the tutorial – well made, helped a lot 🙂

Alfredo Lopez says:

So, I am really new to Rails (I am just learning a little bit to help a friend with a project) and I got everything I needed from this video. Thanks a lot

Da_ Camstahhh says:

I got command not found on all

jack says:

This was really useful, thank you!

ibukun lawore says:

Great tutorial bro.

Psydle says:

I’m getting an error with nio4r:

make failed, exit code 1

Gem files will remain installed in
C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/nio4r-2.1.0 for inspection.
Results logged to
C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/extensions/x86-mingw32/2.2.0/nio4r-2.1.0/gem_make.out

An error occurred while installing nio4r (2.1.0), and Bundler cannot continue.
Make sure that `gem install nio4r -v ‘2.1.0’` succeeds before bundling.

How do I fix this?

Derreck S says:

It would be really helpful if you could please explain how things work and when to use things, because there’s too much “magic” going on…

Вячеслав Журавский says:

Hi Brad! Thanks for another awesome tutorial =)

IntelligentViewing says:

at 21:56 I am getting “test_title”, “body”=>”test_body”} permitted: false> instead, I don’t know what I am doing wrong.

barakros says:

when destry post you need to destroy its comments

welomehell says:

It would be better if you share the source code

Oana Blcn says:

Thank you so so much! You rock!

Naga Krushna Y says:

Nice Tutorial,
Can you make a video on Jetbrains RubyMine IDE, with debugging ? I’m Confused with it.

MrBenTheBear says:

This is by far the most useful tutorial I have seen thus far on ruby. Thank you for this.,

Sirajus Salekin says:

Great tutorial. Simple and Concise.

explorer1234 says:

Great tutorial, thanks!

Jakub Lemiszewski says:

Hello, great video! I have a question regarding the part of the comments. I changed like to :post_id and I’m having still same error ‘Couldn’t find Post without an ID’ Could you please tell me in your opinion where I need to look for this error? Thanks 🙂

Babs Craig says:

Thanks Brad. This is so helpful. Love how you apologize at around the 30 minute mark for the tutorial taking so long. Lol. Like we wouldn’t be here for hours soaking up the knowledge. Your teaching style is awesome and the way you cover so much without making it end up confusing is amazing. Your NodeJS vids were really helpful and this one is no different. Thanks again

kabe1006az says:

I appreciate and completely respect your expertise, but the beginning is enough to discourage me from even beginning. I am not sure why there can’t be a simple “install” function. The tutorial did not explain why actions were taken, and because of that, it is no different than just asking us to press “install,” if it were to exist.

fakhfakh issam says:

what is posts_path and how did the data was sent from forum to create method ?

Mofizul Islam says:

You should capture the video again by zooming screen. It’s tough to see.

Mike Putz says:

Anyone else having issues around the 30 minute mark? I *thought* I had followed the steps exactly, but I’ve received a couple errors…”undefined method ‘each’ for nil:NilClass…this is after I did < % @posts.each do |post| %>
anyone else have this issue?

John Morris says:

Anyone else getting an error after the delete method is called?
ActiveRecord::RecordNotFound in PostsController#show

Never mind…. Typo

Midhu Cherian says:

Whether I need to download sublime text for viewing gem file? Is it possible to view gem file on word or any other?

Belemkoabga Stéphane says:

Great tutorial thank you a lot.

Joseph Amato says:

Thanks Brad, this was a great tutorial!

 Write a comment

*

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!