Ruby on Rails Sunday, October 31, 2010

hmmm... well i installed that plugin however i am still having no
luck.

form_tag seems to work properly.

my dev log does not give me any errors, just some depreciation warning
unrelated to this problem.

any ideas?

On Oct 27, 11:30 am, Ganesh Kathare <li...@ruby-forum.com> wrote:
> tashfeen.ekram wrote in post #957373:
>
> > I am upgrading to rails 3 and afer diong so, none of myform_forare
> > working. (I can not actually say not all of them are working but the
> > few that i have tried are not). The page loads fine but the form is
> > not output. This is after making the the change from <% to <%=. A
> > sample form is below.
>
> > <%=form_for@user_session, :url => user_session_path do |f| %>
> >   Email <br/>
> >   <%= text_field_tag :login %><br/>
> >   Password <br/>
> >   <%= f.password_field :password %><br/>
> >   Remember Me
> >   <%= f.check_box :remember_me %> <br/>
> >   <%= f.submit "Login" %>
> > <% end %>
>
> Hi,
>
> In that case you need to use 'dynamic-form' plugin for rails3
>
> http://github.com/rails/dynamic_form
>
> This plugin can auto modify you syntax at runtime.
>
> Good Luck ;)
> -Ganesh K
>
> --
> Posted viahttp://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 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.

No comments:

Post a Comment