Displaying 20 results from an estimated 3000 matches similar to: "Ruby on Rails and Fedora Core 4"
2006 Jan 09
7
File_column Dynamic directory
I asked this question earlier and did recieve an answer but I am not  
sure  Ifully understood the answer as I am getting all sorts of  
errors when trying to implement.
Basically I want to add a layer to the path for my files. I have the  
following set up in my model class:
file_column :image,
                       :store_dir => :dynamic_dir
   def dynamic_dir
      
2005 Dec 20
3
File Column Directory Add another layer
Quick Question. I understand how to change the default path to  
something other than public but what if I wanted to add another  
directory into the equation. I want to upload an image into the  
following structure:
/public/image/userid/imageid/test.gif
So basically I want to look up the userid in my users table and put  
all the images for that user in the same directory. So i have a one  
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
      
2010 Aug 26
2
Can't get dovecot to see email folders
So I'm very frustrated, I've spent the better part of a day trying to 
get dovecot 2.0.1 working...Most of the documentation on the Wiki seems 
to think you are running an older version and therefore very little of 
it applies.
I'm running 2.0.1 on OpenSolaris.
I seem to have 2 remaining issues:
1) Dovecot is not able to determine the home directory
2) IMAP clients can not get to
2006 Jul 11
1
responds_to_parent plugin
Not sure where I can get help with this one but I getting a wierd  
behavior out of safari when trying to use the responds to parent  
plugin. Basically I have the following in my view:
<div class="rightsidecontentbody">
	<%= form_tag({:action => "create"}, {:multipart => "true", :target  
=> "frame"}) %>
	<form
2008 Sep 27
2
Something odd is going on in this list
I read wine-users, as I read every list I can, through the Gmane 
interface, running Pan against news.gmane.org -- and recently hit a new 
gremlin. Supposing it something wrong with my connection or my Pan 
settings, I asked there. Here are the question and reply : 
	[begin forward]
On Fri, 26 Sep 2008 19:57:51 +0000, I Beartooth wrote:
> 	Somebody please take a glance at
2000 Jul 28
4
gremlin in rep()
the following occurred inadvertently and brought R-1.1.0 down
rep(1:3, c(4,2,-6))
Segmentation Fault (core dumped)
platform i686-pc-linux-gnu
arch     i686             
os       linux-gnu        
system   i686, linux-gnu  
status                    
major    1                
minor    1.0              
year     2000             
month    June             
day      15               
language R 
2006 Feb 26
28
A Follow up to my fedora question: Favorite Flavor Of Linux?
Than my question is this? Now that I have switchtowerized and migrate  
enabled my app I can start down a new path if need be on a different  
OS as the base of the system. We have already tried CentOS and found  
it to have more issues than those mentioned about fedora and through  
it away faster than one could shake a stick at. Here are our  
requirements for a stage/dev box and production:
2006 Jan 10
3
Getting a user from a model (sort of a noob) (resend sorry)
Sorry for the resend but I am not sure if the first one ever made the  
list.
As mentioned in my previous posts I''m trying to create a dynamic  
directory for file_folumn. After finding out that I didn''t have the  
most recent version I installed the latest trunk and am able to get  
file_column to act as it should. However I have been racking my brain  
on how to implement
2006 Feb 06
5
Sentry Plugin - Easy Question I don''t doubt
I am looking at adding the Sentry plugin to one of the applications  
that we are working on. I have a need to store some info that will  
have to be encrypted and decrypted. I have been going through the  
docs for the plugin and the AsymetricSentry class looks like the best  
for what we need to do but I am not sure how to generate the key. The  
docs say:
This is a shortcut for using an
2005 Nov 18
6
wrong number of arguments (2 for 1) error message help
All,
This is really starting to get me as i can''t figure out why I am  
getting this error. Here is what is going on. I have a table called  
items and a item controller. When I add a new item to the items table  
I am also creating several associated tables. the code for this so  
that you can follow along is:
def create
     @item = Item.new(params[:item])
     # The item belongs to
2010 Jan 24
2
Centos 5.2 mysql build
Greetings,
I wanted to enable blackhole  and CSV engine in the mysql server
so downloaded the SRPM from Centos Site, setup the rpmbuild envronment
with mighty help from the our own Russ's Owlriver website and tried
building it. I have a 5.2 centos box on which I need to enable this so
took the 5.2 SRPM (mysql-5.0.45-7.el5.src.rpm) from
vault.centos.org.(mysql
The Build did not complete
2005 Feb 02
8
Routing all connections through a OpenVPN tunnel
Hi all,
I have set up a working OpenVPN2 connection between my Server and my  
gateway at home.
Now I want all traffic to be routed through this VPN connection.
Currently everything is going through eth1 to the internet (to the gateway  
of the University which forwards it to the internet :-).
We must use a prox-server and because of this I am not abel to watch the  
real-Media streams on
2006 Apr 12
3
Capistrano Issues
Well I finnally bit the bullet and upgrade to capistrano and have run  
into several issues that I can''t seem to find a fix for. Switchtower  
worked perfectly but I can not get cap to work especially with the  
change to the command to run a deploy.
The following code worked fine in switchtower to deploy:
switchtower -vvvv -S stage=stage -r config/deploy -a deploy
The stage variable
2007 Aug 28
3
Package Tracking System
Hello CentOS users,
    Is there any sort of package tracking system for CentOS?
    I'm used to Debian where I can view a changelog for each *Debian* 
specific package.  This is great because I can see specifically what has 
been fixed and what known issues remain from release to release in the 
Debian package, which is subtly different from the upstream release.  
For instance, I can see
2006 Feb 08
5
Regular Expression Question
I have looked through the Ruby Pickaxe book as well as done a search  
but can''t figure out how to validate the format of a field. The field  
I want to validate is a credit card expiration date field. Based on  
our user study (going around the office and asking everyone the way  
they like to fill out that particular field type) everyone prefers  
the following format in one field:
2006 Jan 12
4
If statement based on a action
Question for you all is it possible to use an action in an if  
statement? I am using the same form for edit and new and I have a  
cancel button on the page.
This cancel button is built with an if statement that looks right now  
to see if a parameter exists to define where to go back to if the  
user cancel. The problem occurs when the user submits the form and  
there are missing fields by
2017 Jun 09
2
Get segfault with ModulePass
Hi,
don't know if this is the right list. Please post a better place,
otherwise.
I'm currently writing a LLVM ModulePass and ran into strange segfaults or
endless loops within LLVM. My main question is, if this is a programming error
or API misuse from me or a LLVM bug?
Here is some minimal code, that triggers the bug:
----------------
	class DebugPass : public ModulePass {
	public:
	
2006 Aug 09
1
Problem install rails via gem
I am getting the following errors when trying to install a new copy  
of rails:
gem install rails --include-dependencies
Attempting local installation of ''rails''
ERROR:  Error installing gem rails[.gem]: No metadata found!
it seems to not be going out to the repository but I was able to  
update rake via gem update rake. I am running Ruby 1.8.4 on centos
Is it just me or is
2006 Feb 17
1
Session Data Question
I am still to new to rails to feel comfortable diving into the source  
for the framework however my comfort is getting better. My question  
is this. We are storing the session data in the database using  
active_record_store. I was looking at the table to just get a better  
idea of what is going on as far as how the data is stored. I am a bit  
curious as to the session.data field. What method