Displaying 20 results from an estimated 200 matches similar to: "Prevent user from accessing an image"
2006 Aug 30
3
Dhtml Calendar Engine undefined method popup_calendar
Hi,
I''m trying to use the above engine following the installation here http://dry.4thebusiness.com/DhtmlCalendar.html . The only exception to the install is I downloaded and unzipped the install into the plugins directory from Ruby Forge http://rubyforge.org/projects/dhtmlcalendar/
I''m using Instant Rails and Rails V1.1.6., The engine plugin is also installed
The engine
2005 Jun 21
3
dynarch calendar problem when used with ajax
I''ve got a partial with a form using the dynarch calendar
(calendar_field behavior). Working.
Now I render this partial from the action specified in to a link_to_remote.
Now when I click the calendar it''s not showed anymore.
theese lines:
<%= stylesheet_link_tag ''calendar-system.css'' %>
<%= javascript_include_tag ''calendar'',
2006 Jul 11
5
What are people using for date fields
I''m just curious about what techniques others have successfully used to
capture date data on forms as an alternative to the standard date_select. I
have to admit I''ve been lazy and only used the date_select as we have very
few dates in our system now, but that is about to change. I would like
something better.
Any thoughts?
--
Thanks,
Sam
-------------- next part
2005 Sep 22
4
Autocompleter: displaying resuts-div on focus
Hi,
In the last two days I posted 4 different questions to this forums, but
no single answer... Is it personal ? ;-)
Anywayz I continue trying, so maybe I have luck this time...
The question: in an autocomplete component, is it possible to make the
results-div apear when the text field is getting focus?
Thanx in advance,
Ron
2006 Jun 28
6
file_column plugin. Storing files outside RAILS_ROOT
I also posted this on Rails Engines forum. Sorry for the double post.
I am trying to configure file_column plugin so that it stores the images
in a directory completely outside of RAILS_ROOT.
I have no problems in storing the files by setting :root_path option.
But I can''t get to display these images using ''url_for_file_column''.
What I get instead of the image is
2007 Apr 24
1
Kerberos stopped working
Hi everyone,
I am in a real panic here and would appreciate any help.
I have students not being able to save any files!
I have a samba server that was joined to a win2k active directory and running for months.
I dont know why, but now it isn't working correctly.
This error is filling my logs:
-------------------
libads/kerberos_verify.c:ads_keytab_verify_ticket(113)
2006 Jan 17
2
file_column plugin and instance variables
To make file_column work I have to copy my local variable back to an
instance variables like this:
<% for product in @products
@product = product %>
<div class="catalogentry">
<%= image_tag url_for_file_column(''product'', ''image_url'') %></p>
This is needed because file_column specifically looks for the instance
2001 Nov 17
1
(no subject)
I already installed rsync on both my server(running
FREEBSD 4.4) and
win98 macine. My LAN don't connect to the internet so
it is quite secure, is it possible if I don't use
OpenSSH?
when I run "rsync 172.22.0.104::", I get this
message:
"failed to cennect to 172.22.0.104 - Resource is
remote"
172.22.0.104 is the ip address of my server. It is
running rsync as a
2006 Jul 21
2
Tableless ActiveRecord attribute and my aching head
I beat my head against a wall for almost 2 hours with this issue.
My first problem was easily solved. I wanted a class that could use
ActiveRecord''s validation capabilities but without using a table behind
it (I would be persisting setup information in the session, but the
initial setup parameters come from a user input form)
No problem...found this link which got me up and running
2006 Jun 01
9
More flexible file column?
The file column plug-in is great, but there is a problem with it. Well,
two... But the other is well documented now. :^)
Consider a time when you''ve created a CMS for a client and it''s been in
use for over a year. Say 1500+ images have been uploaded so far. Now the
client comes back with a simple request... ''Can you change the thumbnail
size to 80/90, rather than
2006 Aug 18
4
DateBocks v2.0.0 Released
Excert from http://www.nshb.net/datebocks-2-0-0-released
Woohoo!! Finally released the next generation of DateBocks (aka
DateBox) v2.0.0.
This was a long time coming, after its initial version release allll
the way back in January, this is a nice edition to the popular tool I
released before.
This version is chalked full of features. Here is the cut out from the
CHANGELOG
== 2.0.0 - AUGUST 16,
2006 Jan 22
12
Problems with File_column
Hi,
Rails - newbie here..
I''m setting up an app and am trying to use file_column to upload a
picture with an item and I''m running into several problems.
(Background: I''m running Locomotive Rails under OS X 10.4.4, and using
Safari)
I followed the directions to add the necessary items, then found out
that I had to add the item to make the form tag be a multipart
2006 May 28
4
File_column trouble, advice needed
Finally i have RMagick and the file_column plugin installed, but at the
time of uploading images i have trouble, i get "uninitialized constant
ArtImage" error and other errors, im following the instructions on
http://wiki.rubyonrails.com/rails/pages/HowToUseFileColumn but doesnt
seems to work, this its the code im using:
#----view
<%=
2006 Aug 10
6
Getting started w/ Ruby on Rails
Hi,
I would like to get started with RoR, since it seems to be a terriffic
platform for Webdevelopment. However, I''m unsure what "level" you need
to be on in terms of programming to get started?
Best regards,
Gustav
--
Posted via http://www.ruby-forum.com/.
2006 Jun 27
2
Serve an image up from an action
What I am really trying to do is use the file_column plugin for the file
uplaod/storage (to a non-application directory), but serve up the images
on my own (without the mage_tag url_for_file_column technique)
In the java world, I would simply do something like this:
<img src="myImageServlet?id=1">
and myImageServlet would simply return the appropriate mime headers and
data
2001 Apr 22
1
Quickbooks and WinFaxPro
can i use wine to run quickbooks and winfax pro under linux mandrake 8?
2009 Mar 08
2
samsung sata disk pb
Hi there,
I'm running a centos 5.2 (with a centos 5.3 kernel) on a box with a
samsung 1To green edition, and this disk looks a bit slow to me and it's
not recognized by hdparm :
# hdparm -iI /dev/sda
/dev/sda:
HDIO_GET_IDENTITY failed: Invalid argument
HDIO_DRIVE_CMD(identify) failed: Invalid argument
# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 2252 MB in 2.00 seconds =
2007 Nov 20
3
How to rename image file before saving it using file_column?
Hello,
I''m playing with the file_column plugin and I would like to rename the
file when uploading it and before saving it to DB. I''ve tried it with
before_create method in my model and also in the controller with the
following code:
@picture = Picture.new(params[:picture])
@picture.filename = ''newname''
Which doesn''t worked.
How it could be done (if