Displaying 1 result from an estimated 1 matches for "component_typ".
Did you mean:
component_type
2006 Feb 20
2
file_column: changing default store_dir
File_column plugin is great. I need to change the default :store_dir
from the dynamic "model_name/attribute_name" to an equally dynamic
"client_id/app_id/model_name/attribute_name". In my model I have:
class Component < ActiveRecord::Base
belongs_to :component_type
belongs_to :component_group
breakpoint
file_column :content,
:magick => { :versions => { "thumb" => "100x100",
"medium" => "640x480>" }},
:store_dir =>
"#{clie...