Displaying 1 result from an estimated 1 matches for "wikiscontroller".
Did you mean:
wiki_controller
2007 Jul 22
4
single table inheritance problem
...hbtm
relationship.
- the wikis table is the sti one with a model PageWiki being extended
from Wiki (and the correspondig type column)
Following happens:
- server restart
- get :wikis, :show_pages
- in show_pages the first line says PageWiki.find(:all)
! Now I get the following error
LoadError in WikisController#list_pages
app/models/page_wiki.rb to define PageWiki // (it is of course defined
there )
If i call the page again everythings works as it should be and the the
error message never appears again until the server restarts
BUT !
When I now try to add categories to my wikis with
@wiki = Wiki.find(pa...