On 10 August 2011 17:42, jdkealy <[email protected]> wrote:
> Hi,
>
> If I'm using STI with Devise, I have a Admin model inheriting the base
> Devise User model. I would like to remove 'registerable' from the
> Admin model but it inherits registerable from the user model. How
> would i disable registration for admins?

I don't use Devise but can you not just define a registerable method
in your Admin model?

Colin

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