search for: archive_ev

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

Did you mean: archive_1
2006 Aug 17
4
Am i going crazy?!
...ctive 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 late all night, trying and trying... thanks guys(and girls) JOn -- Posted vi...