Ruby Programming – 23 – CRUD Create Read Update Delete

Ruby programming tutorial. Ruby CRUD: Create Read Update Delete.
★☆★ THE BEST EDITOR and IDE FOR PROGRAMMING ► http://bit.ly/Komodo-IDE-Learn-Ruby ★☆★

★☆★ SIGNUP TO GET MY RUBY BOOK FOR FREE ★☆★

http://bit.ly/free-book-signup

★☆★ FOLLOW ME BELOW ★☆★

Twitter ► http://bit.ly/jake-day-twitter

YouTube ► http://bit.ly/jake-day-youtube

Facebook ► http://bit.ly/jake-day-facebook

SoundCloud ► http://bit.ly/jake-day-soundcloud

★☆★ NOTES ★☆★

Comments

TheDerpCard says:

wow i had a problem that i fixed and i paused to fix it not knowing we both had the problem we both did  if books[title.sym]

Kewendi says:

Thanks. It is good to see errors. I get excited if I can see the error before you do : )

Todd s says:

Not downing Komodo ide but if your looking for a free one netbeans has a ide and a pluggin that supports ruby. I have just started using so im still figuring it out but it seems to be pretty nice.
Also thanks for posting your tutorial’s.

Desi260113 says:

hi i keep on getting syntax error, unexpected ‘,’
if book[title.to_sym] = nil? 

Any thoughts on why? 🙂

Jake Day Williams says:

The next Ruby programming tutorial will be uploaded tomorrow. We will be discussing Create Read Update and Delete more. Make sure to go over this lesson before we do. 

Ulfar Johnson says:

Hi Jacob,
Are you going to continue with the ruby series.  I really like it.  You have done a really good job.

Arpit Jain says:

Hi,

What if I wanted to update / change the books name.

How would I do that?

Bakhtiyor Ibrogimov says:

good job. Thank you!!!

Adam Recvlohe says:

I thought I would share an easier method for putting in the titles.    
title = gets.chomp.gsub(/s+/, “_”).to_sym

This way you can input text as a string in the terminal (i.e. Anne Frank), and it will come out as a symbol (i.e. :Anne_Frank). I hope this helps.

 Write a comment

*

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

Please click below to support us on Facebook!