search for: isadmin

Displaying 4 results from an estimated 4 matches for "isadmin".

Did you mean: sadmin
2006 Mar 29
1
model questions about using ?
I have an employee model. I want to be able to say: employee.isAdmin? in my view so in the model I have: def isAdmin? if self.role.name == "Administrator" true end end When run I get a blank screen, no errors or anything, whats wrong with the isAdmin? method? If I take out the if self... line it is returning true. -- Posted via http://www.ruby-forum...
2011 Jan 21
6
help writing types/provider
...er around the ''rabbitmqctl'' command. Have a feeling there''s a developer guide somewhere I haven''t found (been working from the puppetlabs site and @kartars blog). Couple of basic questions: 1. how can I set the type to default to ''ensure => present, isadmin => false'' ? Not sure if the ensurable mechanism is causing the first to be hard, but I can''t see a way to set defaults in general 2. is there a way to mark attributes as required? I''ve provided a validation for the initial_password parameter, but it only seem...
2005 Sep 29
3
Auto Answer Fax
Can anyone point me to a good howto or example on how to get * to recognize inbound faxes and adjust accordingly? Ideally I would like it to grab the fax and email it to me, but I dont know if that is really possible yet or not. Thanks Neri -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Apr 07
1
here's some badly designed code
...any parts of altered beast that can replace parts of chuckslist? (like now, the beast handles users and site configuration) 4) is there anything i can join, simplify, or remove? (for instance, beast handles all users... and i don''t think i''ll be needing chuckslist''s "isAdmin" seeing as how beast already has "admin") 5) beast uses a lot of xml, what''s with that? could chuckslist benefit from that? thank you all so much! kyrre nygård -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received th...