In our application we need to have some non standard routes.
How can I make router to forward all delete requests to #destroy action even if their is no id parameter in URL?
Example:
DELETE /users/:user_id/follows/(.:format) {:action=>"destroy", :controller=>"followings"}
...
I am trying to set-up my localhost development server. I have everything working but when I try to add an .htaccess it throws this error:
Internal Server Error
The server encountered an internal error or misconfiguration and
was unable to complete your request.
Please contact the server administrator, [no address given] and
inform t...
Hi,
I am using VS 2003 .Net on 32 bit XP OS. I have also installed "Microsoft Platform SDK" on my machine. Can I build vc++ application (binaries) targeted for 64 bit OS?
I am using following project options :
Name="VCLinkerTool"
AdditionalOptions="/machine:AMD64 bufferoverflowU.lib"
OutputFile="\bin\Release\MM64.dll"
...
This is a rather dumb question but i'am looking at a bizarre situation.
I am running fedora and have python 2.6.5 installed. The other day i installed MySQL-python using yum (because i do not have the setuptools module so i cannot build it from source).
Anyway yesterday i wrote my entire data access layer in python and it was running f...
Is there a way in which I can export my server settings from WAS (running under RAD 6) such that other developers will be able to use the same script to set up their environment?
...
I've searched the site and haven't found exactly what I'm looking for. Close, but no cigar.
Basically I want to have a config section like this:
<configSections>
<section name="PhoneNotificationsSection" type="Alerts.PhoneAlertConfigSection,Alerts,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null"/>
</configSectio...
I am having an issue where I need to be able to specify the password when I run my packages.
This article http://support.microsoft.com/kb/918760 says:
Method 3: Set the SSIS Package ProtectionLevel property to EncryptSensitiveWithPassword
Change the SSIS Package ProtectionLevel property to EncryptSensitiveWithPassword. This setting u...
I have a CVS repository on Freebsd and a ssh access. When I use putty client connection is ok.
CVSROOT=:/labs/cvs
CVS_RSH=ssh
But when I try to do checkout with TortoiseCVS
CVSROOT :ext:root@server:/labs/cvs
error occurs:
cvs commit: warning: unrecognized response Access denied' from cvs server
cvs commit: warning: unrecognize...
I'm using My.Settings in my VB.NET application and when we run multiple instances rarely it's giving a ConfigurationErrorsException because the settings file locked by another instance.
Is there anyway to fix this?
This is happening during the OnShutdown process, also I'm not quite sure how can I catch that exception and handle it.
O...
Are there any recommended methods for automating configuring DotnetNuke settings? We will have several instances of our DNN application (prod, beta, qa, dev, local, etc) and need to be able to configure them all the same and be able to make updates to them all with our future releases. The settings currently needed to be configured inclu...
Hi guys,
I've been reading up on the merits of IIS 6 compression over at CodingHorror (here), but I don't get where I'm supposed to make those alterations. Web.config or somewhere else?
Thanks!
...
I'm using HTMLPurifier in a current project and I'm not sure about the most efficient way to go about handling multiple configs. For the most part the only major thing changing is the allowed tags.
Currently I have a private method, in each class using HTMLPurifier, that gets called when a config is needed and it creates one from the de...
Scenario
Ignoring that fact that some of the settings might be wrong and inconsistent or just not there!.
Why does the program fail to compile when I try and put these 2 separate configurations for WCF Services into the same APP.CONFIG file? One was writen by myself and another by a friend, yet I cannot get the application to compile. ...
I have something like this in mind:
<appSettings>
<add key="ConfigName" value="configuration" culture="1033" />
<add key="ConfigName" value="konfiguracja" culture="1045" />
</appSettings>
but the add element has only 2 attributes - key and value, so I guess it's not supported.
Next thing that comes to my mind is:
<appSettings>
<a...
I am new to using .config files, having worked on apps that use .INI files and the registry until very recently. I am seeing a behavior in VS2008 that I would not anticipate, and wonder if it is the expected one.
When I configure the Working Directory setting in the VS2008 IDE for my Foo.exe application, I would have guessed that Foo.ex...
Hi all,
I need to export the WebSite Configuration (MetaBase) from IIS6 for a whole server, but I need each web site configuration to be saved separately. The result should be the same that can be obtained by right clicking on each Web Site in IIS Snap-in and selecting All Tasks->Save Configuration to a File.
My idea is quite simple:
1- ...
I have extended a WCF service with new functionality in the form of a second service contract. The service.cs now implements both contracts. I have added another endpoint to expose the new contract operations. Here is my web.config relating to the service
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="Basic...
When using the Spring 3.0 capability to annotate a scheduled task, I would like to set the fixedDelay as parameter from my configuration file, instead of hard-wiring it into my task class, like currently...
@Scheduled(fixedDelay=5000)
public void readLog() {
...
}
Unfortunately it seems that with the means of the Spring Expres...
Hello,
I would like to include a default default.properties file in my .jar library. The idea is to allow the user to override my default is he so desires.
I'm having trouble getting the classloader to play nicely with this setup, I've tried to look a at popular jars such as log4j, common-* and others and it seems that no one is implem...
I would like to use IntelliJ IDEA for development of JBoss Seam project. seam-gen is creating the project stub, however the stub is not complete. In particular it is not clear how to deploy such project.
First of all I had to define manually web project facelet and add libraries to its deployment definition.
The other problem was pers...