similar to: Forms with and without Models and Error Handling

Displaying 20 results from an estimated 3000 matches similar to: "Forms with and without Models and Error Handling"

2006 Aug 17
1
del.icio.us api - repeating in my layout??? HELP!
I''m pulling in my most recent 6 entries from my delicious account based on a certain tag. This was working fine for about a week - I just visited my site, and each time I visit, it keeps adding the same 6 bookmarks below the current 6. So, everytime you navigate throughout the site, it adds 6 bookmarks to the last (but it''s the same list over and over). I have a function
2006 Jun 30
1
Apache Cache
Hi, I have a strange problem. I have implemented fragment caching. I am pulling my delicious links to my site. I print out to the log every time it connects to delicious. >From the logs I see that it is not using the cached fragment. It connects on every page load. This is running under Apache2 (ubuntu). I am using the default .htacess file that came with RoR. However when I run it
2006 Mar 24
3
Using Tags in Applications
I''ve been contemplating the utilization of "tags" functionality for categorizing records in my application. For example, a record can have any tag associated with them: volunteer, donor, phone_caller, etc. (Much like delicious) Has anyone already laid out a good architecture for implementing this on the DB, or other medium? I''m sure I can custom build something, but
2006 Mar 07
7
m:n or multiple 1:n?
I have a Newbee question: i have three tables and want to connect them. so is it stupid to make a triple m:n (rails style xs_ys_zs) or do i have to make a new table (newtable) where i got multiple 1:n? the habtm (has and belongs to many) do only work proper to join two tables, or i am wrong? -jens -- Posted via http://www.ruby-forum.com/.
2010 Apr 19
2
[LLVMdev] Performing my own pass with a single command line?
Hello, As far as I know, the LLVM pass manager only perform at the llvm bytecode level. This means for each program, I have to convert it to a LLVM bytecode by: llvm-gcc -c -emit-llvm test.c then, I can issue the llvm pass manager to invoke my own pass and produce an output as LLVM bytecode, such as: opt -my-pass < test.o > test.new.o After this point, I need to convert it to assembly
2006 Mar 31
4
javascript help
Hi list, I have a list of tags. I want to be able to click on a tag and have that tag name populate an input field. I think delicious used to allow you to click on existing links to tag your bookmark similar to this (moving instead to auto_complete). My guess is the code looks something like this.... <form> <input type="text" name="all" id="discover"
2007 Nov 26
2
[LLVMdev] Problem with regression tests using stderr
On Tue, Nov 20, 2007 at 07:01:25PM -0800, Bill Wendling wrote: > I think that it's a hold-over to how things used to be done. IIRC, > you had to have the && at the end of the RUN line if you had another > RUN line that needed to be executed. That's no longer the case, of > course. Thanks. I'll remove the && from the one test that still has it then.
2006 Mar 07
2
redirect after validation
I have a difficulty with something that makes me think I don''t understand an aspect of Rails what. I''ve made a sort of blog site, and under each article I show the comments and a comment form. The comment model validates whether the user has entered his name. When he hasn''t, I want to send him back to the form with his comment text still there. In the comment/create
2010 Apr 19
0
[LLVMdev] Performing my own pass with a single command line?
Dear Zheng Wang, You have a few options: 1) You can add your pass to the set of passes that llvm-gcc runs when it optimizes code. This requires re-compiling llvm-gcc; it also means that your pass must be able to run on incomplete programs and be run multiple times over the same code (i.e., it cannot do whole-program analysis). 2) You can change the build system of the program you're
2007 May 13
1
Dropdown boxes in tcltk and R
Hello, I'm very much a newbie in R and more so in tcltk so apologies if this question is stupid. Basically I am trying to use the combobox example found here: http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/DropDown.html . What I want to do is in that example get fruitChoice as a variable in R in general. When I run that code, however, and the ask for fruitChoice it says
2010 Apr 21
1
[LLVMdev] Performing my own pass with a single command line?
Hi John, Are there any documents about how to add a pass into LTO? Cheers, Zheng On 19 April 2010 15:11, John Criswell <criswell at uiuc.edu> wrote: > Dear Zheng Wang, > > You have a few options: > > 1) You can add your pass to the set of passes that llvm-gcc runs when it > optimizes code.  This requires re-compiling llvm-gcc; it also means that > your pass must be
2007 Mar 01
2
function with Multiple Output
Dear R user, I have a simple question for you: I have created a global function that evoke other subsidiary functions. when I run the global function I want to store the outcomes of the of each subsidiary function into a variables. an examples my.fun=function(vector, index){ a=fun.a(vector, index) b=fun.b(vector, index) } if i use return() I can only retrive one single results.
2007 Nov 27
0
[LLVMdev] Problem with regression tests using stderr
Can you please file a bug for this (i havent seen one yet). Thanks, Tanya On Mon, 26 Nov 2007, Dan Gohman wrote: > On Tue, Nov 20, 2007 at 07:01:25PM -0800, Bill Wendling wrote: >> I think that it's a hold-over to how things used to be done. IIRC, >> you had to have the && at the end of the RUN line if you had another >> RUN line that needed to be executed.
2018 Mar 13
2
Passes interaction running on two different IRs
Hi all, I am trying to run two llvm passes on two different IRs to finish my analysis. These two passes need to exchange information during their excecution. I am doing so because I can't link the two IRs I want to analyze together as a big IR and run my llvm pass on it. What I want to do specifically is: The first IR will call the functions in the second IR. Whenver there is a function
2007 Nov 27
1
[LLVMdev] Problem with regression tests using stderr
Ok, it's PR1826. Dan On Mon, Nov 26, 2007 at 05:15:38PM -0800, Tanya M. Lattner wrote: > > Can you please file a bug for this (i havent seen one yet). > > Thanks, > Tanya > > On Mon, 26 Nov 2007, Dan Gohman wrote: > > > On Tue, Nov 20, 2007 at 07:01:25PM -0800, Bill Wendling wrote: > >> I think that it's a hold-over to how things used to be
2010 Sep 01
5
validation errors bring up stack trace error page
hello! I made some custom validations for my app, which do catch invalid data in the console. However, when I enter invalid data through a form on the browser view, I get your stack trace error style page (similar to what you see when you get a syntax error or a nil object) instead of the nicely styled error messages (what you would see in a scaffolded application. First off, what is the stack
2007 Dec 24
3
[new user] some features requests ...
Hi, After many tries, i''ve decided to give up dynamic websites, which definitely do not match my needs, and instead replace my blog by a webgen site. I''ve however some unanswered questions. 1) RSS One of the main interest of dynamic website is the ability to provide user a view to last updated pages, thanks to RSS. Is there a way for webgen to generate a RSS file from last
2006 Apr 23
5
Newbie Ajaxy Question
Hi all, I''ve been trying to figure this out by myself and while I feel I''ve made some progress, I feel kind of stuck. Let me see if I can explain what I''m trying to do. I have a very simple form with a text box and a text area. The text in each of these will eventually make it into a row in a table in my database. For now, the value in the text box represents a
2011 Aug 08
1
Display a DataFrame in a data grid
Hi, all; I'm new to R. Have been a SAS developer for over 20 years. Whenever I create a new table - you call them dataFrame objects - or modify an existing one, I like to open the table in a grid with horizontal and vertical sliders so that I can scan across the table and (especially) look at all four corners. If I made a gross error, it often shows up when I look at the corners of
2012 Apr 06
1
system command and Perl confusion
Hello, I'm having a question related to the system command within R: I try to evoke a perl script from within R with something like system(paste('perl myscript.pl', some parameters ....,sep=" ") This works just fine as long as I do not use any additionally installed Perl module, as this leads to a "Can't locate Statistics/Descriptive.pm in @INC ....." This