Ruby on Rails Monday, June 2, 2014

On 2 June 2014 13:36, Fab Forestier <lists@ruby-forum.com> wrote:
> My question is maybe silly but I have a text_field_tag define like this
> in my code:
>
> <%= text_field_tag("repcarte", @reperecarte ,:class => "input
> colonnetab")%>
>
> Using this I thought that when in my application I will size some text
> in the text_field then my variable @reperecarte will contain the sized
> text but it's not the case.
>
> Can someone explain me what is missing?

What is missing is that you still have not understood some of the
basics of rails, and the answer is to do what I have suggested on
several occasions which is to work right through a good tutorial such
as railstutorial.org (including doing all the exercises).

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvf5CztVTxTv-aKc34fwTvfdw%3DGzhHjxRgZZc0PahDxRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment