search for: xml_file

Displaying 9 results from an estimated 9 matches for "xml_file".

2008 May 17
5
Help needed
...or members @user = User.find_or_initialize_by_email(email) # save user if not existing if @user.new_record? @user.country = Country.find_by_short((data/:countryShort).inner_html) end end end ---- spec ------- module XmlImportSpecHelper def mock_xml_import xml_file = RAILS_ROOT + "/spec/fixtures/import-member.xml" xml = File.read(xml_file) @xml_import = XmlImport.new @xml_import.should_receive(:open).exactly(1).times. with("any-file-name.xml"). and_return(xml) end end describe XmlImport do include Xml...
2010 Jun 02
10
Session, memory_store & NoMethodError
...and I''ve configured my environement.rb to use the memory store : [i][b]config.action_controller.session_store = :memory_store[/b][/i] This is my [b]injection_controller.rb[/b] session key/value affectation code : [code]def analysis_repository ..... session[:list_xml] = create_XML_file_obj(false)#put an array of XmlFile objects in the session render :update do |page| page[:liste_fichiers_xml].replace_html render(:partial => "infos_fichiers_xml") page[:liste_fichiers_xml].show end end[/code] No error are generated when I access to ses...
2006 Feb 07
2
Question about Classes.
...sdLeaderInfo: [], sdMiscInfo: [] }); this.options = options; this.loadXML(); }, loadXML: function() { new Ajax.Request(''../../xml_files/session_data.xml'', {method:''get'',parameters:''time=''+Math.random()*4,onComplete: this.createArray}) }, createArray: function(response) { xmlDoc = response.responseXML;...
2006 Feb 20
3
Background work
Greetings, I''ve got a rails app which is basically an admin interface to a xml dataset. Currently I''ve got rails rigged to call a function to spit the entire dataset to file with every change. This would actually be ok, its fairly infrequently updated, but when the dataset grows large the user sits there waiting for it to dump with no feedback as to whats going on. Oh yes,
2009 Jun 18
0
Fwd: Re: problem with ovirt-mongrel-rails on rails 2.3
...t". > ** Starting Rails with production environment... > ** Mounting Rails at /ovirt... > Creating field with name > Creating field with owners > Creating field with depth > Creating field with virt_file_size > Creating field with virt_path > Creating field with xml_file > Creating field with virt_bridge > Creating field with file > Creating field with parent > /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440:in > `load_missing_constant': uninitialized constant > ActionController::AbstractRequest (Na...
2009 Jun 18
1
problem with ovirt-mongrel-rails on rails 2.3
...quot;ovirt". ** Changing user to "ovirt". ** Starting Rails with production environment... ** Mounting Rails at /ovirt... Creating field with name Creating field with owners Creating field with depth Creating field with virt_file_size Creating field with virt_path Creating field with xml_file Creating field with virt_bridge Creating field with file Creating field with parent /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440:in `load_missing_constant': uninitialized constant ActionController::AbstractRequest (NameError) from /usr/lib/ruby/g...
2015 May 15
0
[PATCH 3/4] ocaml tools: Use global variables to store trace (-x) and verbose (-v) flags.
...source disks. @@ -37,7 +37,7 @@ val parse_libvirt_xml : ?conn:string -> verbose:bool -> string -> Types.source * This function is also used by {!Input_libvirt}, hence it is exported. *) -val input_libvirtxml : bool -> string -> Types.input -(** [input_libvirtxml verbose xml_file] creates and returns a new +val input_libvirtxml : string -> Types.input +(** [input_libvirtxml xml_file] creates and returns a new {!Types.input} object specialized for reading input from local libvirt XML files. *) diff --git a/v2v/input_ova.ml b/v2v/input_ova.ml index 5f06652..066af...
2015 May 15
5
[PATCH 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
.. and a lot of refactoring. https://bugzilla.redhat.com/show_bug.cgi?id=1167623 Rich.
2015 May 15
6
[PATCH v2 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
https://bugzilla.redhat.com/show_bug.cgi?id=1167623