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.
738b065eb6e748dfaf6933154a14c7b5?d=identicon&s=25 marni (Guest)
on 2006-04-21 06: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

2c51fec8183a5d21c4e11b430beabb47?d=identicon&s=25 Patrick Hurley (Guest)
on 2006-04-21 17:03
(Received via mailing list)
On 4/21/06, marni <> wrote:
> --
> Posted via

I am guessing this is a Rails question in which case you may want to
try 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.