Displaying 3 results from an estimated 3 matches for "update_tables".
2006 Jul 14
3
compare two tables and find the difference?
...#39;' %></td>
</tr>
the relevant part of the controller:
class ImportController < ApplicationController
...
def update_charges
@new_charges = Source.absent_charges
@charge_types = ChargeType.find(:all)
if request.get?
redirect_to :action => ''update_tables'' if @new_charges.empty?
else
begin
params[:charge].each do |key, row|
Charge.create!(row)
end
rescue Exception => e
flash[:notice] = "Can''t update charges table: " + e
redirect_to :action => ''update...
2009 May 12
0
RJS Error: TypeError: while using active scaffold
Hi,
I get an unexpected error because i havent do any chnages in any
javascript files, after installing active scaffold. Before 1-2 days my
application is working fine but from yesterday i got the error for RJS
as below while i tried for show action.
RJS error:
TypeError: $("#console__private_messages-messages") is null
$("#console__private_messages-messages").html("\n
2009 Jul 17
19
I need help saving table data from a rake task
I need to find out how I can create and save a large dataset to a table
based on multiple returned arrays from a Rake task.
Here is my example using just two arrays (there are 14 in this
particular rake task):
update_tsos_offense = TsosOffense.new
to_team_id, to_ppcs = update_tsos_offense.calculate_tsos(TotalOffense,
"ydspgm", "desc")
ro_team_id, ro_ppcs =