Spork modify eager loading views (it delays it), so @paths is not initialized when AS look for a view in its paths. I think it's a spork issue but I don't know spork to fix it, I was looking at spork code to guess this. Please, contact spork developer and let me know if I can help
On Sábado, 5 de Junio de 2010 15:02:23 hoenth escribió: > I know it has taken a while, but i have finally upgraded to 2.3.5 > (more issues than I thought). I have also updated cucumber (0.7.3). > > Unfortunately, I am still getting the same error. > > Have you any additional thoughts? > > Thanks > Tom > > Sergio Cambra .:: entreCables S.L. ::. wrote: > > On Jueves, 13 de Mayo de 2010 19:32:04 hoenth escribió: > > > > The important part of a backtrace are first lines. Also, ensure > > > > backtrace silencers are removed (uncomment last line in > > > > config/initializers/backtrace_silencers.rb). If bug it's in a plugin > > > > (probably) silencers must be removed to get lines of plugin files in > > > > the backtrace. > > > > > > Sergio - > > > > > > Thanks for your thoughts. > > > > > > I turned of the silencers (had to add an initializer with the > > > following statement: Rails.backtrace_cleaner.remove_silencers!), > > > > > > Here now is the trace I get: > > > > Can you try to update rails to 2.3.5? > > > > > actionpack (2.3.2) lib/action_view/template.rb:76:in `[]' > > > actionpack (2.3.2) lib/action_view/paths.rb:48:in > > > `find_template_without_active_scaffold' > > > actionpack (2.3.2) lib/action_view/paths.rb:47:in `each' > > > actionpack (2.3.2) lib/action_view/paths.rb:47:in > > > `find_template_without_active_scaffold' > > > vendor/plugins/active_scaffold/lib/extensions/ > > > generic_view_paths.rb:11:in `find_template' > > > actionpack (2.3.2) lib/action_controller/base.rb:1380:in > > > `default_template' > > > actionpack (2.3.2) lib/action_controller/base.rb:943:in > > > `render_without_benchmark' > > > actionpack (2.3.2) lib/action_controller/benchmarking.rb: > > > 51:in `render_without_active_scaffold' > > > activesupport (2.3.2) lib/active_support/core_ext/ > > > benchmark.rb:17:in `ms' > > > activesupport (2.3.2) lib/active_support/core_ext/ > > > benchmark.rb:10:in `realtime' > > > activesupport (2.3.2) lib/active_support/core_ext/ > > > benchmark.rb:17:in `ms' > > > actionpack (2.3.2) lib/action_controller/benchmarking.rb: > > > 51:in `render_without_active_scaffold' > > > vendor/plugins/active_scaffold/lib/extensions/ > > > action_controller_rendering.rb:13:in `render' > > > > > > It looks like the @path variable is not getting set, but I am not sure > > > why. > > > > > > Tom > > > > -- > > Sergio Cambra .:: entreCables S.L. ::. > > Mariana Pineda 23, 50.018 Zaragoza > > T) 902 021 404 F) 976 52 98 07 E) [email protected] > > > > -- > > You received this message because you are subscribed to the Google Groups > > "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en. -- Sergio Cambra .:: entreCables S.L. ::. Mariana Pineda 23, 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.
