Displaying 6 results from an estimated 6 matches for "kampers".
Did you mean:
hampers
2007 Jun 23
2
type image submit tags on IE dropping the params
I have noticed that on IE, the @params[:commit] does not come through on
image submit tags, but it does when the image is removed.
this fails:
<%= submit_tag( "Schedule", {:type => "image",
:src=>"/images/buttons/schedulecard.gif", :alt=>"Schedule Card",
:class=>"button"})%>
but this works:
<%= submit_tag(
2008 Jan 10
4
Mocking and stubbing Rails'' association extensions
I''m having a lot of trouble stubbing out an association extension for
some view tests. Example rails code modeling a music album:
class Album < ActiveRecord::Base
has_many :songs do
def streamable
find(:all, :conditions => ''streamable = 1'')
end
end
end
So for a given Album instance (say @album), I need to be able to stub
both
2005 Feb 04
2
Multiple gateways setup and timeout connections
Hi,
I''ve setup a gateway using multiple default gateways and netfilter
MASQUERADE to load balance traffic between two DSL interfaces and one
dedicated link, and when I try to download something big, or when I''m
using MSN (both in clients under this gateway), sometimes, or most
times, after a while the connection timeouts. The connection doesn''t
seem to change its
2006 Jun 07
2
How to send post data with link_to_remote?
Hi,
I''m trying to send a post body with my link_to_remote call.
Prototype supports the ''postBody'' option, but I can''t seem to get
link_to_remote to set that.
Here''s what I''m trying:
link_to_remote ''move up'',
:url => { :controller => ''upload'', :action => ''position_ajax'', :id
2007 Jun 22
1
nested rest URL => passing param from select
Hi,
I''m trying to create a select box with an onchange event. When onchange
is fired, I want to redirect to a nested rest url. The problem is that I
don''t know how to pass the selected value to the url:
<select id="category" onchange=" <%= remote_function(:url =>
category_articles_path(selected value?) ) %> ">
Any suggestions?
--
Posted
2007 Jun 23
7
rake db:migrate strange behaviour "wrong number of arguments (1 for 0)"
Hi everybody,
May be somebody has a clue, why I get these errors below, while trying
to migrate.
Any help is very appreciated!
Greetinx
Rafael
I was trying to experiment a litte bit with redMine (www.redmine.org).
But I can only install it locally. On a system with already a
mongrel_cluster running, I get strange errors, already while trying to
start the migration rake db:migrate