search for: new_in

Displaying 3 results from an estimated 3 matches for "new_in".

Did you mean: new_id
2007 Jul 31
0
Force an object to previous state, when using lock_version
...ed mode. It actually isn''t saved because the transaction failed. I can''t reload it, because it''s not in the database yet, and all subsequent saves are failing because the lock_version is wrong. What I currently do, as a work-around is create a new instance of the object: new_ins = MyClass.new ( ins.attributes ) Is there any way I can tell Rails that this object was never saved before? Thanks, Amir --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To pos...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not allocating RBP to any virtual register, the instances of RBP in function foo are in the machine code when my register allocator starts.) Function foo calls function bar. Register RBP is not saved across the call, though it is live after the call. Function bar includes a virtual register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...uot;, "#endif", " }", "", "yyFlexLexer::~yyFlexLexer()", " {", " delete yy_state_buf;", " yy_delete_buffer( yy_current_buffer );", " }", "", "void yyFlexLexer::switch_streams( istream* new_in, ostream* new_out )", " {", " if ( new_in )", " {", " yy_delete_buffer( yy_current_buffer );", " yy_switch_to_buffer( yy_create_buffer( new_in, YY_BUF_SIZE ) );", " }", "", " if ( new_out )",...