acts_as_archive
acts_as_archive copied to clipboard
Don't delete your records, move them to a different table
Hello, I m getting method_missing for 'devise' method error when i try to archive a class which belongs to another devise class. When i comment out the association line everything...
This is a repeat of issue #21 i think, but whenever i click on that issue, i get a 404 from github. I am using rails 3.1 with ruby-1.9.2 with...
Hi, I'm seeing this issue both in our app as well as in the acts_as_archive test suite after porting it to work with Rails 3.1. The delete_sql alias is never...
I am getting the following error when trying to run migrate for the first time. ``` undefined method `devise' for # /Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/activerecord-3.1.0/lib/active_record/base.rb:1082:in `method_missing' /Users/karl/workspace/viewthespace/app/models/user.rb:4:in `' /Users/karl/workspace/viewthespace/app/models/user.rb:1:in `' /Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:456:in `load' /Users/karl/.rvm/gems/ruby-1.9.2-p290@viewthespace/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:456:in...
Hi, I have the most recent version of the gem installed and it is working. However, my Rails Console tells me there are 10(!) identical "INSERT INTO archived_my_table ~~~" statements...
Line 49 in acts_as_archive.rb swallows exceptions: ```klass = eval(klass) rescue nil `````` I noticed this when I had problems getting my models to work with acts_as_archive. I found out the...
I get the following error: AlsoMigrate error: PGError: ERROR: syntax error at or near "LIKE" LINE 2: LIKE emails; ^ : CREATE TABLE archived_emails LIKE emails; /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/abstract_adapter.rb:221:in `log' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/postgresql_adapter.rb:520:in`execute'
Hello, I was trying to find out why rake db:migrate wouldn't create any new tables even though I had the yaml config file specified correctly. I found out you are...
``` class Comment < ActiveRecord::Base belongs_to :item, :polymorphic => true end ``` when i run db:migrate -t it gives *\* Invoke db:migrate (first_time) *\* Invoke environment (first_time) *\* Execute environment...