Displaying 20 results from an estimated 600 matches similar to: "staying in control over the case in file_column plugin"
2005 Nov 18
10
[Request] file_column configurability
I wasn''t sure where to email this request, so I am hoping the author of
file_column actually sees this. I was wondering if there were any plans to
allow some configurability in the file_column plugin. By configurability I
mean allowing the developer to define which table column is used as the
unique identifier when creating image folders. Right now it seems like it
uses the ID of the
2006 Mar 26
10
How to delete a uploaded file with file_column plugin?
Hi,
sounds somehow stupid, but I can''t get rid of my files that I uploaded
into my application via the file_column plugin. Any suggestions?
Cheers
Thomas
--
Posted via http://www.ruby-forum.com/.
2014 Sep 23
2
Playback/background audio from MySQL BLOB
For some applications, storing recorded audio (prompts and caller
recordings) as a BLOB in MySQL has advantages.
So, once I have the audio in the database, how can I play it?
Creating temporary files seems so tacky.
Is there another way to playback or background audio either by specifying
a URL or from a memory buffer (either C or PHP)?
--
Thanks in advance,
2006 Jan 19
0
file_column error: tmp file created but not actual
Hi
When I submit the form with field_column, the actual
image is not
uploaded, only temp files are crreated and I dont see
actual file created and the image file name is not in
the database and get "fieldWithErrors". Then if
submit again, the actual file in created and an
database record is generated.
Here is the log file. I print @params and @wallpaper.
I find the following:
1st
2009 Mar 17
2
PBX to gate interface
Has anyone found a good wayt o do a gate intercom using Asterisk? I am
looking at a Xorcom PBX with programmable contact, so I have no issue
with opening the gate, but the interface at the gate is a bit tricky. I
thought about a weather proof housing containing a phone but it seems a
bit tacky. I also looked at a handsfree erather proof phone, but at $600
it is a bit steep. Any solutions that
2008 Jan 14
1
New Adobe Reader works on CentOS-4.x, speech synthesis reader & more.
Just and FYI.
In RPM form, works on 4.x and I will try on 5.x too. Speech is tacky,
but if I can get something but the Gnome Festival synthesizer, maybe it
will improve?
http://www.adobe.com/products/acrobat/readstep2.html?promoid=BONRM
--
Bill
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
2006 Jan 17
0
file_column with both root_path and store_dir
I store my file_column database outside of my RAILS_ROOT.
It seems to work in real life, but not in tests.
In the tests, I can''t set both the root_path and the store_dir. In
tests, setting the store_dir option will override the root_path
option. The only way for root_path to work is to remove store_dir. I
think the problem is in file_column.rb on line 22:
options[:store_dir]
2006 Apr 14
1
file_column and custom store_dir
I''m using file_column to store mulitple versions of an image in a custom directory "images/artwork/" with the :store_dir option.
This is working fine for uploading and storing the images, but whenever I try and access the images with the url_for_file_column helper it keeps generating the default path. I thought it would replace this by default, but it doesn''t seem to.
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
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
2005 Dec 23
6
file_column and HABTM
I have several models that will be using file_column by way of the
"Picture" class (HABTM). Right now, all pictures are stored in:
public/picture/image/1/filename1.jpg
public/picture/image/2/filename2.jpg
Is there a way I can dynamically define the "store_dir" based on the
model? For example, if I have "user", "product" and "place" models all
2005 Dec 09
2
Blocking problem with embeded R (windows)
Hi all,
I am trying to make calls to R from an MFC application running on XP
and am having problems blocking the application while the call
executes.
I have tried the following approaches to using R from the application
(note that I set a wait cursor while R is executing).
1) call rcmd in BATCH mode using system(). This works well, except
that I get the cmd window popping up... which makes the
2004 Aug 06
4
Chopping off the wideband?
On Tue, Feb 18, 2003 at 09:06:16PM -0500, Jean-Marc Valin wrote:
> BTW, when you have something working and stable, I could include it in
> the main Speex distribution.
Hmmm, define working and stable :)
<braindump topic="speexcat">
It began as a merge between speexdec and speexenc from 1.0beta3,
with the encoding/decoding removed, and simply piped in and out from
ogg
2006 Mar 16
2
Questions about file_column plugin
Hi!
I''ve got 2 models - let''s call them User and Image. User has_many
images. (Thanks to Mark Reginal James :) ) I have a single form where i
can create a user and add to him any number of images, which are
uploaded using file_column plugin.
Now 3 questions:
1. How to change the default path where file_column plugin saves images,
so it will save them in a directory, which
2006 Apr 14
5
state_models plugin and file_column?
I was looking at Kyle Mawell''s extremely nifty-looking StateModels
plugin
http://www.kylemaxwell.com/articles/2006/02/06/fun-with-single-table-inheritance
and before I go down the road with it, I was wondering if anyone has
used it with file_column.
The way file_column deals with an uploaded file -- by storing it to the
filesystem in a path that employs the model name and id --
2006 Aug 04
1
file_column issues on dreamhost
ok, here''s the deal. I''m having an issue using the file_column plugin on
dreamhost. Everything works great on my local dev machine using
webrick. On dreamhost i have no errors, but initially the uploaded
images where stored in /public/user/...etc... When the image should have
displayed I just got the filename instead.
I though it might be a routing issue, so I tweaked the
2006 Mar 02
2
How to get mime extension with file_column
Is there a way to get the MIME extension of a file_column field?
Here''s what I want to do (look for comment in before_save method):
class ProductFile < ActiveRecord::Base
belongs_to :product
file_column :file_name
def before_save
self.file_type = # something that returns the MIME type (e.g. image/jpeg)
end
end
TIA
2006 Feb 26
0
file_column issues
I am having some strange issues with file column today. This goes
back to something that I was working on before and successfully have
it working on my development box however it is not working on my
staging machine.
I have a dynamic_dir action set up for file_column that is called via
the :store_dir => :dynamic_dir
the action is this:
def dynamic_dir
2006 Aug 23
0
Rotating Images with file_column
Hi everyone,
I have a photo site that I''m making and I''m using file_column to
handle the auto-generation of several "version" of each photo:
essentially thumbs and fuller-sized version. The full sized versions
retain the original''s proportions, whereas the thumbs are all 4:3.
This means most of the thumbs are cropping the original. This all
works great, but I