See:
Group attributes - #2 by DanRathbun
Calling methods in javascript through ruby - #20 by DanRathbun
Remove_observer Method - #11 by DanRathbun
Get_attributes has stopped working - #19 by DanRathbun
Search results for “JSON” in Ruby API category