search for: pragramm

Displaying 1 result from an estimated 1 matches for "pragramm".

Did you mean: programm
2006 Aug 17
4
Am i going crazy?!
...esterday, i want it to automatically be "archived", or set the active field to "0" this is what i''ve written so far, there''s no errors when i load it but it doesn''t actually change anything in the database. if anyone has any insight to a fairly new pragrammer, i would so appreciative. here''s what i have. def archive_events Sevent.find_all.each do |u| u.update_attributes(params[:active]) unless u.start_date > Date.today active = 0 end end This will probably be so simple, but you know how these things are, up la...