Forum: Ruby Access the varibles

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
marni (Guest)
on 2006-04-21 08:34
Hello ruby and rails!

I have problem to accees the perticuutr varible from conatool.rb to
modelpage i.e .rb file in model folder

Can any one suggest me

Patrick H. (Guest)
on 2006-04-21 19:03
(Received via mailing list)
On 4/21/06, marni <removed_email_address@domain.invalid> wrote:
> --
> Posted via

I am guessing this is a Rails question in which case you may want to
try removed_email_address@domain.invalid for more assistance. I believe
conatool.rb is a file outside of both ruby and rails, in which case
you may want to make it available to people in order for them to
assist you.

As a guess, you probably want to add a method to your model to expose
the variable, rather than try to access it directly.

Good luck
This topic is locked and can not be replied to.