Re: ruby/rails rookie needs help to build a simple database app
Hassan Schroeder <[email protected]> Sun, 11 Aug 2019 07:53:15 -0700
| Newsgroups | gmane.comp.lang.ruby.general |
|---|---|
| Message-ID | <CACmC4yBdctueZQOffviYvCm-px-MGD9M4dXN6gE58YuzdrSgLg@mail.gmail.com> |
On Sat, Aug 10, 2019 at 2:00 PM Barry Kimelman <[email protected]> wrote: > 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. Hard to comment without seeing specifics, but that's likely if the versions of Ruby/Rails you're using don't match those of the tutorial. > 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" ? Depends on how you've set your system up; if `rails --version` and `./bin/rails --version` return the same answer it doesn't matter. If you want to be certain, though, the explicit version is worth doing. Alternatively set your PATH appropriately. > Also could someone out there recommend a tutorial for a simple database related app. Rails uses a DB by default; have you considered just building some trivial app from scratch? Maybe recreating something you've done in another language/platform? (I'm not a tutorial user, I'm afraid.) HTH, and good luck! -- Hassan Schroeder ------------------------ [email protected] twitter: @hassan Consulting Availability : Silicon Valley or remote Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>