Hi Alex,
I think so. I''ve installed syntax and redcloth, but there seems to be a
problem with the primary key field ''name'' (see below)
*** LOCAL GEMS ***
actionmailer (1.1.5)
Service layer for easy email delivery and testing.
actionpack (1.11.2)
Web-flow and rendering framework putting the VC in MVC.
actionwebservice (1.0.0)
Web service support for Action Pack.
activerecord (1.13.2)
Implements the ActiveRecord pattern for ORM.
activesupport (1.2.5)
Support and utility classes used by the Rails framework.
acts_as_versioned (0.2.3)
Simple versioning with active record models
cmdparse (2.0.0)
Advanced command line parser supporting commands
ferret (0.3.2)
Ruby indexing library.
fxri (0.3.2)
Graphical interface to the RI documentation, with search engine.
fxruby (1.4.3)
FXRuby is the Ruby binding to the FOX GUI toolkit.
highline (1.0.1)
HighLine is a high-level line oriented console interface.
rails (1.0.0)
Web-application framework with template engine, control-flow layer,
and ORM.
rake (0.6.2)
Ruby based make-like utility.
RedCloth (3.0.3)
RedCloth is a module for using Textile and Markdown in Ruby. Textile
and Markdown are text formats. A very simple text format. Another
stab at making readable text that can be converted to HTML.
scgi_rails (0.4.3)
SCGI Rails Runner -- A complete SCGI for Rails (and others)
sources (0.0.1)
This package provides download sources for remote gem installation
syntax (1.0.0)
Syntax is Ruby library for performing simple syntax highlighting.
-------------------
The set_primary_key ''name'' seems to have no effect in my
configuration
(windows server 2003, ruby 1.8.2, rails 1.0):
Mysql::Error: Unknown column ''id'' in ''where
clause'': SELECT * FROM nodes WHERE (parent_name = ''''
AND id != Test) ORDER BY position DESC LIMIT 1
RAILS_ROOT: ./script/../config/..
Application
Trace | Framework
Trace | Full
Trace
e:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract_adapter.rb:88:in
`log''
e:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:180:in
`execute''
e:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:322:in
`select''
e:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:171:in
`select_all''
e:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:431:in
`find_by_sql''
e:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:395:in
`find''
e:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:393:in
`find''
e:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/acts/list.rb:178:in
`bottom_item''
e:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/acts/list.rb:171:in
`bottom_position_in_list''
e:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/acts/list.rb:182:in
`assume_bottom_position''
e:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/acts/list.rb:104:in
`move_to_bottom''
e:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/acts/list.rb:102:in
`transaction''
e:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:91:in
`transaction''
e:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/acts/list.rb:102:in
`move_to_bottom''
#{RAILS_ROOT}/app/models/wiki/node.rb:21:in `parent=''
#{RAILS_ROOT}/app/models/wiki/node.rb:20:in `transaction''
#{RAILS_ROOT}/app/models/wiki/node.rb:20:in `parent=''
#{RAILS_ROOT}/app/models/wiki/b_prime_tree.rb:157:in `add_single_child''
#{RAILS_ROOT}/app/models/wiki/b_prime_tree.rb:189:in `insert''
#{RAILS_ROOT}/app/models/wiki/b_prime_tree.rb:231:in `update_tree''
#{RAILS_ROOT}/app/models/wiki/b_prime_tree.rb:227:in `block_callbacks''
#{RAILS_ROOT}/app/models/wiki/b_prime_tree.rb:227:in `update_tree''
#{RAILS_ROOT}/app/controllers/wiki/processor/instruction_set.rb:147:in
`update_context''
#{RAILS_ROOT}/app/controllers/wiki/processor/instruction_set.rb:144:in
`transaction''
#{RAILS_ROOT}/app/controllers/wiki/processor/instruction_set.rb:144:in
`update_context''
#{RAILS_ROOT}/app/controllers/wiki/page_controller.rb:127:in `new''
#{RAILS_ROOT}/app/controllers/wiki/wiki_actions.rb:4:in `new''
Regards
Jan Prill
Alexander Horn wrote:
Neither parent_name nore the lft and rgts of the tree get adjusted. Do
you have anything like this experienenced or got any idea why this is
happening?
No I have not. I am wondering what''s wrong. Are you sure you have all
the dependencies?
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails