Displaying 1 result from an estimated 1 matches for "new_pic".
Did you mean:
newapic
2006 Mar 13
6
lame newbie question: how to pass instance variables
...of getting it''s
data from the db, gets it from that scan method - because it only lists
newly found pictures. At least that''s the plan.
How do I pass the array found in the first action to the second one.
So in the action we have something like this:
def scan_directory
# new_pics is an instance variable I''m creating here - I want
# to access it in my other action to get only the new pictures.
# There''s nothing in the database record to indicate what''s new,
it''s
# just a question of which new pics I found when calling
scan_dir...