Message from discussion
changing the model after scaffolding
Received: by 10.180.91.231 with SMTP id ch7mr2429626wib.1.1349702825948;
Mon, 08 Oct 2012 06:27:05 -0700 (PDT)
X-BeenThere: rubyonrails-talk@googlegroups.com
Received: by 10.180.90.134 with SMTP id bw6ls7292384wib.1.canary; Mon, 08 Oct
2012 06:26:09 -0700 (PDT)
Received: by 10.180.94.98 with SMTP id db2mr2420271wib.2.1349702769438;
Mon, 08 Oct 2012 06:26:09 -0700 (PDT)
Received: by 10.180.94.98 with SMTP id db2mr2420270wib.2.1349702769425;
Mon, 08 Oct 2012 06:26:09 -0700 (PDT)
Return-Path: <li...@ruby-forum.com>
Received: from eq4.andreas-s.net (eq4.andreas-s.net. [188.40.52.210])
by gmr-mx.google.com with ESMTPS id e5si988038wiw.0.2012.10.08.06.26.09
(version=TLSv1/SSLv3 cipher=AES128-SHA);
Mon, 08 Oct 2012 06:26:09 -0700 (PDT)
Received-SPF: pass (google.com: domain of li...@ruby-forum.com designates 188.40.52.210 as permitted sender) client-ip=188.40.52.210;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of li...@ruby-forum.com designates 188.40.52.210 as permitted sender) smtp.mail=li...@ruby-forum.com
Received: from localhost (localhost [127.0.0.1])
(uid 1004)
by eq4.andreas-s.net with local; Mon, 08 Oct 2012 15:26:08 +0200
id 00000000005D607E.000000005072D470.00005AA6
Old-Return-Path: <li...@ruby-forum.com>
Date: Mon, 08 Oct 2012 15:26:08 +0200
From: "Sebastjan H." <li...@ruby-forum.com>
Reply-To: rubyonrails-talk@googlegroups.com
To: rubyonrails-talk@googlegroups.com
Message-ID: <6b9b81c200e755aba799e4198eee9469@ruby-forum.com>
In-Reply-To: <CAL=0gLs9twV-6AnqGGy7h7Si=_ibmPeFAuuk-S7m2Mm=gv4RVg@mail.gmail.com>
References: <f62a6e0e7cc3752c23edc84166f433f7@ruby-forum.com> <CAL=0gLs9twV-6AnqGGy7h7Si=_ibmPeFAuuk-S7m2Mm=gv4RVg@mail.gmail.com>
Subject: Re: changing the model after scaffolding
Mime-Version: 1.0
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Errors-to: li...@ruby-forum.com
Colin Law wrote in post #1078943:
> On 8 October 2012 14:07, Sebastjan H. <li...@ruby-forum.com> wrote:
>> Hi,
>>
>> I want to learn Rails and I have one question. In Rails 3, if I want to
>> change the model after I performed scaffolding, where should
>> modifications be made?
>>
>> I assume in the controller and view. Can someone confirm this or point
>> out the exact files? I'd prefer to do this manually.
>
> I suggest working through some tutorials so that you will understand
> the basics of Rails. railstutorial.org is good and is free to use
> online. Once you have worked right through that then you will be able
> to answer the question yourself.
>
> Make sure that any totorial you use is for rails 3 and that you have
> the exact version installed that the tutorial is written for.
>
> Colin
thank you, I will go through the tutorials, I was just a bit eager to
jump right in:)
regards,
seba
--
Posted via http://www.ruby-forum.com/.