I’m using the restful_authentication plugin/generator to user access
control in an app I’m working on. I added on to the user model for
things like male/female. I have two methods on the user model male?
and female?. I have two fields in a model that has a one-to-many
relationship with the User model that are only needed if the
current_user.female? is true. However I’m not sure how I would call
the method from a model that is not the User model. Can anyone offer
some advice?
Thanks,
Tim K.