On Thu, Jun 11, 2009 at 6:12 PM, tashfeen.ekram<[email protected]> wrote:

> Is there a way to store rb expression so that can be interpreted
> later. For example, i store as a string for example in my db "3+2" and
> then at a later time i would like to execute it at future time. I am
> allowing my users to generate code to analyze data and would like to
> be able to allow the users to generate whatever expressions they see
> fit. the actual expressino will be more complex but that is just an
> example.

Can you trust your users? Can you be confident they won't put
"User.delete_all" as Ruby code?

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