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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs