search for: element_name

Displaying 5 results from an estimated 5 matches for "element_name".

2006 Feb 12
4
How do I emulate directory structure with routes?
...uence_acronym/:shot_number/:department/:eleme nt_name/:version/ where: project is the parent of sequence sequence is the parent of shot shot and department are parents to element element (will) exists in an acts_as_versioned model. or to also show it tld.com/projects/:project_name/:department/:element_name/:version/ Which would show a specific version of an element. I''m also interested in stepping this down as emulated directory structure. tld.com/projects/:project_name/ tld.com/projects/:project_name/:sequence_acronym/ tld.com/projects/:project_name/:sequence_acronym/:shot_number/ etc...
2009 May 20
1
activeresource-2.3.2 HTTPHeaderSyntaxError
Hi, I''m upgrading my app from 2.2.2 to 2.3.2 and am having a problem with ActiveResource. class FooResource < ActiveResource::Base self.site = "whatever" self.element_name = "foo" end FooResource.create(:bar => ''baz'') raises: Net::HTTPHeaderSyntaxError: wrong Content-Length format from /usr/local/lib/ruby/1.8/net/http.rb:1334:in `content_length'' from /usr/local/lib/ruby/1.8/net/http.rb:2210:in `read_bod...
2006 Nov 30
4
response is null when using should_render_rjs
I''m trying to use rspec to test a controller that has ajax. I have the following action: def change_ad_type_form render :update do |page| page.replace_html ''ad_sub_form'', :partial => ''text'' end end and the following spec: specify "should return Text subform on AJAX request to change_ad_type_form" do
2006 Mar 10
1
How to use variables inside rhtml??
...1st textbox name will be "text1" for 2nd textbox name will be "text2" ....& so on........ But here I want use a counter variable in rHtml file so that I will use for loop for looping througn each set of elements in form & give name to form elements as "element_name"+i (i is counter variable) I tried it with following code but its nt working:- =========== <% @i=0 %> <% for product in @products %> <%= text_field ''product_item'',''product_id+@i.to_s'', :value=>product.id%></td> <%end%> =...
2010 Jan 20
0
putting labels back on a matrix.
...ndense <- cbind(row= as.vector(row(x)), col=as.vector(col(x)), value=as.vector(x)) write.csv(condense, "c:/temp/sim_out.csv", row.names = FALSE) In my process I use the Site_ID, ElementId, and the Area variables (line 6). The 1st few lines of the input data are of the format: Site_Id,Element_Name,Occurence_Identifier,Element_Id,Area,Cell_Count,Min_Condition,Avg_Conditon,Max_Condition,Summed_Conditon 0,Bosques y arbustales inundables,16,225,27,27,0.200000003,0.200000003,0.200000003,5.40000008 0,Bosques y arbustales inundables,17,225,6,6,0.200000003,0.200000003,0.200000003,1.200000018 1,Arbus...