Ruby on Rails Friday, April 30, 2010

I think only two lines could cause this

>     @echantillon.set_eros_values

>       if @echantillon.save

Which line does it say the error comes from in your output?

You could write some

Rails.logger.debug "Hi, this is the current status:
#{@echantillon.inspect}"

between every line and then watch your logs/development.log to see
where exactly it breaks.

I would guess on set_eros_values (whatever that function is supposed
to do :)

--
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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment