This is very bizarre, particularly because no "show" method is ever called in any files that have to do with Haml::Precompiler::Line, let alone on line 178.
I think the best I can do now is to suggest that you try removing things until the issue goes away and then figure out what exactly you removed that seems to be causing it, then tar up the smallest application you can make that still has the issue and send it to me. On Fri, Jul 23, 2010 at 9:46 AM, rubytastic <[email protected]> wrote: > Nobody some clues? > > On Jul 23, 7:55 am, rubytastic <[email protected]> wrote: > > NoMethodError in Home#index > > > > Showing app/views/home/index.html.haml where line # raised: > > > > undefined method `show' for #<Haml::Precompiler::Line:0x1063504d8> > > This is the full trace, > > Perhaps Its an idea if caused by haml to have more meaningfull error > > messages.. > > Around line # is not very handy, > > Does around line # refers something special in haml? > > I suspect some file corruption only nothing seems to be found in my > > app folder not by disk util, diskwarrior > > > > Extracted source (around line #): > > > > RAILS_ROOT: /Users/pascal/Desktop/Actus/apache2/rubydocs/portal > > Application Trace | Framework Trace | Full Trace > > > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/haml/precompiler.rb:178:in `precompile' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/haml/engine.rb:121:in `initialize' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/haml/template/plugin.rb:29:in `new' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/haml/template/plugin.rb:29:in `compile' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/ > > template_handler.rb:11:in `call' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/ > > renderable.rb:19:in `compiled_source' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/ > > renderable.rb:68:in `compile!' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/ > > renderable.rb:61:in `compile' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/ > > renderable.rb:28:in `render_without_active_scaffold' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/ > > template.rb:205:in `render_template' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb: > > 265:in `render_without_active_scaffold' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb: > > 348:in `_render_with_layout' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb: > > 262:in `render_without_active_scaffold' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > base.rb:1250:in `render_for_file' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > base.rb:936:in `render_without_benchmark' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > benchmarking.rb:51:in `render_without_active_scaffold' > > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/ > > core_ext/benchmark.rb:17:in `ms' > > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/ > > core_ext/benchmark.rb:17:in `ms' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > benchmarking.rb:51:in `render_without_active_scaffold' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > base.rb:1326:in `default_render' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > base.rb:1332:in `perform_action_without_filters' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > filters.rb:617:in `call_filters' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > filters.rb:610:in `perform_action_without_benchmark' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > benchmarking.rb:68:in `perform_action_without_rescue' > > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/ > > core_ext/benchmark.rb:17:in `ms' > > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/ > > core_ext/benchmark.rb:17:in `ms' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > benchmarking.rb:68:in `perform_action_without_rescue' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > rescue.rb:160:in `perform_action_without_flash' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > flash.rb:151:in `perform_action_without_render_component' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > base.rb:532:in `send' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > base.rb:532:in `process_without_filters' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > filters.rb:606:in `process' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > base.rb:391:in `process' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > base.rb:386:in `call' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > routing/route_set.rb:438:in `call' > > > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/haml/precompiler.rb:178:in `precompile' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/haml/engine.rb:121:in `initialize' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/haml/template/plugin.rb:29:in `new' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/haml/template/plugin.rb:29:in `compile' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/plugins/ > > active_scaffold/lib/extensions/action_view_rendering.rb:94:in `render' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/plugins/ > > active_scaffold/lib/extensions/action_view_rendering.rb:61:in > > `render_without_haml' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/haml/helpers/action_view_mods.rb:13:in `render' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/plugins/ > > active_scaffold/lib/extensions/action_view_rendering.rb:61:in > > `render_without_haml' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/haml/helpers/action_view_mods.rb:13:in `render' > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > > 1.8/benchmark.rb:308:in `realtime' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/plugins/ > > active_scaffold/lib/extensions/action_controller_rendering.rb:13:in > > `render' > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > > 1.8/benchmark.rb:308:in `realtime' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/plugins/ > > render_component/lib/components.rb:39:in `perform_action' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > dispatcher.rb:87:in `dispatch' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > dispatcher.rb:121:in `_call' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > dispatcher.rb:130:in `build_middleware_stack' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > warden-0.10.7/lib/warden/manager.rb:35:in `call' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > warden-0.10.7/lib/warden/manager.rb:34:in `catch' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > warden-0.10.7/lib/warden/manager.rb:34:in `call' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/sass/plugin/rack.rb:41:in `call' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > dispatcher.rb:114:in `call' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/ > > dispatcher.rb:108:in `call' > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > > gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > > gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > > gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > > gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > > gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > > gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > > gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > > gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > > gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > > gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' > > /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in > > `gem_original_require' > > /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/script/server:3 > > > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/haml/precompiler.rb:178:in `precompile' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/haml/engine.rb:121:in `initialize' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/haml/template/plugin.rb:29:in `new' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/gems/ > > haml-3.0.9/lib/haml/template/plugin.rb:29:in `compile' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/ > > template_handler.rb:11:in `call' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/ > > renderable.rb:19:in `compiled_source' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/ > > renderable.rb:68:in `compile!' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/ > > renderable.rb:61:in `compile' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/ > > renderable.rb:28:in `render_without_active_scaffold' > > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/plugins/ > > active_scaffold/lib/extensions/action_view_rendering.rb:94:in `render' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/ > > template.rb:205:in `render_template' > > /Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb: > > 265:in `render_without_active_scaffold'... > > > > read more ยป > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
