ajax update attribute

in controller (that gets called by a link_to_remote)

session.model.update_attribute(:viewing, "blah")

It doesn't seem to update, any ideas?

Thanks!

Justin To wrote:

in controller (that gets called by a link_to_remote)

session.model.update_attribute(:viewing, "blah")

It doesn't seem to update, any ideas?

Thanks!

Have you checked your log file to see what it says? Your log file is
your best friend and it should give some hint at what's going on behind
the scenes.