Displaying 20 results from an estimated 1000 matches similar to: "Upload File To Web Server?"
2006 Jul 05
4
Rails Web Hosting?
Hi,
Where can I find Rails web hosting? I wish to get a domain name + web
hosting.
Kind Regards,
Lennie De Villiers
OpenMind Connections
Website: HYPERLINK
"http://www.openmindconnections.co.za/"www.openmindconnections.co.za
Win-Ads: HYPERLINK "http://www.win-ads.co.za/"www.win-ads.co.za ? Online
Advertisement Coming Soon!
--
No virus found in this
SMS service for Rails app alerts - recommendations for free/cheap service/approach for rails apps???
2007 Feb 13
2
SMS service for Rails app alerts - recommendations for free/cheap service/approach for rails apps???
Hi,
I''m interested in triggering SMS alerts from my Rails app (hosted on
Dreamhost) for key events or errors.
Any recommendations re whether there is a free SMS service to enable this?
Or else a cheap service?
Also whether there is a rails plugin to make this easy?
Tks
Greg
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to
2006 Mar 25
3
Rails Plugins: Why to register your own functionality with send()?
Hi there,
I have seen in the file column plugin (
http://www.kanthak.net/opensource/file_column/) from Sebastian Kanthak or
David''s acts_as_taggable plugin that to register my functionality I need to
do something like this:
ApplicationHelper.send(:include, InPlaceEditAssociations)
I am wondering why not:
(a)
module ApplicationHelper
include InPlaceEditAssociatons
end
or:
(b)
2005 Dec 19
3
RMagick Resizing Issue
Hello ~
I have RMagick and file_column working in RoR. In my model I am setting up
some standard sizes for the submitted photos. The photo files are created
and named correctly, but the sizes are wrong. Only the second argument of
my geometry call is used, with the width dimension being resized
proportionately.
file_column :image, :magick => { :versions => { "medium" =>
2006 Jan 04
4
file_column
I use file_column and it works fine.
I tried to change the store_dir to a the path I want my files to be
stored and not the default.
I stored some images fine. But when I try to reach my images it seems
like file_column uses the model_name/attribute_name on the image and not
the store_dir I used. How can I change this ?
Thanks in advance
--
Alexander Antonakakis
2005 Aug 17
7
(newbie) #{method}_relative_path empty (file upload 0.1.2)
first off, thanks (a lot!) sebastian for creating this module... I''ve
been spending a lot of time in getting file uploads to work.
inside a project I''m working on, I''ve got two different models using
it... with one of them it''s working just fine. with another,
everything works, with the exception of the url_for_file_column
helper, which shows
2006 Mar 13
4
Problem realted to upload..
I want to upload a file.
And what I am confused about is...should I upload it using a separate
table or just as another file in the form.
If as a separate table then I am not able to save it on the system/
Or/ If not that, then how can i check for the extensions?
Do reply.
Thanks.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 22
3
Problems with validates_presence_of...anybody?
Hello everybody,
I have been developing small applications in Rails from quite some time.
But lately, I came across a bug which I have not been able to correct.
If anybody could help me with it, would be of great help thankyou.
Actually, the problem is that I have a form in my application with some
set of fields.
Now what "validates_presence_of" should do is that if I submit the form
2006 May 09
2
handling file upload onto local filesystem.
Hi,
I have a multipart form upload field uploaded through <%=
file_field("profile", "profile") %>
Once a submit happens, the action basically does something like:
profile = Profile.new(params["picture"])
This invokes the models = to method:
def picture=(picture_field)
...do a bunch of assignments here
end
def validate
... do a bunch of validations
2006 Jan 19
1
partials and instance variables for file_column
Hi,
Sebastian Kanthak of the file_column-Plugin wrote once:
"is the photo object inside a local variable or an instance variable
(e.g. photo or @photo)? url_for_file_column only works with instance
variables, like all other active record form helpers. Could this be
the problem?"
So I''m using file_column in a partial, e.g.
<%= render (:partial => "product",
2005 Oct 09
6
Problem With url_for_file_column/file_column
I am using the very helpful file_column extension in my app.
The uploading portion works great - no problems.
Where I am having an issue is displaying the images in my view. My code
looks like this:
<% for @record in @main_box_releases -%>
<%= image_tag(url_for_file_column("record", "record_cover")) %>
<% end -%
@record is an instance of a class called
2006 May 01
10
large file storing in postgres sucks?
Hi,
I''m not sure if this is a postgres issue or not, but I''m using
Postgres 8.1. I have (in my functional tests) the following code:
upload = fixture_file_upload(''/files/podcast.mp3'', ''audio/mpeg'')
post :create, :product => valid_product, :media => { :image => upload }
And then in the controller:
blob = Blob.create :data
2005 Dec 28
2
has_images
Out of curiosity: is anyone working on something like a "has_images"
association? As in it would be able to handle images at the model level.
Not neccissarily hold them in a DB, but as flat files, as part of the
filesystem.
I''m continually finding myself in need of something like this. A way of
associating an image or a set of images to a model.
I''m starting on it
2005 Nov 17
1
original filename doesn't display in file_field
In my item upload view I have:
<%= file_field ''item'', ''file'' %>
and in my Item model:
def file
@file
#@file.original_filename # <- also tried this
end
def file=(file)
@file=file
end
And if the upload bails because of errors (and renders the same page), all other fields
(text_field, text_area, etc.) retain their inputted values, but the file
2006 Jan 22
3
file_column and tmp files
Hi again...
One more item.. the file_column plugin uses a tmp directory inside the
/public directory to store a temporary uploaded item. But it looks like
this folder is just going to grow and grow. Is there some way to clear
this out or not cause this to happen?
Thanks once again!
--
Posted via http://www.ruby-forum.com/.
2004 May 11
2
Probleme with Kmeans...
Hello,
I would like to have any help with the function Kmeans of R..
I use this to do a classification of my data...I have chosen 12 classes but, I have always an error message:
Error: empty cluster: try a better set of initial centers
So, I don't understand the probleme with this function..
Thank you to help me!!
All the Best
Clothilde
Clothilde Kussener
CNRS - CEBC
79360 Villiers en bois
2006 Jun 16
4
Depot App: Upload Images
Hello,
I''m a newbie to Ruby on Rails and like many others, I have been working
through the depot application in the Agile Web Development book.
I was wondering if anyone had enhanced the depot application to include
the upload of images for each product? The following describes the sort
of thing that I have been asked to produce for a client, so apologies if
the information is not
2006 Jan 17
5
file_column mangling URL
Hey,
I''ve gotten file_column to upload a file, drop it in the dynamic
directory, but I can''t display the image, the directories repeat
themselves:
My model:
class Person < ActiveRecord::Base
file_column :image_url
In my view:
<%= image_tag url_for_file_column(''person'', ''image_url'') %>
HTML generated is this:
<img
2006 Jan 17
3
file_column :root_path question.
I''m developing on Windows and deploying to FreeBSD+lighttpd using
Switchtower and I''ve got things generally working. My problem now is
that file_column data gets zapped every time I deploy, because
Switchtower creates a whole new myapp/public directory with each rev.
I looked through the file_column docs and found the :root_path option,
which I use in my models as follows:
2006 Mar 01
4
graphics rendering
Hey
Has anyone got a graphics server running alongside ruby on rails? Kind
of new to graphics rendering on a web server, so some general tips on a
successful direction to go in would be great. I need it for automatic
rescaling of images, similar to flickr.
Thanks,
RGC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: