similar to: keep getting undefined method `rewrite'' error for mapped urls

Displaying 20 results from an estimated 4000 matches similar to: "keep getting undefined method `rewrite'' error for mapped urls"

2006 Apr 12
6
distinguishing mapped urls from ordinary action urls
I want to present different view depending on the url. example below: http://myapp/start/show?url=xZq http://myapp/xZq both addresses are controlled by a single controller and the same action. the second url is only mapped in routes.rb how can I distinguished the mapped url and present a slightly different view in it? Sabon -------------- next part -------------- An HTML attachment was
2006 Apr 13
0
redirect_to or link_to mapped url. any other way than "../../smth"?
Hi all, I''ve got my urls mapped so that http://myapp/url is the same as http://myapp/start/show/url. Is there any way to use "redirect_to" and "link_to" in this case? Currently I just use redirect_to("../@url") but perhaps there''s some way to make it properly, with :action etc. sabon -------------- next part -------------- An HTML attachment was
2006 Apr 20
0
link_to mapped urls
Hi all, I want my link_to links direct to my mapped urls, not the long ones with controllers and actions in them. What I have: in view: <%= link_to "random url", random_url %> routes.rb: map.random ''random'', :controller => ''start'', :action => ''random'' link_to results in "http://localhost:3001/start/random"
2010 Nov 19
3
Sweave Dynamic Graph Question
i have a time Series of IBM closing px from 1/1/2000 to today I want to graph the time serie by dividing the graph by year and month all the monthly graphs with the same year will go to one page. so from 1/1/2000 to 11/19/2010. i will have 11 pages, and each page will have 12 graphs (jan to dec) except for 2010. I am able to do it in R, but when i use sweave, I can only print the last page.
2007 Oct 19
1
Block iteration issues
Hello, I''m struggling with this stuff and can''t find an answer so please advise. What I''m trying to achieve @collection has 7 elements I want to: - cycle through all those elements - assign element["smth"] through element["smth3"] to @data.set1_smth through @data.set1_smth3 - the last iteration would be assigning element["smth"] to
2012 Apr 21
3
[LLVMdev] Remove function from module
How correctly remove function from module? For example: int f1(int x) { ... a = f2(smth); ... } int f2 (int y) { ... b = f1(smth); ... } I need delete from module both f1 and f2. They haven't uses in other part of module, but I can't delete them with eraseFromParent, because they are use each other. Yours sincerely, Kadysev Mikhail -------------- next part
2012 Apr 21
0
[LLVMdev] Remove function from module
Михаил wrote: > How correctly remove function from module? > For example: > > int f1(int x) { > ... > a = f2(smth); > ... > } > int f2 (int y) { > ... > b = f1(smth); > ... > } > > I need delete from module both f1 and f2. They haven't uses in other > part of module, but I can't delete them with eraseFromParent, because > they are use each
2012 Apr 22
0
[LLVMdev] Remove function from module
Михаил wrote: > Thanks, but I replaceAllUsesWith() - works well, but I still get bug in > eraseFromParent(): > > While deleting: i32 (%class.B*, i32)* %_ZN1B1xEi > An asserting value handle still pointed to this value! > UNREACHABLE executed at /Users/neonomaly/LLVM/LLVM/lib/VMCore/Value.cpp:561! The replaceAllUsesWith + eraseFromParent pattern remains correct, but there's
2012 Apr 21
4
[LLVMdev] Remove function from module
Thanks, but I replaceAllUsesWith() - works well, but I still get bug in eraseFromParent(): While deleting: i32 (%class.B*, i32)* %_ZN1B1xEi An asserting value handle still pointed to this value! UNREACHABLE executed at /Users/neonomaly/LLVM/LLVM/lib/VMCore/Value.cpp:561! Yours sincerely, Kadysev Mikhail 21.04.2012, в 23:45, Nick Lewycky написал(а): > Михаил wrote: >> How correctly
2004 Feb 22
0
own arp reply?
Hello all. I wonder if there is a way, to do smth like that: fot requests like: arp who-has 192.168.1.13 tell 192.168.4.31 arp who-has 192.168.1.122 tell 192.168.1.31 always answer 192.168.x,x ? i mean I'd have one machine which would have all the MAC's <> IS's like ( arp -s IP M:A:C ) And i'd like to give that 'data' to users, which
2004 Jun 14
0
a bit confused
hello there first of all - yes, I''ve read LARTC Howto; - yes, I''ve google''d a bit secondly - if i miss smth. please give me a pointer to some source of info, instead of shouting at me clue: from LARTC Howto [...] The frame is actually the unit on which traffic control is performed. [...] so when i''m shaping with htb ( and fe. sfq ), the kernel is
2012 Apr 21
0
[LLVMdev] Remove function from module
It also occurs on several (different) test cases. I have founded that assershion rises in void ValueHandleBase::ValueIsDeleted(Value *V); Code from function: // All callbacks, weak references, and assertingVHs should be dropped by now. if (V->HasValueHandle) { #ifndef NDEBUG // Only in +Asserts mode... dbgs() << "While deleting: " << *V->getType()
2015 Sep 24
0
OT: adding a wifi adapter to openvswitch
On 09/24/2015 04:47 PM, Alvin Starr wrote: > Actually I do a similar thing. Do you? > I use a VM as my home/office firewall. If your laptop/server/smth is permanently wired to the internet, there's no problem to bridge this interface to the VM. But the topic starter wants to connect to the cable or wifi and still have a firewall VM. WiFi client connection with WPA(2) PSK encryption
2004 Apr 09
1
HTB
Hello, I have problems with htb. The problem is that when I download any file via shaper with htb, the traffic is very dinamic, it jumps, for example: if i have set ceil = 128kbit the results that it jumps from 112kbps to 144kbps or smth like that maybe its not very bad, but when the traffic drops down to 40kbps or less and then after 1 or 2 seconds jumps to 144kbps, its bad :-( and it is often.
2012 Apr 22
2
[LLVMdev] Remove function from module
It is ModulePass with AnalysisUsage of CallGraph Yours sincerely, Kadysev Mikhail 22.04.2012, в 5:20, Nick Lewycky написал(а): > Михаил wrote: >> Thanks, but I replaceAllUsesWith() - works well, but I still get bug in >> eraseFromParent(): >> >> While deleting: i32 (%class.B*, i32)* %_ZN1B1xEi >> An asserting value handle still pointed to this value! >>
2012 Apr 22
0
[LLVMdev] Remove function from module
Михаил wrote: > It is ModulePass with AnalysisUsage of CallGraph Ah, then you'll need to update the CallGraph first. Use "CG.removeFunctionFromModule(F);" before deleting it. Nick > Yours sincerely, > Kadysev Mikhail > > 22.04.2012, в 5:20, Nick Lewycky написал(а): > >> Михаил wrote: >>> Thanks, but I replaceAllUsesWith() - works well, but I still
2015 Sep 24
0
OT: adding a wifi adapter to openvswitch
I know people used Parprouted to help with bridging wired with wireless. Have a look at it. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- > From: "C. L. Martinez" <carlopmart at gmail.com> > To: "Discussion about the virtualization on CentOS" <centos-virt at centos.org> > Sent: Thursday, 24 September,
2006 Apr 21
3
Conceptual q about rails
Classes like activerecord, etc contains strange elements like ''belongs_to :something'', ''has_many :smth'' etc.. what is it? I can''t find them in ruby lang documentation.. it''s similar to ''attr_accessor'' and other costructions, how I can create my own constructions and how I must understand them? Could anyone give me some links
2015 Sep 24
2
OT: adding a wifi adapter to openvswitch
On Thu, Sep 24, 2015 at 2:08 PM, Dmitry E. Mikhailov <d.mikhailov at infocommunications.ru> wrote: > On 09/24/2015 04:47 PM, Alvin Starr wrote: >> >> Actually I do a similar thing. > > Do you? > >> I use a VM as my home/office firewall. > > If your laptop/server/smth is permanently wired to the internet, there's no > problem to bridge this interface
2006 May 12
0
draft-proposal for Ajax.History - History/Bookmark handling in Ajax apps
Hi list, In one of my previous projects I had to satisfy the requirement of handling browser back- and forward calls within an Ajax application. Thus I didn''t get an urge to switch the JS part of this project to an other framework like dojo (which supports Browser history handling out-of-the-box), I had to come up with an idea of doing this with prototype/scriptaculous. The arisen