search for: comm_type

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

Did you mean: cmd_type
2006 Jan 31
4
A dumb question on extracting a value from a hash
Hi, I have the following code fragment; @comm_type = Communication.find_by_sql(''select id from communication_types where upper(description) = "EMAIL"'') Which results in >> @comm_type => [#<Communication:0x39a0f60 @attributes={"id"=>"4"}>] But when I try to test an ActiveREcord ag...
2006 Nov 04
0
RJS not setting form input value correctly
...e << "(''total_commission_#{@product_id}'').value=''" + number_to_currency(@new_total_commission, { :precision => 4 }).to_s + "'';" The controller code is as follows in the update_totals method which is called via the observe_field : if @comm_type == "L" @new_total_commission = @new_total_sell.to_f * @converted_rate.to_f else @new_total_commission = @new_total_weight.to_f * @converted_rate.to_f end Outputting debug to the log file shows that the @new_total_commission is being set correctly. The debug information in the bro...
2008 Jul 14
18
[git patches] Ocfs2 and Configfs updates for 2.6.27
I'm running a bit late with the e-mail this time around, but I think that's ok since there really isn't any major new features here - the bulk of the Ocfs2 update is bug fixes, or cleanups. The same goes for configfs. The only two things that could be described as features would be: - Sunil has updated Ocfs2 to provide even more live cluster locking information via debugfs. - Joel