search for: update_t

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

Did you mean: update_
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 => ''u...
2009 May 12
0
RJS Error: TypeError: while using active scaffold
...mplaints-list-27-row") is null $(''console__complaints-destroy-27-link'').action_link.close_previous_adapter(); $("#console__complaints-list-27-row").remove(); ActiveScaffold.reload_if_empty(''console__complaints-tbody'',''/console/complaints/update_table?page=1''); ActiveScaffold.stripe(''console__complaints-tbody''); ActiveScaffold.decrement_record_count(''console__complaints-active-scaffold''); $("#console__complaints-messages").html("\n \n\n \n\n \n\n"); There is no errors in th...
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 = update_tsos_offense.calculate_tsos(RushingOffense, "ydspg", "desc") This task starts with creating a new object (TsosO...