Hello,
I’m using file_column to save my users images.
It’s all OK, but I want to prevent one user from accessing other user’s
image.
Is it possible, as the image is saved in the file system ??
Thanks
Parra
Hello,
I’m using file_column to save my users images.
It’s all OK, but I want to prevent one user from accessing other user’s
image.
Is it possible, as the image is saved in the file system ??
Thanks
Parra
Has anyone gotten the DhtmlCalendar plugin/engine working?
I installed the plugin and also the engine plugin and followed all the
instructions. I can’t get past “undefined method ‘popup_calendar’”.
Also it is unclear to me if the inclusion of the line below means I must
install the dry_scaffold engine as well.
Engines.start :dry_scaffold
Marcello P. wrote:
I’m using file_column to save my users images.
It’s all OK, but I want to prevent one user from accessing other user’s
image.
Is it possible, as the image is saved in the file system ??
Once you figure out the change to make file_column store in a
non-public directory (see ‘Uploading files to a directory outside of the
RAILS_ROOT’ at
http://wiki.rubyonrails.org/rails/pages/HowToUseFileColumn)
then you can use send_file to ‘serve’ up images from your actions with
the appropriate security.
See this thread for more information:
http://lists.rubyonrails.org/pipermail/rails/2006-June/046458.html
Jeff
I installed the plugin and also the engine plugin and followed all the
instructions. I can’t get past “undefined method ‘popup_calendar’”.
I’ve been trough the same thing right now, on:
Peak Obsession
I’ve correct two errors (typos) about the helper’s name you need to
include
Enrico
–
“The only thing necessary for the triumph of evil
is for good men to do nothing”
Edmund Burke
Anyway the value you choose from the popup calendar (using
calendar_field helper) is not reported to the text box.
Has anybody succesfully used that plugin’s calendar_field helper?
Thanks
–
“The only thing necessary for the triumph of evil
is for good men to do nothing”
Edmund Burke
This is what I need…
Thanks Jeff
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs