similar to: Controller/View Problem

Displaying 20 results from an estimated 2000 matches similar to: "Controller/View Problem"

2006 Mar 25
3
RAILS_ROOT Help Required!
Hi, I am new over here and also a newbie for Ruby on Rails. I am working on a simple webapp for my band work. I have created a upload controller/model and database which allows to save my files in the directory at /public/dump/. Uploading works but I can''t retrieve it. I have tried several ways. The model uses DUMP_PATH = RAILS_ROOT + "/public/dump" to save the file. But
2006 Apr 17
2
Simple Problem
Is it possible to select a portion of string? For example, in many websites, they give the first paragraph in the main page and link for the article on the other page. I remember this is available in PHP. Any help is appreciated. Thanks Rizwan -- Posted via http://www.ruby-forum.com/.
2007 Apr 19
1
CDR(dst) != CALLERID(dnid)
Hi guys, i just came to know that CDR(dst) field is set to current extension instead of the dialed no. i need to set it to DNID because our every user has 5 dids and i want to show the caller at the end of the month which numbers he dialed for every call, along with other cdr info. Our rating depends on the dialed number also. here is my extensions.conf exten=> 1212,1,Dial(SIP/rizwan)
2007 Jan 20
1
Connecting 2 asterisk servers
hi all, actually i have partially connected the 2 servers but there is a problem. 2 servers A and B server A forwards call to server B without any problem but when i try to forward call from server B to A, server shows the following error on the cli WARNING[7751]: app_dial.c:1081 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) == Everyone is
2010 Jul 22
2
[LLVMdev] problem using LTO
Hello, I down loaded "llvm-gcc4.2-2.7-x86_64-linux" and I built Spec2006 with it. It is great and except for one benchmark the rest work fine. I want to build them with LTO now. I followed the directions in " http://llvm.org/docs/GoldPlugin.html" and built ar, nm-new, and ld-new in binutils. I also built libLLVMgold.so. I get the following error: llvm-gcc: -use-gold-plugin,
2010 Jul 22
0
[LLVMdev] problem using LTO
On 21 July 2010 22:14, Reza Yazdani <ry.yazdani at gmail.com> wrote: > Hello, > > I down loaded "llvm-gcc4.2-2.7-x86_64-linux" and I built Spec2006 with it. > It is great and except for one benchmark the rest work fine. I want to build > them with LTO now. I followed the directions in > "http://llvm.org/docs/GoldPlugin.html" and built ar, nm-new, and
2004 Sep 10
2
Error initializing flac stream decoder.
Thanks for that email. The one lihe change I made is this : from #define FLAC__MAX_RICE_PARTITION_ORDER (15u) to #define FLAC__MAX_RICE_PARTITION_ORDER (6u) and that seemed to make decoder_new() happy, but it's promptly crashing after making a call to the read callback (below), then to the meta callback. The meta callback did nothing but print a string and return. I removed it, and
2004 Sep 10
1
Error initializing flac stream decoder.
I changed just the FLAC__EntropyCodingMethod_PartitionedRice struct, but it hasn't changed a thing. I'm still getting the same behaviour. typedef struct { unsigned order; unsigned parameters[1 << 6]; unsigned raw_bits[1 << 6]; } FLAC__EntropyCodingMethod_PartitionedRice; Any other thoughts? Thanks, Reza Josh Coalson wrote: > --- Reza Naima
2000 Jun 19
2
dyn.load error:
Hi, I have some S functions plus Fortran routines that I want to use in R. They work in S, but when I try to use "dyn.load" to link fortran codes in R , I get the following error. thanks, reza (I am using R-1.0.1 on windows NT, The name of fortran file (compiled Ratfor) is deldirld.o and it's in the D:\Reza\476\tv.gonsrc.R\ directory) >dyn.load("deldirld.o") Error in
2004 Sep 10
2
Error initializing flac stream decoder.
I've cross-compiled flac for the armv4l processor (rio receiver), and i'm trying to start up a decode thread : #include <FLAC/stream_decoder.h> .... FLAC__StreamDecoder *flac = NULL; flac = FLAC__stream_decoder_new(); if (flac == NULL) { printf("[DECODE] Unable to initalize flac object\n");
2010 Jul 20
0
[LLVMdev] LLVM and Spec2006
Hi Reza, -O4 is the highest level of LLVM optimization that I know of. But, I don't know if it has been tried on Spec2006. IIRC, Dan Gohman has run Spec. tests with LLVM, so he can provide more info. - fariborz On Jul 19, 2010, at 6:06 PM, Reza Yazdani wrote: > Hi, > > What are the best options to compile Spec2006 with LLVM compilers to > get the best performance numbers
2010 Jul 22
0
[LLVMdev] fp Question
On Jul 22, 2010, at 4:18 PMPDT, Reza Yazdani wrote: > Hi, > > I ran Spec2006 with -O4. All integer benchmarks passed, but only 8 > out 17 of floating point benchmarks passed. Is this normal or I > made a mistake in my build? Hi Reza. Somebody on Linux should answer, but I don't think it's normal. You may have checked out the source at a moment when it had a bug
2010 Jul 23
3
[LLVMdev] fp Question
Following is the list of fp benchmarks that fail. They all pass with -O3, but some fail with -O4. I did the test run. Thanks, Reza Estimated Estimated Base Base Base Peak Peak Peak Benchmarks Ref. Run Time Ratio Ref. Run Time Ratio -------------- ------ --------- ---------
2006 Apr 13
3
Creating 2nd rails app on Dreamhost?
My hosting provider is Dreamhost, and for some reason can''t figure out something that should not be that hard to do. Being a linux newbie isn''t helping me much either :-) On Dreamhost, each domain gets its own subdirectory. To setup my web app for each domain, I just go to the parent directory of that domain in a telnet session, and type "rails mydomain.com", and
2019 Aug 20
2
Re: Compiling Libvirt on Windows for Hyper V support
Hi, I have attached my compressed config file. Thanks, Reza > On Aug 20, 2019, at 12:03 PM, Daniel P. Berrangé <berrange@redhat.com> wrote: > > Re-adding the mailing list CC - please don't drop it. > > On Tue, Aug 20, 2019 at 11:54:34AM -0400, reza shahriari wrote: >> Hi, >> >> I am using msys2. When I run `./configure` without any parameters
2012 Sep 20
0
[LLVMdev] llvm-config!
Could you give us more information? If your package manager does not have 2.8 (I would hope it doesn't! that version is very old!), I would recommend downloading 2.8 from http://llvm.org/releases/, and then building it yourself. --Sean Silva On Wed, Sep 19, 2012 at 6:31 PM, Reza Sheykhi <hajishey at msu.edu> wrote: > Hi, > > I am trying to install a program that works just
2012 Oct 02
4
[LLVMdev] llvm-g++ does not work!
Hi, I am using PinaVM which is a prototype of a SystemC front-end based on "LLVM". The only version that it works with is 2.8. Also to test PinaVM, we need llvm-g++ (I think clang does not work). However, when I want to run an example, i get the following error, which i think is related to llvm-g++: reza at RezaUbuntu:~/pinavm-pinavm/systemc-examples/jerome-chain$ make promela
2012 Oct 02
0
[LLVMdev] llvm-g++ does not work!
The issue here (even if you get dragonegg working) is that the thing that most newer linuxes install when you apt-get llvm-gcc isn't actually llvm-gcc, it's gcc with the dragonegg plugin. Even if the plugin issues are sorted out, the "fake" llvm-gcc doesn't support -emit-llvm so this wouldn't work. You'll probably need to pull a 2.8 of it from llvm.org or a
2019 Aug 20
2
Re: Compiling Libvirt on Windows for Hyper V support
Hi, I tried that out, I got a new error about pthreads in my config.log. Could you take another look. Thanks again, Reza > On Aug 20, 2019, at 12:36 PM, Daniel P. Berrangé <berrange@redhat.com> wrote: > > On Tue, Aug 20, 2019 at 12:29:15PM -0400, reza shahriari wrote: >> Hi, >> >> I have attached my compressed config file. >> >> Thanks,
2012 Sep 24
2
[LLVMdev] llvm-config!
Hi, Thank you for your repky. I downloaded llvm-2.8 and installed it by first ./configure and then ./make it. It was installed in /usr/local as i expected. However, when i tried to run llvm-config-2.8, for example --version, it was not ran. Then, I used apt-get to installed the llvm-2.8-dev to have llvm-config. Did i do anything wrong? Also i do not know if these two installed llvms are