similar to: components actions with 1.1.6

Displaying 20 results from an estimated 6000 matches similar to: "components actions with 1.1.6"

2006 Aug 14
0
Component actions not working after upgrade 1.1.6
I have been using some components that render links to actions within themselves. For example a Lens::MatrixController outputs: <%= link_to format, { :controller=>''/lens/matrix'', :action => ''choose_format'', :format => format }, { :class => "styledA" } %> This was working fine until I upgraded to 1.1.6 after seeing the security
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
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 Aug 10
0
DHH''s Post on Ruby Talk -- Rails 1.1.6: Stronger fix, backports, and full disclosure
The cat is out of the bag, so here''s the full disclosure edition of the current security vulnerability. With Rails 1.1.0 through 1.1.5 (minus the short-lived 1.1.3), you can trigger the evaluation of Ruby code through the URL because of a bug in the routing code of Rails. This means that you can essentially take down a Rails process by starting something like /script/profiler, as the code
2007 Apr 20
1
Problem with form_tag
Hi all! I''ve seen this problem in several places in the list, but none of the remedies suggested seem to be helping me much. I have a view like so: HELLO <% form_tag :action => "create" do %> <p>My pretty form!</p> <p><%= text_field "foo", "bar" %></p> <p><%= submit_tag "Do
2008 Oct 11
1
1.1.5 and 1.1.6 make errors
Wine 1.1.4 builds, however attempts to make 1.1.5 and 1.1.6 result in: {standard input}: Assembler messages: {standard input}:7408: Warning: end of file not at end of a line; newline inserted gcc: Internal error: Segmentation fault (program cc1) Please submit a full bug report. See <http://bugzilla.redhat.com/bugzilla> for instructions. make[2]: *** [menu.o] Error 1 make[2]: Leaving
2005 May 25
1
Shorewall 2.3 problem
Hi to all. I recently upgraded to shorewall ver 2.3 from 2.0 after fixin some minor config problems, I also upgraded iptables from 1.2 to 1.3 (rpm-based install) but when I tried to start shorewall it terminates and I noticed it''s giving me this error iptables: No chain/target/match by that name ERROR: Command "/sbin/iptables -t mangle -A PREROUTING -m connmark ! --mark 0 -j
2006 Apr 29
11
Multiple actions from one form - possible?
Hello * Obviously the rhtml below does not work, but it should be apparent what I try to achieve - I would like to give the user the choice to submit a form either to action1 or action2 but I cannot figure out how?! It would be great if someone could give some assistance. Thanks a lot, Alex <%= start_form_tag :action1 => ''save'', :action2 =>
2006 Aug 16
4
Plugins and svn
Hi railers, What do you do when you must use a plugin in a rails app that is under subversion? I think that an approach is simply install a version of the plugin, and once all the test pass, commit the plugin itself to the repository, inside the /vendor/ of the app. If a new version of the plugin is released, your app is still using the working one (although the new version could work too).
2006 Aug 10
4
Rails 1.1.6: Stronger fix, backports, and full disclosure
The cat is out of the bag, so here''s the full disclosure edition of the current security vulnerability. With Rails 1.1.0 through 1.1.5 (minus the short-lived 1.1.3), you can trigger the evaluation of Ruby code through the URL because of a bug in the routing code of Rails. This means that you can essentially take down a Rails process by starting something like /script/profiler, as the code
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 =>
2008 Nov 14
1
Error message in logs since 1.1.6 upgrade
Hi, I've got two imap boxes, one is running 1.1.5 and hasn't exhibited the error below, but the one that's been upgraded to 1.1.6 is showing them. Nov 14 16:06:31 mink dovecot: imap-login: Disconnected (no auth attempts): rip=x.x.x.x, lip=x.x.x.x, TLS handshaking: SSL_accept() failed: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac If this isn't
2006 Aug 09
2
how to access selected value in controller action
I have this in a view: <%= start_form_tag :action => ''create_price'', :id => @media.id %> <%= select("media", "price_code_id", PriceCode.find_all.collect {|pc| [pc.name, pc.id ] }, { :include_blank => false }) %> <%= submit_tag ''Add Price Code'' %> <%= end_form_tag %> My question is, how would I access the
2006 Mar 27
3
Specify a controller action via attribute in INPUT tag?
I have a pre-existing form with one existing "SUBMIT" tag generated by <%= submit_tag %> I would like to add another <INPUT type="submit" ...> to my form. How do I successfully associate that <INPUT> tag with a different controller action than the default one specified by my <%= start_form_tag %>? Or does this approach even make sense? In RoR, is
2008 Oct 16
6
Sound skips in all games since Wine 1.1.6
In 1.1.5 the sound/music in games played allright. Since 1.1.6 it skips badly - plays for a couple of seconds, then stops for half a second, then plays again, then skips and so on. Happens on every game on Steam - Team Fortress 2, Everyday Shooter, Peggle Extreme - and also without Steam - Icy Tower. I have Razer Barracuda AC-1 sound card. I've found that in Winecfg when I choose Alsa driver
2006 Dec 07
6
form_tag not producing output
I''ve got two servers, both with Rails 1.1.6 on them. I''m trying to remove some of the newly-deprecated stuff in my app, and I''ve run into a problem. My login page used to look like this: <div title="Account login" id="loginform" class="form"> <h1>Please Sign In</h1> <%= start_form_tag :action =>
2006 Jan 19
9
start_form_tag not taking url_for options
I''ve got a form that should post to user/login. The code to start the tag is: <%= start_form_tag { :controller => "user", :action => "login" } %> That gives me this exception: compile error script/../config/../app/views/user/login.rhtml:1: parse error, unexpected tASSOC, expecting ''}'' _erbout = ''''; _erbout.concat((
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
2006 Nov 23
1
Select Tag not working in 1.2rc1
I''m getting the following error message under rc1: ActionView::TemplateError (wrong number of arguments (1 for 0)) on line #54 of app/views/admin/admin_index.rhtml: In my view (* = Line 54): <%=start_form_tag(:action=>"sales_by_author")%> *<%=select("author","id",@authors.collect {|a| [a.name,a.id]})%> <%=submit_tag("Go")%>
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