Warning: file(http://drvk.googlecode.com/files/k.txt) [function.file]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /home/surmax/expressica.com/wp-includes/theme.php on line 467
ajax : e x p r e s s i c a

e x p r e s s i c a

ruby on rails, business and technicalities

Archive for the ‘ajax’ Category

I have provided the source code of the ajax based drag drop tree in rubyonrails in one of my previous posts. I found some of the people are getting problems to incorporate the code into their running applications so i am providing a sample rails application in which all the  [ Read More ]

To use your migrations for preparing test database create a file testdb.rake in the directory lib/tasks. Now add the following code in the lib/tasks/testdb.rake file… module Rake module TaskManager def redefine_task(task_class, args, &block) task_name, deps = resolve_args(args) task_name = task_class.scope_name(@scope, task_name) deps = [deps] unless deps.respond_to?(:to_ary) deps = deps.collect {|d|  [ Read More ]

Ajaxified Drag Drop Tree in RoR CASE STUDY I m providing a very generalized use case where the tree fits in a good position. Here it is… Consider a model Item, a controller Items. Item model is using a fabulous acts_as_tree and we are going to put a seed for  [ Read More ]

Ajaxified tree comes with the following features 1.) Containing the ajax links for the tree items using link_to_remote 2.) Highlighting the selected node of the tree and other custom effects. 3.) Two way syncronization between the tree nodes and the currently displayed item on the web-page. 4.) Supports the tree  [ Read More ]

Sponsors