Um, you appear to have everything mixed up. You’re defining a method
on a controller (such methods aren’t accessible from views, unless you
play around with helper_method), and then you’re trying to call that
method on an instance of Call ? On top of that, I’d put something like
that in a model.
On Sat, 09 Feb 2008 02:22:02 +0000, Frederick C. wrote:
Um, you appear to have everything mixed up. You’re defining a method on
a controller (such methods aren’t accessible from views, unless you play
around with helper_method), and then you’re trying to call that method
on an instance of Call ? On top of that, I’d put something like that in
a model.
I thought that I conceptually grasped MVC – guess not. However, I do
know that I have the model and schema correctly configured because I can
get good output through the console: