Bruno,
thanks for your help with this.
I appreciate your efforts.
I moved my controllers back to RR/app/controllers.
I replaced vendor/plugins/community_engine with edge.
I now see this:
Fri Nov 27 13:52 /pt/c/vendor/plugins/community_engine maco$
Fri Nov 27 13:52 /pt/c/vendor/plugins/community_engine maco$
Fri Nov 27 13:52 /pt/c/vendor/plugins/community_engine maco$
Fri Nov 27 13:52 /pt/c/vendor/plugins/community_engine maco$ git log
-1
git log -1
commit c101028c576e1552184b8463cd5f38dac2b65473
Author: bborn <
bruno.bo...@gmail.com>
Date: Fri Nov 20 11:16:40 2009 -0600
fix install template
Fri Nov 27 13:52 /pt/c/vendor/plugins/community_engine maco$ git br
* edge
master
Fri Nov 27 13:52 /pt/c/vendor/plugins/community_engine maco$
Fri Nov 27 13:52 /pt/c/vendor/plugins/community_engine maco$
Fri Nov 27 13:52 /pt/c/vendor/plugins/community_engine maco$
Fri Nov 27 13:52 /pt/c/vendor/plugins/community_engine maco$
Then I did this:
Fri Nov 27 13:33 /pt/c maco$
Fri Nov 27 13:33 /pt/c maco$
Fri Nov 27 13:33 /pt/c maco$
Fri Nov 27 13:34 /pt/c maco$ script/generate plugin_migration
/Users/maco/pt/webprops/c1cme/c10/vendor/gems/rack-1.0.1/lib/rack/
utils.rb:29: warning: already initialized constant DEFAULT_SEP
/Users/maco/pt/webprops/c1cme/c10/vendor/gems/rack-1.0.1/lib/rack/
utils.rb:285: warning: already initialized constant HTTP_STATUS_CODES
/Users/maco/pt/webprops/c1cme/c10/vendor/gems/rack-1.0.1/lib/rack/
utils.rb:289: warning: already initialized constant
STATUS_WITH_NO_ENTITY_BODY
/Users/maco/pt/webprops/c1cme/c10/vendor/gems/rack-1.0.1/lib/rack/
utils.rb:296: warning: already initialized constant EOL
---
[COMMUNITY ENGINE] You have 2 pending CommunityEngine migrations:
CE is at 72, but you have only migrated it to 70
Please run 'script/generate plugin_migration' AND 'rake db:migrate'
before continuing, or you will experience errors.
---
exists db/migrate
create db/migrate/
20091127213504_community_engine_to_version_72.rb
Fri Nov 27 13:35 /pt/c maco$
Fri Nov 27 13:35 /pt/c maco$
Fri Nov 27 13:35 /pt/c maco$
Fri Nov 27 13:35 /pt/c maco$
Fri Nov 27 13:35 /pt/c maco$
Fri Nov 27 13:35 /pt/c maco$
Fri Nov 27 13:35 /pt/c maco$
Fri Nov 27 13:35 /pt/c maco$
Fri Nov 27 13:35 /pt/c maco$
Fri Nov 27 13:35 /pt/c maco$
Fri Nov 27 13:35 /pt/c maco$ ll db/migrate/
20091127213504_community_engine_to_version_72.rb
-rw-r--r-- 1 maco staff 196 Nov 27 13:35 db/migrate/
20091127213504_community_engine_to_version_72.rb
Fri Nov 27 13:35 /pt/c maco$
Fri Nov 27 13:35 /pt/c maco$ cat db/migrate/
20091127213504_community_engine_to_version_72.rb
class CommunityEngineToVersion72 < ActiveRecord::Migration
def self.up
migrate_plugin(:community_engine, 72)
end
def self.down
migrate_plugin(:community_engine, 70)
end
end
Fri Nov 27 13:36 /pt/c maco$
Fri Nov 27 13:36 /pt/c maco$
Fri Nov 27 13:36 /pt/c maco$
Fri Nov 27 13:36 /pt/c maco$
Fri Nov 27 13:36 /pt/c maco$
Fri Nov 27 13:36 /pt/c maco$
Fri Nov 27 13:36 /pt/c maco$
Fri Nov 27 13:36 /pt/c maco$
Fri Nov 27 13:36 /pt/c maco$
Fri Nov 27 13:36 /pt/c maco$
Fri Nov 27 13:36 /pt/c maco$ rake db:migrate
rake db:migrate
(in /Users/maco/pt/webprops/c1cme/c10)
== CommunityEngineToVersion72: migrating
=====================================
== AuthlogicCompatibilityChanges: migrating
==================================
-- change_column(:users, :crypted_password, :string, {:limit=>255})
-> 0.1791s
-- change_column(:users, :salt, :string, {:limit=>255})
-> 0.1777s
-- rename_column(:users, :salt, :password_salt)
-> 0.0874s
-- rename_column(:users, :remember_token, :persistence_token)
-> 0.1886s
-- remove_column(:users, :remember_token_expires_at)
-> 0.0880s
-- change_table(:users)
-> 0.0052s
-- add_index(:users, :login)
-> 0.0004s
-- add_index(:users, :persistence_token)
-> 0.0003s
-- add_index(:users, :last_request_at)
-> 0.0003s
== AuthlogicCompatibilityChanges: migrated (0.7278s)
=========================
== AddAllowRsvpToEvents: migrating
===========================================
-- add_column(:events, :allow_rsvp, :boolean, {:default=>true})
-> 0.0006s
== AddAllowRsvpToEvents: migrated (0.0007s)
==================================
== CommunityEngineToVersion72: migrated (1.2440s)
============================
Fri Nov 27 13:37 /pt/c maco$
Fri Nov 27 13:37 /pt/c maco$
Fri Nov 27 13:37 /pt/c maco$
Fri Nov 27 13:37 /pt/c maco$
Fri Nov 27 13:37 /pt/c maco$
Fri Nov 27 13:44 /pt/c maco$
Fri Nov 27 13:44 /pt/c maco$
Fri Nov 27 13:44 /pt/c maco$
Fri Nov 27 13:44 /pt/c maco$
Fri Nov 27 13:44 /pt/c maco$ script/server --debugger
=> Booting Mongrel
=> Rails 2.3.4 application starting on
http://0.0.0.0:3000
/Users/maco/pt/webprops/c1cme/c10/vendor/gems/rack-1.0.1/lib/rack/
mime.rb:201: warning: already initialized constant MIME_TYPES
=> Debugger enabled
=> Call with -d to detach
=> Ctrl-C to shutdown server
SQL (3.4ms) SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
SQL (1.5ms) SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
Processing ApplicationController#prompt4post (for 127.0.0.1 at
2009-11-27 13:45:44) [GET]
NoMethodError (undefined method `acts_as_authentic' for #<Class:
0x3f6108c>):
I'm looking for any clues on how to fix this error:
NoMethodError (undefined method `acts_as_authentic' for #<Class:
0x3f6108c>):
Thanks,
--Audrey
On Nov 27, 7:23 am, Bruno Bornsztein <
bruno.bornszt...@gmail.com>
wrote:
> Sorry, that's really not the best approach. This has been discussed in many
> threads before (and it's fixed in edge), but the right way to work around
> this is to use an initializer:
>
>
http://gist.github.com/216991
>
> Moving all the CE controllers to your app directory is not the correct way
> to solve this problem.
>
> Thanks,
> Bruno
>