Shashank D. - sorry to divert the topic slightly but it is usefull to
keep the issues together.
OK so I found this page which was not easy to find
http://ferret.davebalmain.com/trac/wiki
and noticed this line
typed install gems
It made some fuss but did something.
Right so far I have had nothing come up in the browser- just a blank
page - sort of not very usefull if you have never seen any rails error
messages in the browser before…
I found that the
InstantRails-1.0\rails_apps\rforum-0.2\config\enviroment.rb differed
from the enviroment.rb in the cookbook the differences being that some
lines were # out, so I rashly hashed out the same lines in the rform
enviroment.rb
Now I am getting some errors in the browser which is better than a blank
screen!!
OK now I was getting a complaint about’navBar’in
InstantRails-1.0\rails_apps\rforum-0.2\app\controllers
so I # out the search in navBar since I guess we won’t need it if I am
going to set up the rforum without ferret.
def search
if RForum::CONFIG[:search] != :disabled
Item.new(l(:nav_search), {:controller => ‘forum’, :action =>
‘search’})
end
end
Sorry my approach may seem rather hacky but I am learning where things
are if nothing else.
Ok now the model is complaining about dependancies
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
const_missing' #{RAILS_ROOT}/app/models/post_vote.rb:5 (eval):5:in
has_many’
#{RAILS_ROOT}/app/models/user.rb:5
(eval):5:in belongs_to' #{RAILS_ROOT}/app/models/post.rb:16 (eval):5:in
has_many’
#{RAILS_ROOT}/app/models/topic.rb:3
(eval):5:in `has_many’
#{RAILS_ROOT}/app/models/forum.rb:2
#{RAILS_ROOT}/app/controllers/application.rb:9
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
const_missing' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
load’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in
require_or_load' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in
depend_on’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:30:in
associate_with' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:179:in
require_association’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:780:in
require_association_class' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:355:in
has_many_without_reflection’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
load' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in
require_or_load’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in
depend_on' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:30:in
associate_with’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:179:in
require_association' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:780:in
require_association_class’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:524:in
belongs_to_without_reflection' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
load’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in
require_or_load' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in
depend_on’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:30:in
associate_with' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:179:in
require_association’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:780:in
require_association_class' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:355:in
has_many_without_reflection’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
load' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in
require_or_load’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in
depend_on' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:30:in
associate_with’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:179:in
require_association' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:780:in
require_association_class’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:355:in
has_many_without_reflection' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
load’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in
require_or_load' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in
depend_on’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in
require_dependency' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/dependencies.rb:72:in
require_dependencies’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/dependencies.rb:70:in
require_dependencies' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/dependencies.rb:35:in
model’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
load' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in
require_or_load’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in
depend_on' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in
require_dependency’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:134:in
load_file!' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:97:in
const_load!’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in
const_load!' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:71:in
prepare_application’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:37:in
dispatch' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in
handle_dispatch’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in
service' D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in
service’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in run' D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/server.rb:173:in
start_thread’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/server.rb:162:in
start_thread' D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/server.rb:95:in
start’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/server.rb:92:in start' D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/server.rb:23:in
start’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/server.rb:82:in start' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in
dispatch’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
D:/aforum/INSTAN~1.0/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
require’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
D:/aforum/INSTAN~1.0/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
require’
script/server:3
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
const_missing' #{RAILS_ROOT}/app/models/post_vote.rb:5 D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
load’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in
require_or_load' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in
depend_on’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:30:in
associate_with' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:179:in
require_association’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:780:in
require_association_class' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:355:in
has_many_without_reflection’
(eval):5:in has_many' #{RAILS_ROOT}/app/models/user.rb:5 D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
load’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in
require_or_load' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in
depend_on’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:30:in
associate_with' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:179:in
require_association’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:780:in
require_association_class' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:524:in
belongs_to_without_reflection’
(eval):5:in belongs_to' #{RAILS_ROOT}/app/models/post.rb:16 D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
load’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in
require_or_load' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in
depend_on’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:30:in
associate_with' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:179:in
require_association’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:780:in
require_association_class' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:355:in
has_many_without_reflection’
(eval):5:in has_many' #{RAILS_ROOT}/app/models/topic.rb:3 D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
load’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in
require_or_load' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in
depend_on’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:30:in
associate_with' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:179:in
require_association’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:780:in
require_association_class' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/associations.rb:355:in
has_many_without_reflection’
(eval):5:in has_many' #{RAILS_ROOT}/app/models/forum.rb:2 D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
load’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in
require_or_load' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in
depend_on’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in
require_dependency' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/dependencies.rb:72:in
require_dependencies’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/dependencies.rb:70:in
require_dependencies' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/dependencies.rb:35:in
model’
#{RAILS_ROOT}/app/controllers/application.rb:9
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
load' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in
require_or_load’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in
depend_on' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in
require_dependency’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:134:in
load_file!' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:97:in
const_load!’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in
const_load!' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:71:in
prepare_application’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:37:in
dispatch' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in
handle_dispatch’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in
service' D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in
service’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in run' D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/server.rb:173:in
start_thread’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/server.rb:162:in
start_thread' D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/server.rb:95:in
start’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/server.rb:92:in start' D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/server.rb:23:in
start’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/1.8/webrick/server.rb:82:in start' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in
dispatch’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
D:/aforum/INSTAN~1.0/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
require’
D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
D:/aforum/INSTAN~1.0/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require' D:/aforum/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
require’
script/server:3
This error occured while loading the following files:
./script/…/config/…/app/controllers/application.rb
=> model forum.rb
forum.rb
topic.rb
post.rb
user.rb
post_vote.rb
error_raising.rb
Now I presume this might be since I have not got the database stuff
done?