Forum: Ruby on Rails Debug on form submission

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4710a8ada2adc162aaee4288d9879d8e?d=identicon&s=25 Gerard (Guest)
on 2006-01-08 13:31
(Received via mailing list)
Hi all,

Can I increase logging so that all vars, form id's, hashes and what not
are
visible on a form submit?

I know there's IRB, but I don't know what I'm looking for, so not what
to dig
up from the console either.

Among other thing info related to AR, since this is something I run
into:

Mysql::Error: Duplicate entry '0' for key 1: INSERT INTO
project_contacts
(`project_id`, `company_name`, `first_name`, `last_name`) VALUES(0, '',
'',
'')

Thanx a lot.

Regards,

Gerard.
--
"Who cares if it doesn't do anything?  It was made with our new
Triple-Iso-Bifurcated-Krypton-Gate-MOS process ..."

My $Grtz =~ Gerard;
~
:wq!
This topic is locked and can not be replied to.