[Instiki] integrating Instiki

Christophe Bouhier christophe at kualasoft.com
Fri Dec 21 07:48:14 EST 2007


Hello, 

Made some more progress with migration to Rails 1.2.5 (Which kind of tells
you if it will run in 2.x). 
Now there was this error: "Superclass mistmatch for class WikiReference". 
Looking through the code, I found to definitions of WikiReference class,
which explains the error: 

In lib\chunks\wiki.rb

	class WikiReference < Chunk::Abstract

In models\wiki_reference.rb

	class WikiReference < ActiveRecord::Base

So why older rails version is not bothered, no idea? 
I will try to solve this, and provide the solution here. 

Cheers / Christophe



-----Original Message-----
From: jpodder at augustine.hostingrails.com
[mailto:jpodder at augustine.hostingrails.com] On Behalf Of wandering
Sent: Monday, December 17, 2007 21:02
To: Instiki-users
Subject: Re: [Instiki] integrating Instiki

In addition to my issue with no longer being able to access my router
through my web browser at 198.162.1.1 since installing instiki, I was
wondering further more why not compile it into a secondary standaloine
package for the varying OS's, which could then be easily patched or even
automatically updated?

Christophe Bouhier wrote:
>
> Hello,
>
> I succesfully integrated Instiki into another web-app, which will also 
> enhance the functionality of instiki with things, like author login.
>
> Author model, which will extend a generic User model.
>
> Now, as I needed another plugin for authentication 
> (restful_authentication), I upgraded my rails version 2.0.1, which 
> then broke instiki.
>
> I am now going through the rails release notes, to find out what is 
> wrong, but while doing this. I am also wondering, why the
>
> instiki code, can't be a plugin, which would be kept compatible with 
> rails releases?
>
> Is this something feasible?
>
> On a more direct request, when using instiki code with rails 2.0.1, I 
> get a:
> noMethodError on the method: connect_To_Model in application.rb.
>
> Any ideas?
>
> thanks, Christophe Bouhier
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> Instiki-users mailing list
> Instiki-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/instiki-users

_______________________________________________
Instiki-users mailing list
Instiki-users at rubyforge.org
http://rubyforge.org/mailman/listinfo/instiki-users



More information about the Instiki-users mailing list