how to pass info to a Rails Observer class?

K

Kairi Zikpin

Hi all,

I'd like to know how do I go about passing information to an Observer
class in Rails?

I've not been able to find an example for this on line. All I've seen is
that the model object is passed in automatically. I'd like to be able to
pass in other information as well.

And if it can't be done with Observers, can it be done with Callback
classes?

thx.
rails newbie here so bare with me...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,208
Messages
2,571,079
Members
47,682
Latest member
TrudiConna

Latest Threads

Top