Dear rails developpers Im build a new adapter (mongo) I need to override this:
# Deletes the record in the database and freezes this instance to reflect that no changes should # be made (since they can't be persisted). def destroy unless new_record? connection.delete( "DELETE FROM #{self.class.quoted_table_name} " + "WHERE #{connection.quote_column_name (self.class.primary_key)} = #{quoted_id}", "#{self.class.name} Destroy" ) end freeze end I tried (As I see on the web) to override it with destroy_without_callbacks, but didn't work. Any suggestion? Thanks! --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---