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:
https://github.com/plataformatec/devise_example/tree/master/app/models
January 21, 2011 at 3:29 pm
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:
https://github.com/jnunemaker/canable/issues#issue/2
January 23, 2011 at 6:53 am