I am tossed an error by errormailer every time a new record is saved to
my ''referral_notes'' model. The record is saved and the problem
is simply
the informational error message that I am sent but I don''t get this
type
of thing happening anywhere else in my application.
This is the error reported by ErrorMailer...
Message
undefined method `stringify_keys!''
for #
Location
/referral_notes/create?commit+Create+&referral_note=noteT%2FC
+from+BPI+re+Ct+status.+Per+Eulene%
2C+Ct+is+currently+at+the+Biltmore
+completing+paperwork+and+the%0D%
0Ateam+is+requesting+that+Ct+move+in
+9%2F28%2F07.+Spoke+with+PC+who
+confirmed+that+Ct+may+move+in+9%
2F28%2F07.%0D%0AFaxed+acceptance+to
+BPI+this
+date.+note_date2007-09-27&placement_id=779
Action
create
Controller
referral_notes
Query
commit=+Create+&referral_note=noteT%
2FC+from+BPI+re+Ct+status.+Per
+Eulene%2C+Ct+is+currently+at+the
+Biltmore+completing+paperwork+and
+the%0D%0Ateam+is+requesting+that+Ct
+move+in+9%2F28%2F07.+Spoke+with+PC
+who+confirmed+that+Ct+may+move+in
+9%2F28%2F07.%0D%0AFaxed+acceptance
+to+BPI+this
+date.+note_date2007-09-27&placement_id=779
Method
GET
[:referral_note][:note] field is a text_area field but obviously each
individual work is strung together.
The view code looks like this...
<%= start_form_tag :action => ''create'',
:placement_id => params[:placement_id] %>
<td><%= toolbocks_date_select(''referral_note'',
''note_date'') %></td>
<td><%= text_area ''referral_note'',
''note'',
:rows => ''4'', :columns =>
''256'' %></td>
<div align="center"><hr><%= submit_tag ''
Create '' %>
<%= end_form_tag %></div>
and the place in the controller code (very benign) where this
ErrorMailer message is generated is
def create
@referral_note = ReferralNote.new(params[:referral_note])
...
end
What am I missing?
--
Craig White <craig-CnJ8jr4MGtxl57MIdRCFDg@public.gmane.org>
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---