yes and no - im not calling delete 'manually' nor do i have coded it
into the create method. to me it seems the rollback is doing this, as
far as i can trace back the code.
anyhow - thx



On Fri, May 20, 2011 at 12:49 PM, Colin Law <[email protected]> wrote:
> On 20 May 2011 08:33, tom <[email protected]> wrote:
>> hi,
>>
>> here are the missing info:
>>
>>
>> Processing FeedbacksController#create (for 78.42.xyz.xyz at 2011-05-20
>> 09:26:51) [POST]
>>  Parameters: {"commit"=>"Send",
>> "authenticity_token"=>"2HzCbBM0J1SfEwIHP/GucR+HPs3fM31ts69llwkQDNc=",
>> "feedback"=>{"comment"=>"test", "subject"=>"Suggestion",
>> "email"=>"[email protected]"}, "_"=>""}
>> Sent mail to [email protected]
>>
>>
>> NoMethodError (undefined method `delete' for nil:NilClass):
>>  app/controllers/feedbacks_controller.rb:22:in `create'
>
> The clue is in the error message.  At the above line you are
> presumably calling delete, though that seems a bit odd in create.  The
> object you are calling delete on is nil.
>
> Colin
>
> --
> 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 [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to