If your model isn't abstracting the DB in anyway, just don't have it
inherent from ActiveRecord::Base... or perhaps I'm not understanding
part of your question?

On Jun 1, 11:30 pm, Craig White <[email protected]> wrote:
> I want to have a simple model without a table for ACL purposes because
> there aren't going to be many methods at all.
>
> How could I have a Model like...
>
> ControllerMethod securitylevel
>
> users_list       8
> reports_ar       6
> ar_print_checks  7
>
> so I can use retrieve and use these values in a before_filter in
> ApplicationController.rb? The intent is to create a lightweight ACL
> system.
>
> I don't see the need to actually create a table or store the data in a
> table at all.
>
> Any suggestions on how I can accomplish this?
>
> Craig
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
--~--~---------~--~----~------------~-------~--~----~
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