Displaying 2 results from an estimated 2 matches for "episodes_control".
2006 Jan 10
3
Getting a user from a model (sort of a noob) (resend sorry)
Sorry for the resend but I am not sure if the first one ever made the  
list.
As mentioned in my previous posts I''m trying to create a dynamic  
directory for file_folumn. After finding out that I didn''t have the  
most recent version I installed the latest trunk and am able to get  
file_column to act as it should. However I have been racking my brain  
on how to implement
2006 Jan 09
7
File_column Dynamic directory
I asked this question earlier and did recieve an answer but I am not  
sure  Ifully understood the answer as I am getting all sorts of  
errors when trying to implement.
Basically I want to add a layer to the path for my files. I have the  
following set up in my model class:
file_column :image,
                       :store_dir => :dynamic_dir
   def dynamic_dir