similar to: Passing Variables to a sub template

Displaying 20 results from an estimated 4000 matches similar to: "Passing Variables to a sub template"

2006 May 01
5
Adding classes without script\generate
Can I add classes to a rails application manually i.e without using script generate Model/Controller? The reason I am asking, I added a class by putting it in the controller class. I can access the class and its method from command-line (irb), but when I try to instantiate it in another controller, I get "uninitialized constant" error. If I try using script\generate Model
2006 May 01
7
where should I put my hand-coded classes
I have a class that is hand-coded (not generated using generator). Is there a preferred location for the file. app/components ? does it matter? Thanks, -- Posted via http://www.ruby-forum.com/.
2006 May 02
4
passing data from controller to rjs and then to partial
Hello Experts, I am fetching data in my controller from a web service def search response = @@api.DoSearch() end and in my .rjs template, I am doing page.replace_html ''fields_chooser'', :partial => ''fields_chooser'' ,:locals =>{:response => response} page.visual_effect(:Appear, ''fields_chooser'') and in _fields_chooser.rhtml, I
2006 May 01
3
Using Classes in Rails
I am a beginner so please excuse me, if i am doing something totally wrong. I have created a class using "wsdl2ruby.rb" and here is what it looks like: class ServiceSoap < ::SOAP::RPC::Driver DefaultEndpointUrl = "http://balrog/services/SearchWorker/service.asmx" MappingRegistry = ::SOAP::Mapping::Registry.new Methods = [ ... -- Posted via
2006 Apr 22
3
Ajax call not being made on a Sortable list
Hi, I am creating a sortable list using this code: <%= sortable_element("fields_list", :url => { :action => "order", :id => @fields_list }) %> it creates a sortable and I can move elements up and down, but it is not making any call to the "order" method. I do not see any log activity in the development log nor do I see any errors there. The
2006 May 02
0
RE: Rails Digest, Vol 20, Issue 39
All assumptions aside, "rectest" and "salt" are usernames not databases/schemas according to the pasted config. If they were in fact different databases/schemas, this problem could never have happened. While different database brands may have tricks for ways to handle users and what they perceive as a database/schema, the fact remains that if 2 literally separate databases
2010 Oct 07
0
[LLVMdev] libcpu with m88k
What kinds of errors are you getting? On Thu, Oct 7, 2010 at 9:36 AM, Pradeep Ramachandran <pramach2 at uiuc.edu> wrote: > Hi, > I recently downloaded and installed the libcpu package (from http://libcpu.org > ) that uses llvm as the backend on my linux machine. I have a piece of > Motorola 88100 code (essentially the output of the 176.gcc benchmark > from SPEC CPU 2000) that
2007 Aug 04
2
[Q]lguest git repo location?
HI Rusty, I wanted to play with lguest. As it was recently merge upstream by Linus, i took a look and the location looks like driver/lguest*. Unfortunately my local git repo cannot get the 2.6.23-rc2 changes from upstream somehow :-/.[duh... says "Cannot get the repository state from http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git"]. i do not know what i am doing
2007 Aug 04
2
[Q]lguest git repo location?
HI Rusty, I wanted to play with lguest. As it was recently merge upstream by Linus, i took a look and the location looks like driver/lguest*. Unfortunately my local git repo cannot get the 2.6.23-rc2 changes from upstream somehow :-/.[duh... says "Cannot get the repository state from http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git"]. i do not know what i am doing
2019 Jul 27
2
Help on Optimization Remarks
Dear llvm-dev community, I am trying to analyze the optimization remarks generated through clang using -fsave-optimization-remark with -O3. --- !Analysis Pass: loop-vectorize Name: CFGNotUnderstood DebugLoc: { File: c-ray-mt.c, Line: 177, Column: 2 } Function: main Args: - String: 'loop not vectorized: ' - String: loop control flow is not understood by vectorizer I tried to look for
2010 Oct 07
2
[LLVMdev] libcpu with m88k
Hi, I recently downloaded and installed the libcpu package (from http://libcpu.org ) that uses llvm as the backend on my linux machine. I have a piece of Motorola 88100 code (essentially the output of the 176.gcc benchmark from SPEC CPU 2000) that I am trying to run using this emulator, but I am running into errors when trying to run it. Has anyone been able to successfully use the m88k
2018 Nov 17
2
Finding which optimization passes have failed
Dear LLVM community, How to find out which optimization passes have been performed and which passes have failed? Regards, Pradeep Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181117/20c7ad68/attachment.html>
2009 Oct 07
1
Save plot to text file
Dear all:I am sorry if I have missed a solution posted earlier. My collaborator (sitting in a different time zone and not on R) wants to re-plot the charts that I have obtained after some complex processing. There are thirty charts in all, of different types, and some are multi-plots (plot(new=T)). Is there a way to 'save' or 'dump just the x-y coordinates to a text/ASCII file, like
2006 May 02
3
web services on the client side
i am reading through chapter 20 of the agile web development book and trying to figure out how to use web services. i set up two different rails apps. one as the server and one as the client. setting up the server seems to work fine. but when i use the example at the end of the chapter to set up a client, i get the following error when i open the page: Missing API definition file in
2003 Jan 30
1
Samba File Sharing- Some Doubts?
Hi Friends, I didnot see any response for my previous mail. So I thought I would post it again. I want to run Samba on my linux desktop which is on NIS domain. I want to just share my files on linux box with windows machines on windows domain. My issues are : 1. Do I need to join the domain for sharing my files with them? 2. Do I need to have a login account for my linux machine on windows
2007 Nov 13
5
how to ensure signature compliance while mocking in ruby
On 13/11/2007, Pradeep Gatram <pradeep.gatram at gmail.com> wrote: > > Let me put my dilemma as an example. Take a look at a snippet from > FooTest. > > #using mocha > def test_method1 > Bar.expects(:method2).with(''param1'', ''param2'').once > Foo.method1 > end > > And now the implementation > > class Foo > def
2006 Feb 27
1
Query on multivariate time series
Hi, Could anyone inform how to perform multi-variate auto regression using the past 't' values for regression in R. I have looked at ARMA provided by DES library and mvr provided by PLS library but could not match them to my requirements. Specifically, I want the following Say I have attributes a1-a4. and the regression equation is as follows: a4(t) =
2008 Mar 21
1
modifying bandwidth
Hi, Pradeep: I believe you had some questions about modifying bandwidth for flows/VNICs. I believe that should be fine in the recently released bits, could you please check and lets know if you still have any questions about this. Bandwidth limits can be modified using: links: dladm set-linkprop -p maxbw=<value> linkname flows: flowadm set-flowprop -p maxbw=<value> flowname (I
2006 Oct 19
1
Fragmentation problem: Archive logs on ocfs1 and ocfs2
Hello All, I have few questions around our use of ocfs1/2 for archive logs on 10G RAC. Is there an article out there describing why fragmentation is a special concern for ocfs1/2? Are there ways to remove fragmentation short of rebuilding the fs? Is there a way to estimate how often we will need to rebuild the fs? Any special tools/packages available to handle this issue? Regards, Pradeep.
2009 May 11
1
Compiz licensing
David: I am trying to contact someone regarding Compiz licensing. I got your name by doing a search on "who to contact for compiz licensing" which sent me to a web article: http://lists.freedesktop.org/archives/compiz/2007-February/001413.html Can you direct me to someone (name, phone number) with whom I can discuss. Thanks and regards, -- Pradeep Jain pjain at