Conrad Taylor wrote:
> On Tue, Mar 17, 2009 at 5:29 PM, Enzo Rivello <
> [email protected]> wrote:
> 
>>
>>          <id>{qdg.selectedItem.id}</id>
>>      @question.save
>>
>> thanks a lot for reading
> 
> 
> Hi, the last two lines seem suspect because you're trying to delete and 
> save
> something.  For example,
> 
> def destroy_question_xml
>    if params[:question][:id][:value]
>      @question = Question.find(params[:question][:id][:value])
>      @question.destroy
>      @question.save
>    end
> end
> 
> Thus, I would recommend checking your logic.
> 
> Good luck,
> 
> -Conrad

yeah, that was a problem, but not the resolution.

i got many classes with this kind of class(of course, without the logic 
error) , and all of them works in local, don't works on the production 
server.

anyway, thanks a lot for the reply!
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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