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 !
on 2012-10-30 12:27
on 2012-10-30 12:36
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)
on 2012-10-30 12:39
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 <http://www.twitter.com/vasconcelloslf> mobile: 55 21 95100576 http://dtmtec.com.br <http://www.dtmtec.com.br> @dtmtec <http://www.twitter.com/dtmtec> 2012/10/30 Tommaso Visconti <firstname.lastname@example.org>
on 2012-11-03 19:16
Thank you for the reply :-) The problem occurred after a "bundle update" and we did not check what got updated... The problem comes from https://github.com/bcardarella/client_side_validations, a plugin that we used. Here is the problem : with the ":validate => true", "f" seemed to expect fields *post-*"bundle update" that it did not check *pre-*"bundle update". So i removed ":validate => true" from the following code <%= form_for([@grade,@tree,@knowledge_cell], :validate => true ) do |f| %> ... <% end %> And it worked... this solution is more about suppressing the problem that to solve it properly... Should check the repo !