500 Internal Server Error

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 !

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)

Thank you for the reply :slight_smile:

The problem occurred after a “bundle update” and we did not check what
got
updated…
The problem comes from
GitHub - DavyJonesLocker/client_side_validations: Client Side Validations made easy for Ruby on Rails, 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 !

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 D. 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 V. [email protected]