Displaying 20 results from an estimated 2000 matches similar to: "REST error"
2008 Oct 30
1
Nested Resouces,not getting parent id(project_id) from form
Hi
i am using nested resources,here project having has many relation with
defects.
Main problem here is i am not getting project_id from edit form.What''s a
problem if any one knows please help.
edit.html.erb
<% form_for(@defect,@project) do |f| %>
<%=f.text_field :name%>
<%end%>
routes.rb
map.resources :projects,:has_many=>:defects
map.resources :defects
2008 Aug 30
5
make layout false
Hi
i am having lot of HTML files those files dont want layouts so, for
each rhtml i am mentioning in controller list.rhtml,edit.rhtml
def list
render :layout=>false
end
def edit
render :layout=>false
end
is any simple method to mention wat are the files dont want layout in
one line..
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
2006 Aug 14
1
Rest, routes, path_prefix and default params
I am trying to use routes with default params to have routes
''/mycompany/departments''
and
''/companies/1/departments''
mean the same thing (both restful routes).
When I set up the files as below, I get an error of
''Couldn''t find Company without an ID''
and my log file shows the following ..
Processing DepartmentsController#index (for
2017 Sep 01
2
[Gluster-devel] docs.gluster.org
Le mercredi 30 ao?t 2017 ? 12:11 +0530, Nigel Babu a ?crit?:
> Hello,
>
> To reduce confusion, we've setup docs.gluster.org pointing to
> gluster.readthedocs.org. Both URLs will continue to work for the
> forseeable
> future.
>
> Please update any references that you control to point to
> docs.gluster.org. At
> some point in the distant future, we will switch to
2005 Jun 02
2
redirect a defunct sc stream to icecast stream
On Fri, 2005-06-03 at 03:38, Daniel Ballenger wrote:
> Not sure about this, but I think the alias feature will do just that
> for you.
alias will not convert the file contents, for layout, m3u != pls even
though they are similar.
>From what it sounds like, all you need is to create the listen.pls file
in <webroot>, make it contain the details you want. icecast will then
server
2014 Mar 27
3
arm64 support
I have used the patch to build opus 1.1. Although I have not tried the
latest git master, will try that. Will that work for armv7, armv7s and
arm64?
On Wed, Mar 26, 2014 at 11:01 PM, Martin Storsj? <martin at martin.st> wrote:
> On Wed, 26 Mar 2014, Jonathan Lennox wrote:
>
>
>> On Mar 26, 2014, at 7:55 AM, Peter Robinson <pbrobinson at gmail.com> wrote:
>>
2007 Aug 07
5
small sample techniques
If my sample size is small is there a particular switch option that I need to use with t.test so that it calculates the t ratio correctly?
Here is a dummy example?
รก =0.05
Mean pain reduction for A =27; B =31 and SD are SDA=9 SDB=12
drgA.p<-rnorm(5,27,9);
drgB.p<-rnorm(5,31,12)
t.test(drgA.p,drgB.p) # what do I need to give as additional parameter here?
I can do it manually but
2011 May 09
1
Gluster text file configuration information?
Where can I find documentation about manual configuration of Gluster
peers/volumes? All documentation seems to be about the gluster CLI. I
would prefer manual configuration to facilitate automation via scripts
(e.g. Puppet/Chef).
I also read in this list that it is possible to configure Raid10 via
text files... I would also like to experiment with this setup. Any
related documents on how to do
2017 Sep 19
3
[Gluster-infra] lists.gluster.org issues this weekend
Le samedi 16 septembre 2017 ? 20:48 +0530, Nigel Babu a ?crit?:
> Hello folks,
>
> We have discovered that for the last few weeks our mailman server was
> used
> for a spam attack. The attacker would make use of the + feature
> offered by
> gmail and hotmail. If you send an email to example at hotmail.com,
> example+foo at hotmail.com, example+bar at hotmail.com, it goes
2007 Oct 04
5
combining vectors on unequal length
If I have two vectors
X<-1:10
Y<-1:5
When I combine them using cbind, the shorter one is repeated and both are made of the same length. Is there a methods that does this without duplicating the shorter one. I want to use this to store the data back to a file.
Thanks ../Murli
[[alternative HTML version deleted]]
2011 Sep 07
1
Gluster on Clustered Storage
Hi ...,
How does one deploy Gluster on a clustered storage i.e. two server nodes
with a common storage array?
Say one has, two server nodes connected to a common storage array, that
exports 2 LUNs visible to both nodes.
[ Server 1 ]------[ Storage ]------[ Server 2 ]
Each server node mount a single LUN, but in case one of the node fails, the
other node takes over the LUN.
[ Server 1
2011 Sep 12
1
Increasing max stat cache
Hi ...,
We have a Lustre Storage with large directories. Many of these directories
contain thousands of files and we have hundreds of such directories.
Directory Listing on Lustre is very slow, due to the nature of most Parallel
File Systems design. It takes around 4 Secs (during non-peak hours) to list
a 2000 file directory. And during heavy load times, this goes upto 10-11
Secs.
Since all the
2012 May 03
1
Incorrect line nums displayed in full text search
Hi,
Could you please clarify a query regarding full text search in Xapain?
I have installed LXRng (cross-referencer), which internally uses Xapain for
text search. I am using CentOS 6 & have installed the following Xapian
packages:
$ yum list installed | grep -i xapian
perl-Search-Xapian.x86_64
1.2.9.0-1.el6 @rpm-eprints-org-xapian
perl-Search-Xapian-debuginfo.i686
2005 Jun 03
1
redirect a defunct sc stream to icecast stream
On Fri, 2005-06-03 at 05:22, babu wrote:
> Karl,
>
> Have you got any ideas on some specific techniques to contain the details
> I want? I created an html file with a meta refresh to the m3u url, and
> this new listen.pls file actually works from IE, firing up a media player
> and loading the m3u playlist/stream. But it does not work from Netscape or
> Firefox. They send
2017 Sep 01
2
[Gluster-devel] docs.gluster.org
On Fri, Sep 1, 2017 at 9:42 AM, Michael Scherer <mscherer at redhat.com> wrote:
> Le vendredi 01 septembre 2017 ? 14:02 +0100, Michael Scherer a ?crit :
>> Le mercredi 30 ao?t 2017 ? 12:11 +0530, Nigel Babu a ?crit :
>> > Hello,
>> >
>> > To reduce confusion, we've setup docs.gluster.org pointing to
>> > gluster.readthedocs.org. Both URLs will
2000 Jan 25
1
smbpasswd changes root password
Hi,
This is a very scary problem I have here. I use a precompiled 2.0.6 samba
on my SGI IRIX 6.3 system. I also have smbpasswd file setup. When I tried
to change the samba password using smbpasswd program ( from a non root
account whic I use) I got an error messgae saying that it cannot change
the password. My goodness, I found that the instead of changing password
for my account smbpasswd
2013 Sep 23
1
Mounting a sub directory of a glusterfs volume
I am not sure if posting with the subject copied from the webpage of
mail-list of an existing thread would loop my response under the same.
Apologies if it doesn't.
I am trying to figure a way to mount a directory within a gluster volume to
a web server. This directory is enabled with quota to limit a users' usage.
gluster config:
Volume Name: test-volume
features.limit-usage:
2015 Jul 11
2
restrictions on module names
Hi,
I had named a module as "global" and it appears not to be recognized. It
appears a section
[global]
path=xxx
etc.
is interpreted as global parameters and not as a module named global. Is
that the expected behaviour? Any pointers as to what names are allowed for
modules will be appreciated.
Thanks,
Selva
-------------- next part --------------
An HTML attachment was scrubbed...
2008 Sep 20
3
without passwd
Hi, I have two Fedora box and rsync running on both systems. One system ip
is 192.168.1.110 and the other is 192.168.1.71. I run manually for the
following commands in both systems. my problem is whenever run it asking
the user passwd and i cannot run the same automatically using crontab. My
question is how to avoid the passwd option...
rsync -aPrv rsync://192.168.1.110/detailing/
2004 Aug 13
3
Tutorials on R
Hi !!
Is there a good tutorial for the R language ? I really find it hard to
find methods in R.
Thanks and Cheers ../Murli