Displaying 4 results from an estimated 4 matches for "org_id".
Did you mean:
org_&d
2012 Aug 07
4
how to do render partial on jquery ajax success method with rails 3
I''m using rails 3.2.1 with jquery for an ajax call.
My juqery code is :
jQuery.ajax({
url: "/org_pages",
data: ''org_id=''+ org_id,
type: "POST",
success: function(result){
jQuery("#image_center").html("<%=
escape_javascript(render(:partial => ''pages/top_link'')) %>");
},...
2012 Apr 09
8
Rails Functional Testing Problem
I''m trying to run some functional tests on Rails. However I am coming up
with the following error.
RuntimeError: Called id for nil, which would mistakenly be 4 -- if you
really wanted the id of nil, use object_id
app/controllers/posts_controller.rb:11:in `create''
posts_controller_test.rb:5:in `test_should_create''
Here is my test file
require
2006 Apr 05
3
"partitioning" table access
Hopefully someone can give me some advice on how to approach this
problem... I''m getting ready to start a large new project where
several different organizations would be working with a lot of tables.
Each table would have an organization_id field to signify which
organization owns that record. Organizations would only be able to
view/edit records they own. Potentially thousands of
2005 Dec 14
0
Master-Details with Ajax
...gt;
<div id="details"></div>
In details goes show, edit and another actions.
If I update somewhat in details I will be sure that it goes updated in
master too.
Also I put
<script>
new Ajax.Updater(''master_item_id'', "/organization/get_tree_node/org_id",
{asynchronous:true, evalScripts:true});
</script>
to bottom of my updated detail
In Firefox master-item all works perfect, but IE says ''Unknown
JavaScript Error''
Any Ideas to this problem?
--
Posted via http://www.ruby-forum.com/.