Yeah, that''s the thing I guess....Scaffolding isn''t
creating that file. And, I''m not sure what even is
CONTAINED in the file.
--- "Hogan, Brian P." <HOGANBP-VnAisaAFmHY@public.gmane.org>
wrote:
> That''s funny.... Usually that happens when there''s
> no file for the
> partial...
> Do you have a "_form.rhtml" file located in the
> right place?
>
> If your controller is "admin"
> Then you should have
> /views/admin/_form.rhtml
>
> Usually, scaffolding takes care of that for you...
>
>
> -----Original Message-----
> From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On
> Behalf Of jonathan
> Mcintire
> Sent: Monday, November 21, 2005 10:51 AM
> To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> Subject: [Rails] Scaffolding "Edit/New" error
>
>
> I was trying to set up scaffolding, but when I go to
> edit/new to add entries into my database. I get this
> error
>
> No rhtml, rxml, or delegate template found for
> admin/_form
>
> 1: <h1>Editing article</h1>
> 2:
> 3: <%= start_form_tag :action => ''update'', :id
=>
> @article %>
> 4: <%= render_partial ''form'' %>
> 5: <%= submit_tag ''Edit'' %>
> 6: <%= end_form_tag %>
>
>
> Has anyone seen this error before? If I comment out
> the "<%= render_partial ''form'' %>" line
it goes to
> the
> edit action but nothing is displayed.
>
>
>
>
>
> __________________________________
> Yahoo! FareChase: Search multiple travel sites in
> one click.
> http://farechase.yahoo.com
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
__________________________________
Yahoo! Mail - PC Magazine Editors'' Choice 2005
http://mail.yahoo.com