Right, exactly.

sbtodd wrote:
> Thats pretty clever .. so the thought is that you could get rid
> of all access to the models .. or method in the model ..
> so that the user cant wipe out the
> database?
>
> HAML is fun ... made a whole model/controller with it
>
> On Nov 15, 7:37 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>   
>> Oh, yeah, I get it now. This would definitely be possible, but you'd
>> have to be a little careful - just raw Haml would let them execute
>> arbitrary Ruby code, which I'm not sure you want. You can use the
>> :suppress_eval option to avoid this, but that might keep them away from
>> too much stuff... they won't be able to use helpers and so forth. I
>> think the best option is to wrap it in a Freaky Freaky Sandbox
>> (http://code.whytheluckystiff.net/sandbox/) so you can control exactly
>> what they can do.
>>
>> sbtodd wrote:
>>     
>>> For instance, lets say that you wrote a multi-user blog application in
>>> Rails
>>>  .. would it be possible for a user to create the look for their
>>> blog based on HAML instead of Liquid?
>>>       
>>> On Nov 15, 6:14 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
>>>       
>>>> I'm not sure what you mean... themes for what?
>>>>         
>>>> sbtodd wrote:
>>>>         
>>>>> Could HAML be used for users to generate there own theme
>>>>>           
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to