This error is about you try to set label, or other property, in a inexistent column.
Please, post your controller Pandu escreveu: > Hi All, > I am using Active Scaffold plug in in rails. I am able to > create a form and i am able to display the labels. > But while we displaying the content it is giving the following > problem. > > Called id for nil, which would mistakenly be 4 -- if you really wanted > the id of nil, use object_id > > and following errors > > You have a nil object when you didn't expect it! > The error occurred while evaluating nil.items > > vendor/plugins/active_scaffold/frontends/default/views/_list.rhtml: > 13:in > `_run_erb_47vendor47plugins47active_scaffold47frontends47default47views47_list46rhtml' > C:/Program Files/NetBeans 6.1/ruby2/jruby-1.1/lib/ruby/gems/1.8/gems/ > actionpack-2.0.2/lib/action_view/base.rb:637:in > `compile_and_render_template' > C:/Program Files/NetBeans 6.1/ruby2/jruby-1.1/lib/ruby/gems/1.8/gems/ > actionpack-2.0.2/lib/action_view/base.rb:365:in `render_template' > C:/Program Files/NetBeans 6.1/ruby2/jruby-1.1/lib/ruby/gems/1.8/gems/ > actionpack-2.0.2/lib/action_view/base.rb:316:in `render_file' > C:/Program Files/NetBeans 6.1/ruby2/jruby-1.1/lib/ruby/gems/1.8/gems/ > actionpack-2.0.2/lib/action_view/base.rb:331:in `render' > vendor/plugins/active_scaffold/lib/extensions/action_view_rendering.rb: > 60:in `render_with_active_scaffold' > C:/Program Files/NetBeans 6.1/ruby2/jruby-1.1/lib/ruby/gems/1.8/gems/ > actionpack-2.0.2/lib/action_view/partials.rb:117:in `render_partial' > C:/Program Files/NetBeans 6.1/ruby2/jruby-1.1/lib/ruby/gems/1.8/gems/ > actionpack-2.0.2/lib/action_controller/benchmarking.rb:26:in > `benchmark' > C:/Program Files/NetBeans 6.1/ruby2/jruby-1.1/lib/ruby/1.8/ > benchmark.rb:293:in `measure' > C:/Program Files/NetBeans 6.1/ruby2/jruby-1.1/lib/ruby/1.8/ > benchmark.rb:307:in `realtime' > C:/Program Files/NetBeans 6.1/ruby2/jruby-1.1/lib/ruby/gems/1.8/gems/ > actionpack-2.0.2/lib/action_controller/benchmarking.rb:26:in > `benchmark' > C:/Program Files/NetBeans 6.1/ruby2/jruby-1.1/lib/ruby/gems/1.8/gems/ > actionpack-2.0.2/lib/action_view/partials.rb:116:in `render_partial' > vendor/plugins/active_scaffold/lib/extensions/action_view_rendering.rb: > 70:in `render_partial_with_active_scaffold' > C:/Program Files/NetBeans 6.1/ruby2/jruby-1.1/lib/ruby/gems/1.8/gems/ > actionpack-2.0.2/lib/action_view/base.rb:352:in `render' > vendor/plugins/active_scaffold/lib/extensions/action_view_rendering.rb: > 60:in `render_with_active_scaffold' > app/views/users/index.html.erb:10:in > `_run_erb_47app47views47users47index46html46erb' > app/controllers/users_controller.rb:55:in `index' > :1:in `initialize' > > > Please help me... Thanks in Advance > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
