Ruby on Rails Tuesday, October 30, 2012

Yes, it is only a text area option, and also the second parameter that a text_field accepts it's the prompt value (default value) of the field, and that second parameter needs to be a string.


Luis Va
sconcellos | Web Developer at DTM

wblog:  luisvasconcellos.com
twitter: @vasconcelloslf

mobile: 55 21 95100576

http://dtmtec.com.br




2012/10/30 Tommaso Visconti <tommaso.visconti@gmail.com>
Il 29/10/12 17:14, Nomosyn ha scritto:
Hello !

ruby 1.9.2p323 (2012-05-22 revision 35755) [x86_64-darwin11.4.0]

Well... I get stuck on this error <https://gist.github.com/3974521>, and
don't know what to do with it...

Thank you for the hand !

maybe "rows: 1", it isn't an option for text_field (but for textarea)

--
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 https://groups.google.com/groups/opt_out.



--
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 https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment