Thursday, November 10, 2011

Re: [Rails] Can't get form to render.

On 10 November 2011 21:42, Dan S. <lists@ruby-forum.com> wrote:
> Hi All,
>
> I cant for the life of me work out why the form isn't rendering...
> ...
> <% form_for(@ad,:url=>{:action=>'create'}) do |f| %>

Try
<%= form_for... %>

Colin

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate