I know it might seem like I am repeating myself but I can’t seem to
find the solution to my problem. I am trying to run edge rails using
“rake freeze_edge” and every time I do that my application stops to
work. I get an error on every page. I get a “uninitialized constant
modelname” error where modelname is the object being created for that
view
Has anyone ever seen this with edge? Your help would be greatly
appreciated :-).
I pasted the full trace just in case that would help:
./script/…/config/…/vendor/rails/activesupport/lib/active_support/
dependencies.rb:110:in const_missing' ./script/../config/../vendor/rails/activesupport/lib/active_support/ dependencies.rb:137:in
const_missing’
./script/…/config/…/vendor/rails/activesupport/lib/active_support/
dependencies.rb:139:in send' ./script/../config/../vendor/rails/activesupport/lib/active_support/ dependencies.rb:139:in
const_missing’
#{RAILS_ROOT}/app/controllers/notes_controller.rb:6:in view' ./script/../config/../vendor/rails/actionpack/lib/action_controller/ base.rb:887:in
send’
./script/…/config/…/vendor/rails/actionpack/lib/action_controller/
base.rb:887:in perform_action_without_filters' ./script/../config/../vendor/rails/actionpack/lib/action_controller/ filters.rb:355:in
perform_action_without_benchmark’
./script/…/config/…/vendor/rails/actionpack/lib/action_controller/
benchmarking.rb:69:in perform_action_without_rescue' ./script/../config/../vendor/rails/actionpack/lib/action_controller/ benchmarking.rb:69:in
measure’
./script/…/config/…/vendor/rails/actionpack/lib/action_controller/
benchmarking.rb:69:in perform_action_without_rescue' ./script/../config/../vendor/rails/actionpack/lib/action_controller/ rescue.rb:82:in
perform_action’
./script/…/config/…/vendor/rails/actionpack/lib/action_controller/
base.rb:359:in send' ./script/../config/../vendor/rails/actionpack/lib/action_controller/ base.rb:359:in
process_without_filters’
./script/…/config/…/vendor/rails/actionpack/lib/action_controller/
filters.rb:364:in process_without_session_management_support' ./script/../config/../vendor/rails/actionpack/lib/action_controller/ session_management.rb:117:in
process’
./script/…/config/…/vendor/rails/railties/lib/dispatcher.rb:38:in
dispatch' ./script/../config/../vendor/rails/railties/lib/webrick_server.rb: 117:in
handle_dispatch’
./script/…/config/…/vendor/rails/railties/lib/webrick_server.rb:
83:in service' /opt/local/lib/ruby/1.8/webrick/httpserver.rb:104:in
service’
/opt/local/lib/ruby/1.8/webrick/httpserver.rb:65:in run' /opt/local/lib/ruby/1.8/webrick/server.rb:155:in
start_thread’
/opt/local/lib/ruby/1.8/webrick/server.rb:144:in start' /opt/local/lib/ruby/1.8/webrick/server.rb:144:in
start_thread’
/opt/local/lib/ruby/1.8/webrick/server.rb:94:in start' /opt/local/lib/ruby/1.8/webrick/server.rb:89:in
each’
/opt/local/lib/ruby/1.8/webrick/server.rb:89:in start' /opt/local/lib/ruby/1.8/webrick/server.rb:79:in
start’
/opt/local/lib/ruby/1.8/webrick/server.rb:79:in start' ./script/../config/../vendor/rails/railties/lib/webrick_server.rb: 69:in
dispatch’
./script/…/config/…/vendor/rails/railties/lib/commands/servers/
webrick.rb:59
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:18:in
require__' /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:18:in
require’
./script/…/config/…/vendor/rails/activesupport/lib/active_support/
dependencies.rb:153:in require' ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28 script/server:3:in
require’
script/server:3
John K.
http://www.kopanas.com
=====================================================================
http://www.soen.info - source of the freshest software engineering
information on the net
http://cusec.soen.info - software engineering conference