similar to: The two methods of handling deleted records. Standards?

Displaying 20 results from an estimated 2000 matches similar to: "The two methods of handling deleted records. Standards?"

2005 Aug 09
12
Eclipse with RDT
Has anyone used Eclipse with RDT (http://wiki.rubyonrails.com/rails/show/RubyDevelopmentTools)? I have never used Eclipse. Would it be worth my time to setup Eclipse with RDT to create my first rails project?
2005 Aug 19
13
Enumerations (again): Comments please
Some of my earlier questions may have hinted ever so slightly in the direction that I''m trying to implement "enumerations". By an enumeration here I mean a class that has a fixed number of immutable instances, which in turn have essentially only a name and a position. Requirements I''ve tried to meet are - Enumeration instances should only be loaded once from the
2005 Aug 16
3
Rails Docs in CHM format
Hi Folks, For the Windows Railers, I''ve made the Rails docs available as a CHM file: http://dema.ruby.com.br/articles/2005/08/16/rails-docs-in-chm-format Cheers, Dema -- http://dema.ruby.com.br - Rails from a .NET perspective
2005 Sep 03
13
acts_as_taggable v2 - Tagging on Steroids
Hi folks, Thanks to the community feedback on the 1st version, I''ve come up with a much improved version of the acts_as_taggable mixin. ThereĀ“s some piece of the action here: http://dema.ruby.com.br/articles/2005/09/03/tagging-on-steroids-with-rails Cheers Dema -- http://dema.ruby.com.br - Rails from a .NET perspective
2005 Nov 15
1
acts_as_paranoid --> undefined method `constrain' for class `Class'
Hi All, So I thought I had this acts_as_paranoid problem previously and fixed by going to rails 0.14.2, although I''m not 100% it was the same thing. I''m now on rails 0.14.3 and I''m getting: undefined method `constrain'' for class `Class'' for any model that includes acts_as_paranoid. My application trace is below. Has anyone else got this and know a
2005 Nov 03
12
Installation of plugins/gems/mix-ins confusion
I''m running 0.14.2 and am a little confused as to the best way to install mix-ins. I''m specifically using "acts_as_paranoid" as an example (as it is one of the simpler implementations). It is a gem and can be "installed" as a gem, but then what''s the best way to integrate it into my app (require_gem?). I''ve seen recommendations to require it
2006 Jun 01
4
VT-ready workstation for SuSE10.1/Xen and Windows
I''m wondering if the new Dell Precision 490 workstation is/looks to be VT-ready, planning it for SuSE10.1/Xen and unmodifies Windows guest? From the system specs: 1-2 Dual-Core Intel Xeon 5000 series 64-bit processors Intel 5000X chipset Windows XP/Vista or Redhat EWS4 Linux
2006 Mar 14
2
acts_as_paranoid and :include
Will the find from acts_as_paranoid filter down to an :include? For instance class parent acts_as_paranoid has_many: children end and class child acts_as_paranoid belongs_to :parent end Then if you Parent.find(:all, :include => children) you will get all the children if they are deleted or not. I guess the find that filters out the deleted_at is null does not filter down to the includes
2005 Dec 11
4
Problem with acts_as_paranoid: "ArgumentError: Unknown key(s): group"
Here''s the full error: 1) Error: test_add_message_to_existing_ticket(TicketTest): ArgumentError: Unknown key(s): group /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_support/core_ext/hash/keys.rb:48:in `assert_valid_keys'' /usr/lib/ruby/gems/1.8/gems/acts_as_paranoid-0.2/lib/acts_as_paranoid.rb:125:in `validate_find_options''
2009 Oct 27
5
Re-tasking destroy contoller action...is this bad practice?
I''m trying to get some opinions on a design I''m floating ("rails way" or not?). Say I''ve got an Author model in my Blog application and I want my administrators to be able to disable authors. I don''t want to delete authors because this would cause data integrity issues (orphaned Author foreign key in the Post model). So my plan is to re- task the
2006 Feb 22
2
Filtering all find methods so expired records not returned
Is there a way to filter all finder methods on a model so that all records where the expired column=1 are not returned?? Thanks Chris -- Posted via http://www.ruby-forum.com/.
2008 Sep 25
1
Will acts_as_paranoid work with attachment_fu?
I''ve got a problem in that users are deleting a paranoid model through the application, including dependents. Some of these dependents are paranoid too, but not the attachments. (I''m using DB file storage.) I need to be able to un-delete these things and I''m now wondering if acts_as_paranoid will work with models that use attachment_fu? If so, in what model to I add the
2006 May 20
1
acts_as_paranoid overrides ActiveRecord::Base??
Guys, I am trying to figure out what exactly does this line do at the end of "acts_as_paranoid" plugin? ActiveRecord::Base.send :include, Caboose::Acts::Paranoid::ActiveRecord My problem: I have some classes that I use acts_as_paranoid, and others with tagging support. Classes declared as taggable, throw error, which appears to be in the acts_as_paranoid version of the
2006 May 18
5
Overriding default DELETE behavior with logical deletes
Hello! I am trying to figure out how to implement *logical deletes* instead of physical deletes using ActiveRecord. Basically, in many applications that deal with E-Commerce, you really can''t physically delete almost anything, because records must be kept for auditing and customer service tracking purposes. In the past, I''ve implemented logical deletes as follows: 1.
2016 Oct 13
3
Samba4 replication not working
Am 13.10.2016 um 16:54 schrieb lingpanda101 at gmail.com: > On 10/13/2016 10:37 AM, Ronny Forberger wrote: >> >> Am 13.10.2016 um 16:28 schrieb lingpanda101 at gmail.com: >>> On 10/13/2016 10:19 AM, Ronny Forberger wrote: >>>> Am 12.10.2016 um 20:17 schrieb lingpanda101--- via samba: >>>>> On 10/12/2016 1:57 PM, Ronny Forberger via samba wrote:
2006 Jan 16
5
Soft Deletes
How would I go about setting up my rails applications to soft delete items from the database rather than actually deleting it. I would imagine that I need to over ride the methods from ActiveRecord. Where would I do this would it be in the model? enviroment.rb? I would imagine that if i wanted it throughout my entire application it would need to be in the enviroment.rb. Also to
2006 Mar 22
15
Rails-1.1.0-RC1 tagged today (4010)
Looks like Rails 1.1.0 RC1 is finally here: http://dev.rubyonrails.org/changeset/4010 -- Posted via http://www.ruby-forum.com/.
2007 Jan 08
2
Two problems with Acts_as_paranoid
Hi, I''ve run into two small problems with acts_as_paranoid and wondered if anyone else has experienced them as well (and if yes, if they have any solutions). 1. When using has_many :through, AAP doesn''t seem to take into account the fact that your join model might also be paranoid. My solution to this at the moment is to add an explicit conditions clause to the has_many
2016 Nov 15
4
Home shares on Domain controller
Hi, I don't get the home shares thingy on domain controllers. I have a share [homes] browseable = yes writeable = yes path = /home readonly = no valid users = %S But when I want to access \\dc1\rf I get unknown network error in Windows. What could I do to get the home shares of users under /home working? Best regards, Ronny ___________________________________ Ronny Forberger
2016 Oct 13
2
Samba4 replication not working
Am 13.10.2016 um 16:28 schrieb lingpanda101 at gmail.com: > On 10/13/2016 10:19 AM, Ronny Forberger wrote: >> >> Am 12.10.2016 um 20:17 schrieb lingpanda101--- via samba: >>> On 10/12/2016 1:57 PM, Ronny Forberger via samba wrote: >>>> Hi, >>>> >>>> I get the following error when I am trying to check the replication >>>>