ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Алексей Синицын" <asinitsinster@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm] Ruby on Rails: Getting started (branch 5.1)
Date: Sun, 3 Oct 2010 16:18:33 +0400
Message-ID: <AANLkTimUYXdZru_n9p9ykSbpaKvcqvXge6x9nQiybY3N@mail.gmail.com> (raw)

 Здравствуйте.

 Хотя ранее такими вещами заниматься не приходилось, в силу некоторых
причин появилось желание попробовать написать для себя web приложение.
Выбрано было RoR, хотя возможно этот выбор не оптимален, не знаю. Как
оказалось, RoR есть в репозитарии (используется ветка 5.1) и
устанавливается с помощью apt.

 В качестве учебного пособия подошло:
http://rusrails.ru/getting-started-with-rails . Правда оказалось есть
некоторые различия в том что описано с тем как это работает здесь. В
частности, там пример создаётся командой
rails new blog
 а здесь "new" не надо, "rails name" сразу создаёт структуру
каталогов. Но далее там, для того что бы создать контроллер,
предлагается следующая команда:
rails generate controller home index
 Поскольку в нашем случае у рельс нет никаких команд и на любое слово
оно создаёт структуру каталогов, то желаемое так очевидно не
получается.

 Не подскажет ли кто, что это за различия и есть ли где нибудь какое
нибудь описание различий и как начинать в нашем случае? Либо,
возможно, проще поставить рельсы с официального сайта и идти по той
инструкции?

             reply	other threads:[~2010-10-03 12:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-03 12:18 Алексей Синицын [this message]
2010-10-03 15:19 ` Алексей Синицын
2010-10-03 17:01   ` Sergey Vlasov
2010-10-03 17:36     ` Алексей Синицын
2010-10-04 12:33       ` Timur Batyrshin
2010-10-04 15:42         ` Алексей Синицын

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimUYXdZru_n9p9ykSbpaKvcqvXge6x9nQiybY3N@mail.gmail.com \
    --to=asinitsinster@gmail.com \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git