I am trying to build a simple search/show tool as a first iteration of
a larger project. I only have one table right now and I would like to
implement active scaffold from the start of this project. I have
tried several times but I am having trouble with active scaffold. I
have my one table, I can easily create my model and controller several
ways but one of the 3 steps in implementing active scaffold is to
modify the layout:
<%= javascript_include_tag :defaults %>
<%= active_scaffold_includes %>
problem is, if I create a project, then create my model and then
controller - I don’t have a layout, nor do I really know how to create
one or what to put in it. I tried implementing scaffold first and
that works in giving me a layout to work with but I cant convert it
over to active scaffold plus that seems like the clunky way to do it.
To me it should be
rails
ruby script/generate model
ruby script/generate controller
implement AS**
can anyone help with this layout issue (i am not real good on the view
side of things i guess
thanks