similar to: railsmanual.com search from POST to GET

Displaying 20 results from an estimated 70000 matches similar to: "railsmanual.com search from POST to GET"

2006 May 28
9
Railsmanual.org
Did anyone else catch the redesign? I don''t know who''s responsible, but it''s lookin better! Good job... -- seth at subimage interactive http://www.subimage.com/sublog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060528/f9f92618/attachment.html
2006 Jul 07
5
Can a route require POST or GET? / REST problem with routing
Hi, A store front a customer wants to GET /product/5/show. But for the application this is really GET /cart_item/new/5 or even better /cart_item/new?cart_item[product_id]=5 When the customer clicks add_to_cart they POST /product/5/show so that the url doesn''t confuse the user when any validation errors occur. But for the applicaiton this should be POST
2006 Jul 03
2
rjs renders string or partial but not template or action
Hi, I have an rjs file. I only have one controller called called front. I have views called "new_title.rhtml" and "_new_title.rhtml" These work page.replace_html ''title'', ''new title'' page.replace_html ''title'', :partial => ''new_title'' page.replace_html ''title'',
2007 Jun 06
1
How to get title from a link
Hey all I have a question for ya. I want to be able to manipulate the title of a link, so I need to know how to read the title with $(). Here is some code. [START CODE] <html> <head> <script type="text/javascript" src="prototype.js"></script> <script type="text/javascript"> function whatUp() { var p =
2009 Aug 18
1
[PATCH server] Add of a button destroy for disabled hosts.
Add of a button destroy for disabled hosts. This button behave in a similar way than the delete button of a VM. Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux at orange-ftgroup.com> --- src/app/controllers/host_controller.rb | 5 +++++ src/app/services/host_service.rb | 15 +++++++++++++++ src/app/views/host/show.rhtml | 17 +++++++++++++++++ 3 files changed,
2014 Jan 08
0
[PATCH net-next 2/3] virtio-net: use per-receive queue page frag alloc for mergeable bufs
On Wed, 2014-01-08 at 19:21 +0200, Michael S. Tsirkin wrote: > Basically yes, we could start dropping packets immediately > once GFP_ATOMIC allocations fail and repost the buffer to host, > and hope memory is available by the time we get the next interrupt. > But we wanted host to have visibility into the fact that > we are out of memory and packets are dropped, so we did not want
2006 Mar 10
3
[Prototype] understanding evalScripts
Hi, I have a misunderstanding of what I though evalScripts would do vs what it actually does. I''m wondering if there''s a way that I can make it do what I want. my initial page: <html> <head> <script... var page = ''initial''; ... <body> <div id="replaceMe" <script... page = ''in
2008 Jan 31
3
Multiple form weirdness in IE6
I am having an issue where I have multiple forms on a page. The first form has a couple of hidden inputs. The second form has all the visible controls including three buttons. Each of these buttons has a behaviour attached to it (From Ben Nolan''s Behaviour.js) based on its id. The code for the first button is something like this (I am also using prototype.js): var button1Func =
2006 Apr 01
4
problems getting ActionMailer working (on server)
Hi, I''ve read the Agile Rails book''s chapter on ActionMailer a few times. Seems pretty straight forward. Unfortunately I can''t get my application to actually send mail. I uploaded my application to the web server and tried to get a mail message sent. Nothing happened. I looked in the log file and it says Sent mail: From: service@freedomkilts.com To:
2006 Jul 03
1
how to get value from the post on the List page
Hi, I''m new to Rails. I''m building a candidates tracking system for recruiting. I have a List page, but instead of listing every candidate, I only wanted to list the candidates in certain statuses. The first time List page is hit, by default, it lists candidates in status < 9. But on the List page, there is a dropdown where all the statuses are listed, so that when user
2006 Apr 06
2
how we can GET and POST values
hi all how we can do get and post value. i made one form and in this form their is two field loginname and password.and when i click on submit button than i t should verify from database and than the next page will arrive .how i can do that. how i can post value and than get it from that from and check .plese tell me yhis all in rubyon rails. hope for reply bye
2006 Sep 06
2
RJS Javascript oddity - trying to call Element.setStyle
Hi all, I have a really simple web page. Right now, it''s just a button and a square div. What I want to do is to change the background color of the div to red when the button is clicked. My form code looks like this: <%= form_remote_tag :url => {:action => ''color_show''} %> color_show.rjs looks like this: page <<
2006 Apr 05
1
Firefox - Form within a table issue
Hi, Has anyone seen this issue before? Oversimplified Problem: I have a table within which I have a form - <body> <table> <tbody id=''table_body''> <form id=''table_form''> <tr> <td><input type=text name=name value=mandy> <br /> <input type=text name=age value=26> <br
2009 Jul 16
2
[PATCH server] updated anyterm/ovirt integration
host static anyterm content locally, url parameterize anyterm rows/cols/general param update spec/makefile Ideally I wanted and tried hard to put all this into a seperate ovirt-server--anyterm subpackage, but we cannot 'reopen' the ovirt server virtual host defined in ovirt-server.conf to add the neccessary rewrite rules. it would be nice to figure out a way to do this ---
2005 Nov 08
1
Event.observers - I''m totally list - please help
Hello, I need some help on how to use the Event.observers - thank you in advance for your input. <div class="navcontainer"> <ul id="nav"> <li class="button"> <img src="images/spacer.gif" width="20" height="20"> </li> <li class="button"> <img
2008 May 16
3
radio button observe field only triggers once
Hi, If i add field observers to radio button fields they trigger once but then nothing after that. I have multiple fields in a form that i need to know if one of them changes and which spedific field. Below is an example of two foelds i tested and they trigger once with the alert but then nothing after that. I also tried individual observers for each field test_yes and test_no but with the same
2007 Jun 28
1
base Event.Observe question
I would like to putting all of the onXXXX inside an Event.observe(window, ''load''...) When I click the button it would''t alert the mssage in FF but IE is work? I believe it is related to bind.....but I''m not really familiar with this...so anyone can teach me how to do? <script> function hello(e){ alert(Event.element(e) + '' clicked'');
2004 Sep 29
0
Re: Mail Delivery (failure security-alert@hp.com)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is an automated response to e-mail sent to security-alert@hp.com. All potential security issues submitted will be carefully reviewed by the HP Software Security Response Team (SSRT). A follow-up message will be returned to confirm that we are investigating and if necessary to request additional information. Any non-security issue or
2006 Jan 19
7
validates_numericality_of positive integer
Hi, What is the simplest way to validate a positive integer? validates_numericality_of :foo, :integer_only => true how do I add the positive part? Do I need another validation statement for pattern matching or do I have to write a validate() funciton for my model? Thanks, Peter
2005 Nov 25
0
Login Authentication working in IE but not in Mozilla
I have gone through the following site for the creation of my login page: To mention I am using Windows XP pfofessional running on WEBBrick server http://wiki.rubyonrails.com/rails/pages/HowtoAuthenticate The code is given in the following 3 steps: 1)The controller that needs protection: class WeblogController < ActionController::Base before_filter :authenticate def index # show