changing the model after scaffolding

16 views
Skip to first unread message

Sebastjan H.

unread,
Oct 8, 2012, 9:07:04 AM10/8/12
to rubyonra...@googlegroups.com
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.

thank you.
regards,
seba

--
Posted via http://www.ruby-forum.com/.

Colin Law

unread,
Oct 8, 2012, 9:12:11 AM10/8/12
to rubyonra...@googlegroups.com
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.
> regards,
> seba
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Sebastjan H.

unread,
Oct 8, 2012, 9:26:08 AM10/8/12
to rubyonra...@googlegroups.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:)
Reply all
Reply to author
Forward
0 new messages