I’m working on an app right now that uses
file_column plugin for file uploads. The usual directory structure it
For my current project, I’d like to separate uploads by account so that
easier to monitor an account’s resource usage. So, the directory
(@account_name is the name of the specific account.)
Ultimately, there would be one of these for each account:
I see where these paths are built in the plugin (line 20 of
it looks like), but I can’t figure out how to the account information in
there. I have an instance variable (@account) generated in my
that holds all the current account information. How do I get that
from my controller over to file_column which is working with classes
are subclasses of ActiveRecord::Base?
Thanks in advance, PJ
View this message in context:
Sent from the RubyOnRails Users forum at Nabble.com.