Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

  • Blog Navigation
Standup 1/20/2011: Admin flag with Devise?

Ask for Help

“Any suggestions for analytics on iPad events?”

Questions like, how many times has this video been played or how many times has this object been tapped.

One suggestion was to hit a web server somewhere with some details and use splunk to analyze it.

“Any experience using a flag to indicate an administrator in Devise?”

Some indicated that this is difficult to do with Devise, and recommended against it. Someone else pointed out that the Device site actually includes this as an example.

  • It’s so easy to create multiple models for users/admins/etc that I always just go that route. This way you get all of the helpers etc for free – and you really don’t lose anything.

    This is how the devise example app works as well:

  • Rajan Agaskar

    I’m using CanAble (for authorization) alongside Devise (authentication) on a side project, and it seems to be OK for the small number of roles I have. The downside is it doesn’t seem to handle unauthenticated users out of the box — I’ve created a monkey patch that adds this ability here:

  • Excellent post however , I was wanting to know
    if you could write a litte more on this topic? I’d be very grateful if you could elaborate a little
    bit further. Appreciate it!

Share This