On Jun 21, 1:30 pm, Ritvvij <[email protected]> wrote:
> Is there something like REFLECTION?
>

Well you can use eval. However more often than not there is a better
way (that won't let someone setup the rule `rm -rf`  )

Fred
> On Jun 21, 7:28 am, Ritvvij <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I have a module which needs configurable rule. This piece of code,
> > something as small as, "current_user.chapter_id", etc has been stored
> > in the DB. I fetch this code into the helper class and then need to
> > run it to generate an ID. How do i do it???
>
> > But of course its taking it as a string.
--~--~---------~--~----~------------~-------~--~----~
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