similar to: Routing/Redirecting

Displaying 20 results from an estimated 30000 matches similar to: "Routing/Redirecting"

2005 Mar 02
2
form action in mail (actionmailer)
Hi everyone. : ) I meet problem when use form tag in actionmailer. (content-type is text/html, surely) I want to use form action in actionmailer''s view (.rhtml) for some reason. 1. I use start_form_tag helper method as normally, but how I can ? I did <%= start_form_tag :action => "http://myhostname/mycontroller/myaction" %> or <%= start_form_tag :action =>
2006 May 24
0
how to add a "pseudo" folder before the controllers/action/id
Hi, I''m trying to add a pseudo folder before the controllers, the website is working perfectly on http://w3.mysite.com/mycontroller/myaction, but I try to insere an actifical folder before the controllers like: http://w3.mysite.com/notrealfolder/mycontroller/myaction. Actually, rails considere the "notrealfolder" as a controller... does any one know how should I do to
2006 Apr 19
9
Initial load time when periodically_call_remote
When I do periodically_call_remote with e.g. :frequency => 30 after initial page load I have to wait 30 seconds until this partial renders first time. Does anybody know how to make ROR to render partial on web page load, and then start periodic calls every 30 seconds? I tried to put <div id=''mydiv''><%= render(:partial, :action=>''myaction'')
2007 Mar 31
1
Subdomains, Routing, and Subdirectory Controllers
For reference, this question is similar to "Subdomains, Session Data, & Routing" posted Oct. 31, 2006. Link: http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/d3c5072c3588a1e0/f87d0fdfded31650 ---- I would like to set up a subdomain and, using the request_routing plugin, have requests to that subdomain call corresponding "sub- controllers" inside a
2006 Jan 16
3
routing to controller inside module
Hey, am i to stupid to find the information about how to route to a controller in a module? Maybe module support has gone! The controller is under: app/controllers/admin/my_controller.rb The my_controller.rb file looks like this: module Admin class MyController def index render :text => ''Hello!'' end end end How does a route to all controllers under module
2006 Jul 18
4
Multiple Layouts - Single Controller
How do I do multiple layouts for a single controller: I am aware I can do... render(:layout =>''mylayout'') for individual actions, however this becomes a multiple render problem. I tried this... layout "mylayout", :except => [:myaction, :myotheraction] layout "myotherlayout", :only => [:myaction, :myotheraction] However that doesn''t
2006 Aug 08
1
Named routes and url generation?
Hi all In my application I''ve some named routes defined this way... map.label_context1 '':context1/label'', :controller => ''mycontroller'' map.label_context2 '':context1/:context2/label'', :controller => ''mycontroller'' map.label_context3 '':context1/:context2/:context3/label'', :controller =>
2006 Jun 15
1
Periodically Call Remote Condition
Hi guys, I''ve been reading through the forums and came across a response for adding :with condition to a periodically call remote. I tried it out and couldn''t make it work. Would anyone have a sample of how to use this conditional structure with periodically call remote? If not, does anyone have any idea how to add a condition to a periodically call remote? What I need is to
2013 Jun 17
2
[LLVMdev] vmkit java annotations
Hello everyone, I am able to work very well with annotations in C/C++, by using __attribute__((annotate("MYANNOTATION"))) static int a; . Inside the LLVM bytecode I have @llvm.global.annotations and @llvm.var.annotation. However, I was trying to test annotations also in Java, with VMKit. These are the commands that I run: javac -Xlint -g -O Main.java ../Release+Asserts/bin/vmjc Main
2013 Jun 17
0
[LLVMdev] vmkit java annotations
Hello Alexandru, No you did nothing wrong. We are using our own data structure to describe annotations in J3. So it is normal that you can not see your Java annotations inside the LLVM bytecode produced. If I remember well, our implementation of annotations do not rely on LLVM annotations. Regards, Harris Bakiras On 06/17/2013 02:19 PM, Alexandru Ionut Diaconescu wrote: > Hello
2005 Dec 21
3
Lazy Loading?
I''m having problems with what seems to be lazy loading behavior in Ruby on Rails. I have two objects in a parent-child relationship such as: class Order < ActiveRecord::Base has_many :items, :dependent => true end class Item < ActiveRecord::Base belongs_to :order end I put an instance of the Order object into the session using: session[:order] = Order.new
2012 Mar 16
0
uri authentication
Alistair - That's pretty much correct. It might be worth pointing out that the client will probably only prompt you to enter a username and password if it receives a 401 from the server. Icecast will respond to the client with a 401 if the call to the authentication script doesn't return the auth header ("icecast-auth-user: 1" by default). This is another way of saying that the
2013 Jun 17
0
[LLVMdev] vmkit java annotations
What classpath implementation are you using ? GNUClasspath or OpenJDK ? Harris Bakiras On 06/17/2013 03:57 PM, Alexandru Ionut Diaconescu wrote: > Hello Harris, > > Thank you for your answer. So it is there a way of annotating > variables in Java Code, so I can see them into LLVM bytecode? > > Thank you ! > > > On Mon, Jun 17, 2013 at 3:54 PM, Harris BAKIRAS
2006 May 18
0
QUESTION: Routing system scalability/best practices
Hello, I was wondering if people have a sense of the performance scalability of the routing system, in the number of map.connect statements. Is execution time (or memory usage) of routing any more than linear in the number of map.connects? I figure I''d ask before trying to reverse-engineer all the code generation... :) On a related note, the reason I potentially have a lot of
2013 Jun 17
2
[LLVMdev] vmkit java annotations
Hello Harris, Thank you for your answer. So it is there a way of annotating variables in Java Code, so I can see them into LLVM bytecode? Thank you ! On Mon, Jun 17, 2013 at 3:54 PM, Harris BAKIRAS <h.bakiras at gmail.com> wrote: > Hello Alexandru, > > No you did nothing wrong. > > We are using our own data structure to describe annotations in J3. So it > is normal
2005 Feb 10
1
Asterisk - SER Configuration
Hello all! I'm new in this ML and I write you for a suggestion about integrate Asterisk and SER. My idea is to use Asterisk as a local PBX server where users can authenticate and make local calls, but when a user dial a non local number, an asterisk extension call SER Server who redirct to right remote asterisk. Originally I make this only with asterisk where in everyone I setted iax.conf to
2004 Sep 23
0
Redirecting incoming PRI to PSTN
HI, I'd like to redirect an incoming E1 call to a local landline, at the moment I just do Exten => thenumber,1,Dial(Zap/g1/localnumber) However this seems to cause all sorts of problems with the fax machine on the end of that landline. Is there a better way to redirect a call? Cheers, Ben -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Apr 10
0
clarification about bridge the call
? Hello all, we will bridge the two asterisk call, after that i am trying to redirect the call to ivr. here i faced some problem 1)originate the first call sip/1-234 2)originate second call sip/2-245 3)bridge both the call 4)redirct both the call to IVR the call has been hangup..... which cammand i have to use in asterisk manager API Regards, Pandi.P -------------- next part
2008 Jul 09
0
wine-users Digest, Vol 36, Issue 30
No. No solution identified. I'm just closing the log and process windows and minimizing the X11 window. Annoying, but not a show stopper. You're using a later version of Wine than I am; I'm sorry to see it hasn't fixed this. On 7/8/08 wine-users-request at winehq.org wrote: > Message: 7 Date: Mon, 7 Jul 2008 23:10:35 -0700 (PDT) From: ewans > <esadie at
2007 Mar 26
2
Calling a controller action from script/console or runner
Is there a way to call or invoke a controller method from script/console or script/runner? The reason is that I''d like to pre-cache some of the actions on my controller. The pseudo code below is what I''d like to be able to do: class MyController < ApplicationController caches_action :test def test puts ''Hi there'' end end script/console: