Forum: Ruby on Rails Extjs on rails - return value

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Siva N. (Guest)
on 2007-07-05 11:39
working on extjs on rails for tree structure
when creating a node, no value should be returned to the json
its giving an alert of the return value

def additem
  @return_val =>params[:parentID],:node_name=>'New
  return_data = ''
  render :text=>return_data.to_json, :layout=>false

can anyone help to figure out the problem please!!

Thanks in advance!!
This topic is locked and can not be replied to.