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 ! -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/831aoFBv4cUJ. For more options, visit https://groups.google.com/groups/opt_out.
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
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 <tommaso.visconti-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> 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<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<rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@**googlegroups.com<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit https://groups.google.com/**groups/opt_out<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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
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 ! On Tuesday, October 30, 2012 12:38:36 PM UTC+1, Luis Vasconcellos wrote:> > 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 <tommaso....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>> > >> 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<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 rubyonra...@googlegroups.**com<javascript:> >> . >> To unsubscribe from this group, send email to rubyonrails-ta...@** >> googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/**groups/opt_out<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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/aa7vCmebgT4J. For more options, visit https://groups.google.com/groups/opt_out.