search for: appliction

Displaying 20 results from an estimated 30 matches for "appliction".

Did you mean: application
2009 Aug 02
3
redirect_to or send_file and AWS S3
Hi, I store files on S3 as the id of the file in my appliction. IE my file with id 20 will be stored on S3 as 20. When I download the file I want to look up the file name in the database and then pass it off to the user. Is there any way I can use redirect_to and pass the S3 url and then give it the filename, so the user doesn''t get 20. Does this mak...
2006 Jul 12
2
Initializing log4r once
I have a problem init''ing log4r. I have the following initialization code for log4r: Configurator[''logpath''] = ''./config'' # was ''./logs'' Configurator.load_xml_file(''config/log4r_config.xml'') I put it in appliction.rb, but then ofcourse at every request the logger system will be reinitialized. This causes the logfiles to be cleared at each request. which is not very usefull. Does anyone have an idea as how to init log4r once, at the beginning of the application run? Help would be very welcome. Thanks in a...
2010 Apr 12
3
$(link).previous("input[type=hidden]") is undefined
...f.text_field :preparation %></td> <td></td> </tr> <%= f.hidden_field :_destroy %> <tr><td><%= link_to_function "remove", "remove_fields(this)" %></td></tr> </p> and in the appliction.js file I have: function remove_fields(link) { $(link).previous("input[type=hidden]").value = "1"; $(link).up(".treatmentfields").hide(); } -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To p...
2006 Mar 06
4
Where in the filesystem to place the rails application root?
This is a minor Linux administrative issue having to do with deploying rails applications. I am considering where to place the root of our rails application and I would appreciate some suggestions, along with supporting rationale, from those of you that have deployed a rails appliction for general enterprise use. I am thinking along the lines of using "/opt/ruby/rails/<appname>" or some variation on this but I thought that I would ask first and see if there exists a concensus on where these things should be placed. The environments that I need to consider are...
2006 Jul 03
4
Using Centos on both server and client systems a private network
...ng possible: I downloaded all four centos 4.3 iso to a ext3 partition on my hd, burned the first disk only, and the a hd based install. Problem: Centos didnt seem to take into account that I was doing a HD based install and and ask me if I wanted to use the hd images as a source for additional appliction installs later. Now it asks me for the cds and I dont want that. I want it to look at the hd for the additional rpms. Question: How can I make this happen? Catch: The catch is that this "server" will eventually be setup to "feed" the cds out to clients when they install...
2008 May 09
3
Depot Application not working
Hello All, I am doing the depot appliction. I was first installed Instant Rails 2.0 on my machine. got error in getting scaffold :product then after searching in forum took the 1.2.6 version using the below command >gem install rails --version 1.2.6 --include-dependencies Now i am getting the error after starting the server >rub...
2013 Feb 28
1
Validation Failed: Userkey has already been taken, Email has already been taken
Hi, I am using Factory girl with rspec and capybara for testing my rails appliction. I have the below code FactoryGirl.define do factory :user do |f| f.email "sss1 at gmail.com" f.userkey "12ssd345q62" end end When I run the test it is failing as "Validation Failed: Userkey has already been taken, Email has already been taken". What could be...
2006 Aug 07
2
Select Box Question
Hi, Yet another newbie here... I''m writing an appliction in Rails, and I''ve Ajaxified my select boxes so they update dynamically. I used the "observe_field" method to monitor changes to my select box. I find that it''s kind of erratic... it updates constantly and makes the selection for me, based on where my mouse happens...
2017 Feb 28
2
any one interesting develop a gui app for tinc
Hi devs, I am a tinc user use tinc at windows every day, I use a bat file to start tinc in nodetach mode, and dig the problem when the network sucks. Is there any one interesting to develop a gui control app like for openvpn? Tks, Cong
2006 Mar 01
0
link_to problem when used in folder
I have split my appliction into 2 folders - public and restricted areas: "site" and "admin" Now, in "site" i have a "search" controller with the "results" action. I want to make a link that will keep all the parameters of the link <%= link_to ''link'',...
2004 Apr 15
1
sip videosupport
Hi all I was tryed to connect to mysip.ch scs_client by siemens that isn't works well. Does anyones knows to work H/W or S/W applictations in asterisk SIP videosupport? Regards mack_jpn
2005 May 31
0
'beeps' while recording..?
How would one go about having asterisk insert a faint 'beep' once every ten seconds or so whilst a call is being recorded? I can't see any flags in the Monitor appliction for doing so. This is a legal requirement in many jurisdictions when calls are being recorded (as an alternative to an announcement at the start). Ben
2007 Aug 05
0
chan_alsa - no sound / strange sound - 1.4.9
...on the configuration I don't get any sound output (output_device not set in alsa.conf - same as output_device=default) or very strange output (output_device=hw:0,0) when dialing into something like exten => 10,1,Answer exten => 10,n,Playback(soundfile) exten => 10,n,Hangup Other alsa applictions do work without problems and for example this simple test does work: aplay -D default /usr/share/sounds/alsa/Front_Center.wav Installed is Asterisk 1.4.9 on a box with (standard) Debian Etch. There is no /etc/asound.conf or ./asoundrc. It is only one audio controller available. Any help apprecia...
2011 Jul 07
0
Strange autotools error
I am using CentOS 5.6, autoconf 2.59 and automake 1.9.6. I run an autogen script which cleans all autotools files and then installs new ones. If the appliction has no dependencies running configure, make and make install works fine. However if it has dependencies I get the messages "Creating Makefile" and "Could not find input file Makefile". I've herd that I need another development package. What is it? Or what causes these co...
2006 Mar 22
1
exclude open file in backup with rsync
hi, I am working on Backup appliction. So I am understanding rsync_2.6.6. I have to take a backup of files on a drive But I have to exclude those file in a drive which are open. I want to know whether rsync exclude open files while taking backup ? . and how rsync identify a file open or not. what test...
2003 Nov 10
0
Still can't see Printers in Printerassistent
...hood and there i can see all shares and printers. But if i go to the controlpanel of a ms-client (NTsp6a or W2k sp4), go to printers, new printers, choos networkprinters,click next button I can't see the printers. Also I can't see my samba server. When I try to switch between printer in an appliction like Word, it tooks a very long time. Somtimes it seems that the aplication crashes. I'm not sure, but do these problems belong together? First I thought that there is somthing wrong with my netbios and TCP/IP settings. But I'm not able to find wrong settings. The Clients and Samba is usi...
2003 Nov 17
0
Printers in Printerassistent
...hood and there i can see all shares and printers. But if i go to the controlpanel of a ms-client (NTsp6a or W2k sp4), go to printers, new printers, choos networkprinters,click next button I can't see the printers. Also I can't see my samba server. When I try to switch between printer in an appliction like Word, it tooks a very long time. Somtimes it seems that the aplication crashes. I'm not sure, but do these problems belong together? First I thought that there is somthing wrong with my netbios and TCP/IP settings. But I'm not able to find wrong settings. The Clients and Samba is usi...
2005 Mar 15
2
unattended reboot/fsck
Hi, We've got some units in client's vehicles which are running Fedora core 1. We've can log into them over ssh remotely there is no console attached to them. I suspect one of them has some filesystem corruption, and I'd like to both force a fsck at next reboot (which I think I can do with shutdown -F) but I'd also like to make this fsck not require any human intervention.
2006 May 04
2
Enterprise Database Tier (XA transactions, COBRA and MIDAS)
...nd loads of static content caching. I have looked at Multi Master Replicated setups but am worried about the lag time between replication. The integrity of the data is critical. The only real (and deal breaking in this case) downside to Rails is the scalability of the database for this specific appliction type. Support for XA transactions which would allow your tables to be spread over multiple databases and solve this. Apart from that is seems any one database vendor can be choosen for its particular features and approprietness for an install size/needs. In the past we have used COBRA and Borl...
2011 Jul 08
3
More on CentOS autotools bug
...totools error From: "John J. Boyer" <john.boyer at abilitiessoft.com> Date: Thu, 7 Jul 2011 00:08:09 -0500 To: centos at centos.org I am using CentOS 5.6, autoconf 2.59 and automake 1.9.6. I run an autogen script which cleans all autotools files and then installs new ones. If the appliction has no dependencies running configure, make and make install works fine. However if it has dependencies I get the messages "Creating Makefile" and "Could not find input file Makefile". I've herd that I need another development package. What is it? Or what causes these co...