rails g controller users index

def index
@users = User.find(:all)
end


On Tue, Jun 14, 2011 at 10:40 AM, Jatin kumar <[email protected]>wrote:

> Refer to this:
>
> http://www.tonyamoyal.com/2010/09/29/rails-authentication-with-devise-and-cancan-part-2-restful-resources-for-administrators/
> and you are good to go. :)
>
>
> On Tue, Jun 14, 2011 at 5:43 AM, Fernando Aureliano <
> [email protected]> wrote:
>
>> Someone already need to list the registrations of user from devise?
>>
>> I want to do this list, with the option of admin delete users.
>>
>> I did not found nothing about that on documentation =/
>>
>> --
>> *Fernando Aureliano*
>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to