similar to: how to find the helpers code ?

Displaying 20 results from an estimated 3000 matches similar to: "how to find the helpers code ?"

2005 Dec 14
4
newbie q: Form element focus
This is probably a dumb question, but is there an easy way to set the focus of a form to the first visible/editable element? I''ve been googling lots and searching documentation and haven''t come up with anything. Help would be appreciated. -- Posted via http://www.ruby-forum.com/.
2006 Feb 16
9
association not inserted automatically.
Hello, I am trying to write a sample application. I have class LineItem< ActiveRecord::Base belongs_to : order end && class Order < ActiveRecord::Base has_one :line_item end Now in the controller i am trying : def add @ord = Order.new(params[:ord]) @ord.line_item = LineItem.new(params[:lineitem]) if @ord.save redirect_to :action => ''list'' else render
2006 Apr 25
3
how to get the count/index of the current row ?
I have a partial to which i pass a collection. That views name is _row. So row.name, row.ssn gives me the details of each object in the collection, But i need to display 1. name 123456798 2. name1 234567890 how to get that Index ??? or count or whatever in that partial ?? please help. -- Posted via http://www.ruby-forum.com/.
2006 Apr 05
1
FormTagHelper form names: possible?
Thank you to everybody that has helped me since I signed up. I''m flying along thanks to you. I have a question about the FormTagHelper "start_form_tag": I''ve been trying to figure out how to get Rails to output a "name" attribute for my form so I can hook in a Javascript to focus on a field inside of it on load, but it doesn''t look like I can do
2006 Aug 15
1
Question on start_form_tag and get post method
Hi all, I have a simple question about start_form_tag. It default generates method=post. I was wondering how you could use start_form_tag to generate method=get. Probably a simple question but one I can''t answer with the API doc. Thanks in advance, Onno
2006 Jul 12
5
start_form_tag n00b question
Hi, I''m wondering if there is any way to specify the id of a form tag with the start_form_tag helper. I''ve tried playing around with ", id=>"marginForm" " and also inclosing both the action variable and id variable in curley brackets. The Rails API doesn''t off much help for a n00b like me. It''s probably really easy but any help you guys
2010 Jul 14
1
[LLVMdev] LoopInterchange Pass
--- On Tue, 7/13/10, Satya Jandhayala <satya_jandhayala at yahoo.com> wrote: From: Satya Jandhayala <satya_jandhayala at yahoo.com> Subject: LoopInterchange Pass To: llvmdev at cs.uiuc.edu Date: Tuesday, July 13, 2010, 12:06 PM Hi,   I developed a Loop Interchange pass. Please take a look. I have not incorporate data dependence analysis check. I can insert it when the
2006 Jan 19
8
Passing variables across forms
I''ve been reading my Agile Dev book over and over again, but I can''t wrap my head around how to do this. There''s a question and answer portion site of my site. You begin the process by adding a question to the database. After that, the program should redirect you straight to adding an answer for that question. The problem is, I don''t know how to keep
2010 Jul 14
0
[LLVMdev] LoopInterchange Pass
Hi Satya, On Tue, Jul 13, 2010 at 12:06 PM, Satya Jandhayala < satya_jandhayala at yahoo.com> wrote: > Hi, > > I developed a Loop Interchange pass. Please take a look. > I have not incorporate data dependence analysis check. I can insert it when > the LoopDependenceAnalysis is available. > Have you tried using include/llvm/Analysis/LoopDependenceAnalysis.h ? Please
2010 Jul 13
4
[LLVMdev] LoopInterchange Pass
Hi,   I developed a Loop Interchange pass. Please take a look. I have not incorporate data dependence analysis check. I can insert it when the LoopDependenceAnalysis is available.   Thank you Satya -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100713/654d5fd5/attachment.html> --------------
2008 Sep 26
6
Mapping hvm guest pages in Dom0
hello, I would like to map (Read/Write) pages owned by a HVM guest from my Dom0 Linux kernel module. I have access to the "machine frame numbers" of these pages. 1. What is the right interface to do this? kmap needs ''struct page'' ptrs which I doubt exist for pages owned by a HVM guest. Is there a hypercall to do this then? 2. Do I need to modify the HVM behavior in
2009 Oct 01
1
Java Script
Hi I am new to this group, i heard that this is a dedicated group with java script experts. if this is true then i want to be part of this. Please make me your friend. -Satya
2006 May 18
6
Form actions with additional parameters
Hiall, I want to give the action of a form an additional parameters but can''t figure out how to do it. My code looks like this <%= start_form_tag :action => ''create'', next_step => true %> <%= render :partial => ''user_form'' %> <%= render :partial => ''community_form'' %> <%= submit_tag
2006 Jul 03
2
Still struggling with data flow ...
Hello, The following view: <%= start_form_tag %> Enter term to find <p> <%= text_field_tag :name, params[:name] %> </p> <%= link_to "Find", { :action => ''find_term''} %> <%= end_form_tag %> does not appear to pass back the value of :name to the action: def find_term term =
2006 Feb 21
2
start_form_tag with method GET
Hi, How can I get start_form_tag to use GET instead of POST? I have tried... <%= start_form_tag {:action => ''search''}, {:method => ''get''} %> But it doesn''t work... compile error ./script/../config/../app/views/search/index.rhtml:35: syntax error _erbout.concat(( start_form_tag {:action => ''search''}, {:method =>
2007 May 17
3
Converting Full Virt to Para virt
Hi, I am running xen-unstable , now i have a Full Virt DomU running RHEL 3 update 5 wanted to know is there a way to convert this vm to Paravirt . regards Satya _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2006 Nov 11
1
Disable foms when submitting
Hey, I want to disable the form when an user submits, I know that u can do this with javascript. But i dont want to put code for each form on my website, and I have a lot of forms like.. <%= start_form_tag :action => ''create'' %> <table width="100%" border="0" cellpadding="0" cellspacing="5"> <tr> <td
2006 Jun 30
4
Serious noob question. Any help would be great
Hi All, I''m working on building an app that can log and edit phone call information. I''ve got the creating and editing parting working great, and I''ve started an attempt to add searching. I can''t seem to figure out how to get an [:id] parameter from a form and passed between two controller methods. Right now I have a web page with a single text field in it
2005 May 17
2
Noob - ActionView::Helpers::FormOptionsHelper::select
Hi, I''m just starting with Rails and i''m trying to do something like this: <%= start_form_tag :action => ''add_user'', :id => @social_event_group %> <%= select ''user'', ''id'' , User.find_all.collect {|u| [ u.login, u.id ] }%></p> <%= submit_tag "Add User" %> <%= end_form_tag %>
2006 Jun 27
3
start_form_tag question..
i am trying to get a start_form_tag working, but i am shooting blanks.. here''s what i am trying to do.. i have a controller called "forms.." with an action "new_entry".. it is called by: localhost/forms/new_entry this is just a quick form to test another action.. that action is: localhost/logger my question is, how do i construct start form tag in order to