DevHeads.net

ruby/rails rookie needs help to build a simple database app

I am attempting to give myself an intro to ruby and rails. I am a long time
software developer (unix, perl, c, database, web, etc...)

So far every tutorial I have tried has ended in disaster. In one case when
I go to the url listed in the tutorial I get an error and a traceback which
complains about a missing method. The other tutorials have similarly ended
in errors.

I am running on ubuntu 19.04.

One thing about the tutorials : when they say go to your application
directory and execute the command "rails something", would it be better to
execute "./bin/rails something" ?

Also could someone out there recommend a tutorial for a simple database
related app.

Thanks.

==================

Barry Kimelman
Winnipeg, Manitoba, Canada

Comments

Re: ruby/rails rookie needs help to build a simple database app

By Mayowa Adewole at 08/10/2019 - 17:06

Hi Barry,
I’m sorry all your attempts at learning Ruby and Rails keep ending in
disaster.
Have you tried this? -
<a href="https://www.railstutorial.org/book" title="https://www.railstutorial.org/book">https://www.railstutorial.org/book</a>
One of the most popular rails tutorial for beginners.

Also I feel like you will have a much more speedy progress if you had at
least one friend who knows ruby and rails who you can always quickly write
whenever you get stuck.

Most of the errors you are getting are quite easy to bypass in less than a
minute, if you know someone.

I’m willing to be your guide if you want.

Let me know if this works for you.

Mayowa.

On Sun, Aug 11, 2019 at 12:00 AM Barry Kimelman <crhistopher. ... at gmail dot com>
wrote:

Re: ruby/rails rookie needs help to build a simple database app

By leam hall at 08/10/2019 - 17:06

If you don't mind a side-ways answer, check out the book "Effective
Testing with RSpec 3". It uses Ruby, Sinatra, and SQLite to show you how
to build tests, and a small full stack app at the same time.

Leam

On 8/10/19 5:56 PM, Barry Kimelman wrote:
Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>