similar to: Catching Errors

Displaying 20 results from an estimated 10000 matches similar to: "Catching Errors"

2006 Mar 18
0
How to use "form_remote_tag" to retrieve the values
Hi all, I am validating a form, wherein i could display all the error messages are displayed in the same page, but the problem is whenever it displays the errors at the same time it is refreshing all the fields. Instead, I am interested in preserving the validated values but refreshing only the fileds that failed validations and corresponding message to be displayed. In some post i read about
2006 Mar 15
4
Ruby - Feed Generators
Hi All, Can anyone help me in making feed[xml/rss] generator for a webpage based on ruby/ruby on rails. Tell me if any ruby code is already available, to generate feeds for a webpage. Thanks in Advance. Sumanth. -- Posted via http://www.ruby-forum.com/.
2007 Jul 07
0
Events in view question
I have taken an example wherein, using Ajax, the values of a second combobox are populated by a change in the primary combobox. The code is shown below. I realise it will seem as though I am asking someone to write the code for me, BUT, can someone please show me, by way of an example how to amend my index.rhtml below to use, say a radio button group instead of a combobox, wherein when you change
2006 Aug 18
0
AJAX question
Dear all, Help me get a simple AJAX behavior right. I know zero AJAX, thus please advice. Below is a simplification of the real code and I hope I can describe my intention clearly. class StoreController < ApplicationController def show_cart @cart = Cart.new @new_item = CartItem.new end def add_item @new_item = CartItem.new(params[:new_item]) if
2006 Aug 18
0
Simple AJAX question
Dear all, Help me get a simple AJAX behavior right. I know zero AJAX, thus please advice. Below is a simplification of the real code and I hope I can describe my intention clearly. class StoreController < ApplicationController def show_cart @cart = Cart.new @new_item = CartItem.new end def add_item @new_item = CartItem.new(params[:new_item]) if @new_item.valid?
2006 Mar 13
5
Ruby on Rails Applications - To get RSS Feeds
Hi, all I am new to Ruby and also Ruby on Rails. I would like to know how we can get the RSS Feeds and display them in a Ruby on Rails applications. Thanks in Advance, sumi -- Posted via http://www.ruby-forum.com/.
2017 Jan 06
2
LLVMTargetMachine with optimization level passed from clang.
> -----Original Message----- > From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Mehdi > Amini via llvm-dev > Sent: Friday, January 06, 2017 11:10 AM > To: Sumanth Gundapaneni > Cc: LLVM Developers > Subject: Re: [llvm-dev] LLVMTargetMachine with optimization level passed > from clang. > > > > On Jan 6, 2017, at 10:56 AM, Sumanth
2006 Feb 01
3
Problem using form_remote_tag and multipart
I have a form and e file field, and what I''m trying to do is when the file is uploaded, a div shows the uploaded image using ajax, without refreshing the page. But the problem I''m having is that with form_remote_tag it won''t accept :multipart => true. Any ideas? Thanks a lot
2008 Nov 10
10
[LLVMdev] Validating LLVM
Back during the LLVM developer's meeting, I talked with some of you about a proposal to "validate" llvm. Now that 2.4 is almost out the door, it seems a good time to start that discussion. I've written up a detailed proposal and attached it to this message. The goal is to ease LLVM use by third parties. We've got consideral experience with LLVM and the community
2015 Jan 29
4
[LLVMdev] CPUStringIsValid() into MCSubtargetInfo and use it for ARM .cpu parsing
Tim, How about the below option ? 1. Specify an existing generic armv7 CPU or the CPU which is close my custom variant. My custom variant can be treated as "cortex-a9" + hwdiv. So my CPU here is "cortex-a9" 2. Specify the ".arch_extension idiv" which is available as an extension for my custom variant. 3. Teach LLVM & Clang about your CPU's
2007 May 25
1
form_remote_tag :condition
I am using the following validation prototype-based js library: http://tetlaw.id.au/view/javascript/really-easy-field-validation What I am trying to do is upon submitting a form via AJAX, I want it to meet the conditions of the validation of the function validateMe() If it passes, go ahead and continue and push the form information via an AJAX call. This is what I have: <% form_remote_tag
2015 Jan 28
2
[LLVMdev] CMake: Gold linker detection
I reacted as per my case. You need CFLAGS in order to what linker you might be using. In case of clang, you can use “-fuse-ld” to control the invocation of linker. In my opinion, it is not necessary to carry forward LDFLAGS unless you want to control specific parts of the linker. In my case, I have a cross compiler for ARM and I usually compile the code with Clang
2014 Dec 16
2
[LLVMdev] [Compiler-rt] -march=aarch64 flag in gcc/clang
On 16 December 2014 at 21:12, Gundapaneni, Sumanth <sgundapa at quicinc.com> wrote: > The point here is, if you are not building for Android. > You will hit this patch with cmake configuration -DCOMPILER_RT_TEST_TRIPLE=aarch64-linux-gnu > > + elseif("${COMPILER_RT_TEST_TARGET_ARCH}" MATCHES "aarch64") > + test_target_arch(aarch64
2014 Dec 10
2
[LLVMdev] [Compiler-rt] -march=aarch64 flag in gcc/clang
On 10 December 2014 at 16:06, Renato Golin <renato.golin at linaro.org> wrote: > Hi Sumanth, > > Christophe (cc'd) is seeing the same problems on his build. It seems > that r181130 (by Tim) has something to do with it, but I'm not sure. > > I remember trying to build compiler-rt on AArch64 natively in > February, and even running the test-suite with it, so
2017 Jan 06
3
LLVMTargetMachine with optimization level passed from clang.
Here is a problem scenario. I want to enable a backend pass at -O2 or above. if (TM->getOptLevel() >= CodeGenOpt::Default) addPass(&xxxxx); This pass will be run at -O1 too since clang is creating the TargetMachine with CodeGenOpt::Default for -O1. --Sumanth G -----Original Message----- From: mehdi.amini at apple.com [mailto:mehdi.amini at apple.com] Sent: Friday, January 6, 2017
2015 Jul 28
0
[LLVMdev] [ARM]__modsi3 call in android
On 28 July 2015 at 17:52, Sumanth Gundapaneni <sgundapa at codeaurora.org> wrote: > Android bionic libc doesn’t provide a __modsi3, instead it provides > “__aeabi_idivmod”. Hi Sumanth, Have a look at ARMSubtarget.h, functions: bool isTargetAEABI() They control the lowering of DIV/MOD calls in ARMISelLowering.cpp. Maybe Android needs to be in? cheers, --renato
2015 Jan 31
0
[LLVMdev] CPUStringIsValid() into MCSubtargetInfo and use it for ARM .cpu parsing
I have pushed the patch here: http://reviews.llvm.org/D7316 Review it and let me know. --Sumanth G > I have tried ".arch_extension" and it works perfectly fine for me. > I will move ahead and add the arch_extension framework to ARM. > > Thanks for your guidance guys. > --Sumanth G > -----Original Message----- > From: Renato Golin [mailto:renato.golin at linaro.org]
2014 Dec 16
2
[LLVMdev] [Compiler-rt] -march=aarch64 flag in gcc/clang
The point here is, if you are not building for Android. You will hit this patch with cmake configuration -DCOMPILER_RT_TEST_TRIPLE=aarch64-linux-gnu + elseif("${COMPILER_RT_TEST_TARGET_ARCH}" MATCHES "aarch64") + test_target_arch(aarch64 "-march=aarch64") I don't see "-march=aarch64" is a valid flag on either LLVM or GCC. Should we replace this
2006 Jan 29
1
ActionMailer Validation
Hi, I''ve finished an ActionMailer setup using form_remote_tag It works fine but now I want to validate the content, like the email (its a mailing list signup) I can''t find any information on validating ActionMailer, all the material I can find on validation makes use of ActiveRecord. Any ideas? -- Posted via http://www.ruby-forum.com/.
2007 Jan 23
0
validates_presence_of fields. in parent ok, but how in children?
i have the problem that my child class fileds aren''t validated on saving the parent. working with parent and child works without problems. if all fields are filled correctly everything is saved as expected. but missing fields in the child arent added to the errors. following short sample shows what i try: Model ----------------------------------------------------- class Parent <