On 23 fév, 17:18, "Sergio Cambra .:: entreCables S.L. ::."
<[email protected]> wrote:
> On Martes, 23 de Febrero de 2010 15:55:11 gs84 escribió:
>
>
> > 3) For the first issue i add the following: "config.actions.exclude =
> > [:create, :update, :delete] "
> >  in my controller like this:
> >  class UsersController < ApplicationController
>
> >   active_scaffold :user do |config|
> >      config.actions.exclude :create, :update, :delete
> >      config.list.columns = [:nom, :prenom, :dateNaissance]
> >   end
> > end
>
> >  but i still have nothing in my list/index view. In my controller i
> > also have show, edit, destroy method. But i have removed the "index"
> > method for the list view, because it is the only action that i want to
> > get with Active Scaffold.
>
> Check templates rendered in your log file.
> You should get:
> Rendering template within layouts/....
> Rendering list
> Rendered _list_header
> ....
> Rendered _list
> Completed in ...
>

I only have those two line when trying to show my list in usagers/
index:
Here is my templates rendered in log file:

Processing UsagersController#index (for 127.0.0.1 at 2010-02-23
18:12:30) [GET]
...
Rendering template within layouts/application
Rendering usagers/index
Rendered widgets/_application_navigation (16.0ms)

So i don't have any template rendered that refers to Active scaffold.

Thanks.

-- 
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.

Reply via email to