It looks like your "@page" object is empty. Are you sure that it is
being populated?
On Wed, Nov 12, 2008 at 9:25 AM, Pandu <[EMAIL PROTECTED]> wrote:
>
> hi I am venkat,
>
> I am using Active Scaffold plug in. When i am trying to render the
> data from the table i am getting the error in the following line
> <p id="<%= empty_message_id %>" class="empty-message" <%= '
> style="display:none;" ' unless @page.items.empty? %>>
> <%= as_('No Entries') %>
> </p>
>
> You have a nil object when you didn't expect it!
> The error occurred while evaluating nil.items
>
> app/views/categories/_list.rhtml:13:in
> `_run_erb_47app47views47categories47_list46rhtml'
> app/views/categories/index.html.erb:9:in
> `_run_erb_47app47views47categories47index46html46erb'
> app/controllers/categories_controller.rb:18:in `index'
> :1:in `initialize'
>
> please help me in this
>
> 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
-~----------~----~----~----~------~----~------~--~---